Bug 432838 - individual kcmshell5 windows should remember their size and position
Summary: individual kcmshell5 windows should remember their size and position
Status: CONFIRMED
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.5
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-02-12 09:23 UTC by Dan Dascalescu
Modified: 2021-02-14 14:56 UTC (History)
1 user (show)

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


Attachments
Screencast (925.98 KB, image/gif)
2021-02-12 09:23 UTC, Dan Dascalescu
Details

Note You need to log in before you can comment on or make changes to this bug.
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.