Summary: | The "Reset" and "Defaults" buttons does not work properly if either or both of the duration settings are set to custom | ||
---|---|---|---|
Product: | [Unmaintained] kscreenlocker | Reporter: | Prajna Sariputra <putr4.s> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kristen, nate |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | git-master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kscreenlocker/-/commit/f1c250ed61fccd31b544007b5a50c96cb5bc1152 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Recording demonstrating the bug |
Description
Prajna Sariputra
2024-02-17 08:54:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/205 Git commit f1c250ed61fccd31b544007b5a50c96cb5bc1152 by Kristen McWilliam. Committed on 26/02/2024 at 18:45. Pushed by merritt into branch 'master'. fix(kcm): reset and default actions not reflected immediately Seems as if ComboBoxes have some difficulty with the reset and default actions in KCMs. This patch adds listeners to the reset and default actions and triggers an update of the ComboBoxes. Took inspirations from the Powerdevil KCM, which was having similar issues with ComboBoxes. See: https://invent.kde.org/plasma/powerdevil/-/blob/089a47aecc57c6e064e3bc459087ffd84495febc/kcmodule/profiles/ui/main.qml#L72 M +2 -0 kcm/kcm.cpp M +11 -0 kcm/kcm.h M +30 -0 kcm/ui/main.qml https://invent.kde.org/plasma/kscreenlocker/-/commit/f1c250ed61fccd31b544007b5a50c96cb5bc1152 |