Created attachment 129827 [details] Power Management settings SUMMARY Make Power Management KCM open in System Settings STEPS TO REPRODUCE 1. Open "Battery and Brightness" applet 2. In the top-right corner click on the "Configure Power Saving..." button OBSERVED RESULT Power Management KCM opens in separate window EXPECTED RESULT Power Management KCM opens in System Settings SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 5.19 User Edition (available in About System) KDE Plasma Version: 5.19.2 KDE Frameworks Version: 5.71.0 Qt Version: 5.14.2
Same for actions in the context menu
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/133
Technically this isn't one KCM that's opened, but rather three. YOu can see because the window's sidebar has three items in it. We can only open single KCMs in System Settings, not multiple KCMs. So to do this properly, we will need to collapse those three KCMs into one first. This is desperately needed anyway, as those KCMs are quite old-fashioned and have poor UX.
Merge request closed without merging, removing Assigned status.
This isn't doable until the three QWidgets-based power KCMs are collapsed into one new QML-based one. ...At which point doing what this bug report asks for is trivial. :)
Actually what was I thinking? Opening one KCM in system Settings is fine as long as the others are visible in the sidebar--as they are, same as in the current multi-KCM UI. I should have merged your MR. :( Will do so manually in a moment...
Git commit ff647d4efe10a8df863199bf0b39b3e064cd57ee by Nate Graham, on behalf of Eugene Popov. Committed on 23/04/2021 at 17:04. Pushed by ngraham into branch 'master'. [applets/batterymonitor] Open Powerdevil KCMs in System Settings This is generally what we do for other KCMs, and the UX is virtually unchanged from the current multi-KCM dialog, with the exception of being able to navigate elsewhere if you want. FIXED-IN: 5.22 M +3 -6 applets/batterymonitor/package/contents/ui/batterymonitor.qml https://invent.kde.org/plasma/plasma-workspace/commit/ff647d4efe10a8df863199bf0b39b3e064cd57ee