Bug 490631 - Custom Power Management event Durations UI configuration missing
Summary: Custom Power Management event Durations UI configuration missing
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (show other bugs)
Version: 6.1.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-22 03:58 UTC by Luke
Modified: 2024-08-10 19:02 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke 2024-07-22 03:58:01 UTC
SUMMARY
When modifying any of the inactivity triggered actions in the power management UI of system settings, the "custom" durations for each item cannot be configured once "custom" is configured, unlike the pre-enumerated durations ranging from 1 minute to 30 minutes.

STEPS TO REPRODUCE
1. Navigate to System Settings, then Power Management
2. Under "Suspend Session" select the duration dropdown to the far right of "After a period of inactivity:" and
select "custom."  

OBSERVED RESULT
No UI elements change to allow setting the custom duration/period.

EXPECTED RESULT
A new UI element or an alert would appear allowing the custom duration to be configured.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: KDE Neon, Kernel 6.5.0-44-generic, X11 Session
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
N/A
Comment 1 Jakob Petsovits 2024-07-24 10:20:51 UTC
The intention is to pop up the duration selection dialog every time the "Custom..." element is selected. When you confirm a new custom duration, it is inserted as an extra element in the list of dropdown options, in addition to the preset values and the "Custom..." option. The new custom duration (e.g. "After 7 minutes") is then selected, so you can switch to the "Custom..." element again to enter a different custom duration.

Are you saying that after you've previously configured a custom duration, selecting the "Custom..." option again doesn't pop up the custom duration dialog again? Or is this working, but you consider it unintuitive?
Comment 2 Luke 2024-07-24 11:53:28 UTC
I have never setup a custom duration prior to finding this bug. Specifically when selecting custom nothing happens on my system at all. The popup you described is a reasonable solution, but no such popup appears in my testing.
Comment 3 Luke 2024-07-29 02:28:37 UTC
Probably tag as more information needed. I'm unable to identify the root cause, but the UI failure is intermittent. Sometimes the UI *does* show up just as described in Jakob's comment. If I can't reproduce the bug myself again in the next couple weeks I'll close the bug myself.
Comment 4 Jakob Petsovits 2024-07-29 08:38:03 UTC
(In reply to Luke from comment #3)
> Probably tag as more information needed. I'm unable to identify the root
> cause, but the UI failure is intermittent. Sometimes the UI *does* show up
> just as described in Jakob's comment. If I can't reproduce the bug myself
> again in the next couple weeks I'll close the bug myself.

Thanks. I'm not sure what could be causing intermittent UI failure, I haven't been seeing anything like this on my own system. Perhaps if you start `systemsettings` from the terminal, it may show some errors (or other differences) in the printed output when it fails to work compared with a problem-free instance.
Comment 5 Luke 2024-08-10 19:02:43 UTC
Recommending closing as I cannot get the bug to reoccur.