Bug 467523 - Screen Energy Saving duration not remembered
Summary: Screen Energy Saving duration not remembered
Status: RESOLVED DUPLICATE of bug 460422
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (other bugs)
Version First Reported In: 5.27.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-18 12:34 UTC by Quinten
Modified: 2023-03-19 14:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The setting as described in this issue. The Screen Energy Saving setting is disabled but the user defined duration value is visible. This will revert to 10 minutes upon re-opening System Setting. (4.96 KB, image/png)
2023-03-18 12:34 UTC, Quinten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quinten 2023-03-18 12:34:06 UTC
Created attachment 157388 [details]
The setting as described in this issue. The Screen Energy Saving setting is disabled but the user defined duration value is visible. This will revert to 10 minutes upon re-opening System Setting.

SUMMARY
The Screen Energy Saving duration will not be saved when the setting as a whole has been turned off.


STEPS TO REPRODUCE
1. Open the System Settings application and navigate to Power Management --> Energy Saving (default tab)
2. Enable Screen Energy Saving (first setting) and change the duration from the default (10m) to another value (e.g. 1m)
3. Apply settings
4. Disable Screen Energy Saving (do not change the duration from your custom value)
5. Apply settings
6. Observe how the (now greyed-out) duration is still set to your custom value (e.g. 1m)
7. Close system settings
8. Re-open the Systems Settings application and navigate back to the Power Management tab (see step 1)
9. Observe how the (still greyed-out) duration has been reset to its default value of 10 minutes

OBSERVED RESULT
See step 9. The custom duration will not be saved upon re-opening System Settings if the Screen Energy Saving option is disabled.

EXPECTED RESULT
The custom duration, as inputted and applied by the user, should be kept. Even if the setting as a whole has been toggled off.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux kernel 6.2.6-arch1-1 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Using EndeavourOS, an Arch derivative.
Applied the `general` component as I was unable to find exactly which component this applies to. Feel free to move to the correct component.
Comment 1 Patrick Silva 2023-03-19 14:05:16 UTC

*** This bug has been marked as a duplicate of bug 460422 ***