Bug 453769 - GlobalDrawer doesn't auto-size to fit contents, causing it to almost always be much too wide
Summary: GlobalDrawer doesn't auto-size to fit contents, causing it to almost always b...
Status: CONFIRMED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.93.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-14 10:16 UTC by Jack Hill
Modified: 2022-05-16 17:24 UTC (History)
1 user (show)

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


Attachments
Large sidebar (80.15 KB, image/png)
2022-05-14 10:16 UTC, Jack Hill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Hill 2022-05-14 10:16:12 UTC
Created attachment 148822 [details]
Large sidebar

SUMMARY
The sidebar is too large

STEPS TO REPRODUCE
1. Open Emoji Selector
2. Click the sidebar button
3. Look at size of sidebar

OBSERVED RESULT
Sidebar adds a lot of unnecessary whitespace

EXPECTED RESULT
Width of sidebar should be the length of the longest string (maybe a bit of padding)

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220510
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-16 17:24:51 UTC
Ideally the sidebar would be able to size itself to the width of its contents, but unfortunately the Kirigami GlobalDrawer component that's used here can't do that.