Bug 451365 - Combo-boxes have inconsistent width after update to KDE QT 5.15.3
Summary: Combo-boxes have inconsistent width after update to KDE QT 5.15.3
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_componentchooser (show other bugs)
Version: 5.24.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-10 15:18 UTC by Patrick Silva
Modified: 2022-03-23 14:21 UTC (History)
1 user (show)

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


Attachments
screenshot (106.20 KB, image/png)
2022-03-10 15:18 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-03-10 15:18:53 UTC
Created attachment 147421 [details]
screenshot

SUMMARY
As we can see in the attached screenshot, the combo-boxes in Default Applications KCM have different width.
Before update to KDE Qt 5.15.3 all combo-boxes had the same width.

EXPECTED RESULT
all combo-boxes should have the same width.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-03-23 14:18:26 UTC
This was actually introduced in a Frameworks update. Previously, comboboxes failed to size themselves according to the content. That was fixed in Frameworks, with the side effect that some layouts that had been implicitly relying on this behavior started to look like this. It needs to be manually fixed in each and every layout that wants aligned combobox edges. And this has already been done for Plasma 5.25 for the Default Applications KCM. I'll see if I can cherry-pick it into 5.24.
Comment 2 Nate Graham 2022-03-23 14:21:32 UTC
Git commit c3fa9734d59f22adc59a7eca9c46cfa5c48ebab1 by Nate Graham.
Committed on 23/03/2022 at 14:18.
Pushed by ngraham into branch 'Plasma/5.24'.

kcms/componentchooser: unify combobox lengths

Otherwise the comboboxes have different lengths, making the presentation
kind of ragged-looking.

(cherry picked from commit 81ff6aa5986fbbbd5c65670064f6667f247396d2)
FIXED-IN: 5.24.4

M  +34   -0    kcms/componentchooser/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/c3fa9734d59f22adc59a7eca9c46cfa5c48ebab1