Bug 438731

Summary: [KCommandBar] Empty space on the right side after the shortcuts
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: popov895 <popov895>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: minor CC: kdelibs-bugs, nate, popov895, waqar.17a
Priority: NOR Keywords: usability
Version: 5.83.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.89
Attachments: KCommandBar in the Dolphin

Description popov895 2021-06-16 12:06:01 UTC
Created attachment 139385 [details]
KCommandBar in the Dolphin

SUMMARY

KCommandBar displays an empty space on the right side after the shortcuts. This empty space can be used to display more information, and it looks weird. Also, shortcuts should be aligned to the right side.

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 1 Nate Graham 2021-06-16 16:28:56 UTC
I think it's because the shortcuts are left-aligned, and the width of the area that can be used for displaying shortcuts matches the widest one. It should probably limit this to the width of the longest *visible* shortcut.
Comment 2 popov895 2021-09-16 15:08:04 UTC
Any progress here?
Comment 3 Bug Janitor Service 2021-09-17 22:00:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/74