Bug 451365

Summary: Combo-boxes have inconsistent width after update to KDE QT 5.15.3
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_componentchooserAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.24.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.24.4
Sentry Crash Report:
Attachments: screenshot

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