Bug 432838

Summary: individual kcmshell5 windows should remember their size and position
Product: [Plasma] kde-cli-tools Reporter: Dan Dascalescu <ddascalescu+kde>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: NOR Keywords: usability
Version: 5.18.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=432879
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screencast

Description Dan Dascalescu 2021-02-12 09:23:14 UTC
Created attachment 135617 [details]
Screencast

SUMMARY
The default size of the Global Shortcuts window is impractically small; if you don't resize it bigger, you can't really use it. The problem is that you need to resize it every single time, because it doesn't remember its size or position.
Comment 1 Nate Graham 2021-02-12 17:02:03 UTC
Confirmed. This affects all kcmshell5 windows, because they are implemented as dialogs and do not use KXMLGui, which means they don't get the size and position restoring code in KXMLGui for free. They will need to port to KXMLGui or else manually call the size and position restoring code.

However this bug is much less visible in Plasma 5.20 and onwards since opening KCMs form Kickoff and KRunner (etc) opens them in System Settings rather than kcmshell5, and System Settings does remember its size and position.
Comment 2 Dan Dascalescu 2021-02-14 09:04:00 UTC
Is this the root cause for #432879 as well? (Emoji Selector)
Comment 3 Nate Graham 2021-02-14 14:56:55 UTC
Yeah, same root cause (not using KXMLGui which provides window size/position memory automatically) but they would need to be fixed separately because the Emoji Selector window isn't the same as the kcmshell5 dialog.