Bug 432249

Summary: Display Configuration settings show dirty layout with multiple monitors
Product: [Applications] systemsettings Reporter: Schlaefer <openmail+kde>
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.20.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.21
Attachments: A partial dialog is shown on the right window edge
diplay resizing with smaller combobox

Description Schlaefer 2021-01-28 13:39:48 UTC
Created attachment 135265 [details]
A partial dialog is shown on the right window edge

SUMMARY

Monitor settings show broken layout with multiple monitors

STEPS TO REPRODUCE
1. Have multiple monitors connected
2. Open System Settings -> Display Configuration
3. Resize the System Settings windows horizontally as small as possible

OBSERVED RESULT

The layout resizes and a partial dialog for the other monitor is shown (see attachment).

EXPECTED RESULT

The partial dialog shouldn't be shown.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.11-zen2-1-zen
Comment 1 Nate Graham 2021-01-28 22:00:43 UTC
Yikes, that long combobox is blowing up the layout.
Comment 2 Nate Graham 2021-01-29 17:37:48 UTC
Git commit 0a604174823f975c6fdfb00fe611626451f207dc by Nate Graham.
Committed on 29/01/2021 at 17:35.
Pushed by ngraham into branch 'master'.

[kcm] Limit maximum device combobox length

Otherwise with really long display names, it can blow up the layout.
FIXED-IN: 5.21

M  +1    -0    kcm/package/contents/ui/Panel.qml

https://invent.kde.org/plasma/kscreen/commit/0a604174823f975c6fdfb00fe611626451f207dc
Comment 3 Nate Graham 2021-01-29 17:38:11 UTC
Git commit 8c3823ffe77d9f1e2759461274dd478e4f7fd16d by Nate Graham.
Committed on 29/01/2021 at 17:38.
Pushed by ngraham into branch 'Plasma/5.21'.

[kcm] Limit maximum device combobox length

Otherwise with really long display names, it can blow up the layout.
FIXED-IN: 5.21
(cherry picked from commit 0a604174823f975c6fdfb00fe611626451f207dc)

M  +1    -0    kcm/package/contents/ui/Panel.qml

https://invent.kde.org/plasma/kscreen/commit/8c3823ffe77d9f1e2759461274dd478e4f7fd16d
Comment 4 Schlaefer 2021-02-16 18:58:18 UTC
Created attachment 135730 [details]
diplay resizing with smaller combobox


The smaller display dropdown doesn't seem to fix it, the issue still exists.

Operating System: EndeavourOS
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-zen1-1-zen
OS Type: 64-bit
Graphics Platform: Wayland