Bug 438733

Summary: Make the KCommandBar wider
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: popov895 <popov895>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: wishlist CC: kdelibs-bugs-null, kishore96, nate, popov895, waqar.17a
Priority: NOR Keywords: usability
Version First Reported In: 5.83.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: KCommandBar in the KCalc

Description popov895 2021-06-16 12:29:01 UTC
Created attachment 139388 [details]
KCommandBar in the KCalc

SUMMARY

Currently, the width of a KCommandBar depends on the width of its parent window, so sometimes it gets too narrow and the command titles get cut off. I think there should be some minimum width or KCommandBar should adapt its width to the content (or make it resizable?).

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:31:05 UTC
I agree.  The width is quite narrow when you're using a window that isn't maximized. I don't think there is any reason to be stingy with size here; while the command bar is open, your focus is on it, so you want it to be big enough to fulfill its primary purpose without eliding text away into nothingness. Remember that many languages will display text that's up to 150% longer than it is in English. If something it too narrow in English, it'll be even worse in German or Brazilian Portuguese.
Comment 2 popov895 2022-08-15 10:42:57 UTC
I think this bug can be considered fixed due to https://invent.kde.org/frameworks/kconfigwidgets/-/commit/89d04a1acbaaabcf03a913e183002882411008ce.