Bug 438733 - Make the KCommandBar wider
Summary: Make the KCommandBar wider
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.83.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-06-16 12:29 UTC by popov895
Modified: 2022-08-15 12:53 UTC (History)
5 users (show)

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


Attachments
KCommandBar in the KCalc (27.05 KB, image/png)
2021-06-16 12:29 UTC, popov895
Details

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