Bug 507352 - Warning about higher energy consumption does not disappear after pressing [Defaults] or [Reset]
Summary: Warning about higher energy consumption does not disappear after pressing [De...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (other bugs)
Version First Reported In: 6.4.3
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-22 09:54 UTC by Tobias Zwick
Modified: 2025-09-25 23:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.5.0
Sentry Crash Report:


Attachments
Warning balloon is displayed after returning to defaults. (189.82 KB, image/png)
2025-07-22 09:54 UTC, Tobias Zwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Zwick 2025-07-22 09:54:08 UTC
Created attachment 183419 [details]
Warning balloon is displayed after returning to defaults.

SUMMARY
The warning balloon that informs about higher energy consumption when choosing a longer time until the computer should go to sleep when inactive doesn't go away when going back to the defaults or pressing reset.

STEPS TO REPRODUCE
1. Select "After 30 minutes" in the Suspend Session dropdown
2. Observe the warning balloon
3. Press the [Defaults] or [Reset] button

OBSERVED RESULT
Warning balloon keeps being displayed.

EXPECTED RESULT
Warning balloon is hidden.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Graphics Platform: Wayland
Comment 1 Bug Janitor Service 2025-09-17 18:51:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/581
Comment 2 Nate Graham 2025-09-25 23:26:32 UTC
Git commit fd55c54cc10fa2096836a4805a7785a1519423cf by Nate Graham.
Committed on 25/09/2025 at 23:26.
Pushed by ngraham into branch 'master'.

KCM: show/hide compliance message if needed after resetting settings

Right now the message's visibility is only manipulated by the signal
handlers that fire when the relevant comboboxes are interacted with
directly.

However when their values are changed indirectly as a result of clicking
the "Defaults" or "Reset" buttons that code never runs, so the message
can remains shown or hidden when it shouldn't.

To fix this, trigger the logic any time the relevant config file key
changes, rather than only when the user explicitly interacts with the UI
elements.
FIXED-IN: 6.5.0

M  +6    -4    kcm/ui/ProfileConfig.qml

https://invent.kde.org/plasma/powerdevil/-/commit/fd55c54cc10fa2096836a4805a7785a1519423cf
Comment 3 Nate Graham 2025-09-25 23:27:05 UTC
Git commit 21066825e3a9eb0eee6bf673127d081a25244017 by Nate Graham.
Committed on 25/09/2025 at 23:27.
Pushed by ngraham into branch 'Plasma/6.5'.

KCM: show/hide compliance message if needed after resetting settings

Right now the message's visibility is only manipulated by the signal
handlers that fire when the relevant comboboxes are interacted with
directly.

However when their values are changed indirectly as a result of clicking
the "Defaults" or "Reset" buttons that code never runs, so the message
can remains shown or hidden when it shouldn't.

To fix this, trigger the logic any time the relevant config file key
changes, rather than only when the user explicitly interacts with the UI
elements.
FIXED-IN: 6.5.0


(cherry picked from commit fd55c54cc10fa2096836a4805a7785a1519423cf)

49b3d85e KCM: show/hide compliance message if needed after resetting settings
f9949df6 Apply 1 suggestion(s) to 1 file(s)
93390396 Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Nate Graham <nate@kde.org>

M  +6    -4    kcm/ui/ProfileConfig.qml

https://invent.kde.org/plasma/powerdevil/-/commit/21066825e3a9eb0eee6bf673127d081a25244017