Bug 487133

Summary: QComboBox don't use full width of Window
Product: [Plasma] Breeze Reporter: jakobdev
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: noahadvs, uhhadd
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: jdAppStreamEdit in Breeze Style
jdAppStreamEdit in Fusion Style
jdAppStreamEdit in Windows Style

Description jakobdev 2024-05-17 06:47:19 UTC
Created attachment 169553 [details]
jdAppStreamEdit in Breeze Style

Please take a look at the attached Screenshots. They show my Program jdAppStreamEdit. You will notice that the Combo boxes will not fill the full width of the Window in the Breeze style. They will fill the full width on the Fusion (which is the default style of Qt) and the Windows style.

This can easily fixed by setting the horizontal size policy to expanding, which I will do. But I think if a QComboBox uses the full width of the window in all Styles except Breeze, they should also use the full width in Breeze. Not every Qt App is tested agaibst the Breeze style, so the behaviour should be the same in all styles.

Here is a stable Link to the UI file for reference: https://codeberg.org/JakobDev/jdAppStreamEdit/src/commit/36d24766bb8b5876e658fd1664a64d334573a371/jdAppStreamEdit/ui/MainWindow.ui
Comment 1 jakobdev 2024-05-17 06:49:18 UTC
Created attachment 169554 [details]
jdAppStreamEdit in Fusion Style
Comment 2 jakobdev 2024-05-17 06:50:59 UTC
Created attachment 169555 [details]
jdAppStreamEdit in Windows Style