Bug 441482

Summary: Stand-By type combobox has no pre-defined value set after disabling it
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, postix
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: Screenshot

Description postix 2021-08-24 13:28:42 UTC
Created attachment 141007 [details]
Screenshot

SUMMARY


STEPS TO REPRODUCE
1. Disable "Put session into stand-by"
2. Click on Apply
3. Go to different KCM and back
4. Enable Disable "Put session into stand-by" 

OBSERVED RESULT

No combobox item is selected, KCM "apply" button becomes active and the undefined setting can be saved.


EXPECTED RESULT

Last set combobox item is selected.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210820
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.12-1-default (64-bit)
Comment 1 Nate Graham 2021-08-24 14:59:42 UTC
Can confirm.
Comment 2 Nate Graham 2023-11-01 16:03:39 UTC
This is fixed by Jakob Petsovits with https://invent.kde.org/plasma/powerdevil/-/commit/8babe3530c32feb60e982eccd92fe2341091858d in Plasma 6, which re-does the entire UI and doesn't suffer from this issue anymore.