Bug 486901 - Panel settings dialog can change in width as comboboxes are interacted with
Summary: Panel settings dialog can change in width as comboboxes are interacted with
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Edit Mode (show other bugs)
Version: 6.0.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-11 18:22 UTC by Filip
Modified: 2025-01-24 05:37 UTC (History)
2 users (show)

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


Attachments
before (991.21 KB, video/webm)
2024-05-11 18:22 UTC, Filip
Details
after (896.87 KB, video/webm)
2024-05-11 18:22 UTC, Filip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip 2024-05-11 18:22:15 UTC
Created attachment 169388 [details]
before

SUMMARY
When user is changing Visibility setting in the Panel Configuration, the width of the panel changes based on the option selected.

My suggestion is to make the width static (wide enough for the widest option which is "Windows Go Below") and keep it for all options so it doesn't jump around. This behavior looks much nicer in my opinion.

I'm not sure how this would behave on smaller screens, hopefully would be good.

Thank you.

STEPS TO REPRODUCE
1. Right click on panel and select "Show Panel Configuration
2. Change values in the Visibility dropdown menu

OBSERVED RESULT
Panel width is changing based on the option selected

EXPECTED RESULT
Panel width is static

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 7.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
Comment 1 Filip 2024-05-11 18:22:34 UTC
Created attachment 169389 [details]
after
Comment 2 Nate Graham 2024-07-31 04:08:56 UTC
Yeah, this isn't amazing.
Comment 3 Nate Graham 2024-08-28 19:16:08 UTC
Proooobably less of an issue in Plasma 6.2 now that we've changed one of the buttons on the header to have longer text, but in principle this is still an issue, and will return if and when we ever shorten those labels or collapse them into one button that opens a dropdown menu.
Comment 4 Bug Janitor Service 2024-10-02 19:30:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2566
Comment 5 Niccolò Venerandi 2025-01-21 14:59:46 UTC
Git commit e24488e083837110984edf9229fc43921640a183 by Niccolò Venerandi.
Committed on 21/01/2025 at 14:59.
Pushed by niccolove into branch 'Plasma/6.3'.

Make panel settings comboboxes take as much space as their longest element


(cherry picked from commit 518187287d7edfaa11a968351847eaeb77ed36c3)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +31   -0    desktoppackage/contents/configuration/PanelConfiguration.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/e24488e083837110984edf9229fc43921640a183
Comment 6 Niccolò Venerandi 2025-01-21 15:06:55 UTC
Git commit 518187287d7edfaa11a968351847eaeb77ed36c3 by Niccolò Venerandi.
Committed on 21/01/2025 at 13:58.
Pushed by niccolove into branch 'master'.

Make panel settings comboboxes take as much space as their longest element

M  +31   -0    desktoppackage/contents/configuration/PanelConfiguration.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/518187287d7edfaa11a968351847eaeb77ed36c3