| Summary: | After enrolling a new finger, the list of enrolled fingers is blank until the dialog is closed and re-opened again | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Nate Graham <nate> |
| Component: | kcm_users | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | akselmo, nicolas.fella, uhhadd |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/08bfc5a3aff369694abfaee9d35f0056b76db113 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | No fingers shown | ||
|
Description
Nate Graham
2024-10-02 16:22:14 UTC
Created attachment 174326 [details]
No fingers shown
Seems to be caused by https://invent.kde.org/frameworks/kirigami/-/commit/66bfd9f6f5607d8e950355419e41de0dc1eaddd8 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4784 Git commit 2562054018a539433eff47b67c0948546be85dbc by Nicolas Fella. Committed on 04/10/2024 at 14:25. Pushed by nicolasfella into branch 'master'. Revert "Dialog: fix multiple binding loops" This seems to cause issues in dialog users. While this change is likely correct let's give us some more time to properly investigate and fix Related: bug 493977, bug 493976 This reverts commit 66bfd9f6f5607d8e950355419e41de0dc1eaddd8. M +13 -3 src/dialogs/Dialog.qml https://invent.kde.org/frameworks/kirigami/-/commit/2562054018a539433eff47b67c0948546be85dbc Git commit 08bfc5a3aff369694abfaee9d35f0056b76db113 by Akseli Lahtinen. Committed on 11/10/2024 at 19:28. Pushed by akselmo into branch 'master'. FingerprintDialog: Place ColumnLayout with the stack inside contentItem This MR has two commits that affect the behavior of the dialog. * FingerprintDialog: Place ColumnLayout with the stack inside contentItem Previously we set the implicitSize directly to the dialog. This causes weird issues since the stackView can be larger than the dialog. Setting the same values as the minimum values of the stackView fixes the issue, since the size of the dialog is calculated through the stackView values (since it's the dialogs content). Also fix some widths being applied into implicitWidth properties. Requires https://invent.kde.org/frameworks/kirigami/-/merge_requests/1637 Related: bug 493977, bug 493976 * fingerprintmodel.cpp: Fix spamming signals if changing to same value If any "set" method was called, such as "setDialogState", we did not check for the previous state and just changed it, then signaled the change. This causes the FingerprintDialog StackView to get upset and show a lot of warnings how it's not done yet. Only change the state if it's not the same as the previous one to avoid this issue. M +19 -11 kcms/users/src/fingerprintmodel.cpp M +2 -3 kcms/users/src/ui/FingerprintDialog.qml M +1 -1 kcms/users/src/ui/PickFinger.qml M +1 -1 kcms/users/src/ui/PicturesSheet.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/08bfc5a3aff369694abfaee9d35f0056b76db113 |