Bug 403151

Summary: Buttons are cut off when cube animation is selected in the new standalone virtual desktops kcm
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_kwinvirtualdesktopsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, plasma-bugs
Priority: NOR    
Version: 5.15.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=403153
Latest Commit: Version Fixed In: 5.17.2
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2019-01-12 19:03:19 UTC
Created attachment 117425 [details]
screenshot

SUMMARY
I'm testing the new virtual desktops kcm on neon dev unstable, my system language is pt-br. To select cube animation in the "Show an animation when change" dropdown makes the buttons aside the dropdown cut off.

STEPS TO REPRODUCE
1. search for the "virtual desktops" kcm in the apps launcher and open it 
2. select cube animation in "Show an animation when change" dropdown, click "Ok" button
3. restart the "virtual desktops" kcm

OBSERVED RESULT
the buttons aside "Show an animation when change" dropdown are cut off.
See the screenshot taken on neon dev unstable. 

EXPECTED RESULT
the buttons already mentioned should be visible

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.2
Comment 1 Nate Graham 2019-01-15 16:50:33 UTC
Seems heavily related to Bug 403153. It seems like the combobox isn't passing the correct sizeHint or something.
Comment 2 David Edmundson 2019-01-16 12:45:16 UTC
The combobox must have the correct size hint or it would be cut off/elided.

That's an issue in the KCM.
Comment 3 Nate Graham 2019-10-27 18:53:20 UTC
https://phabricator.kde.org/D24988
Comment 4 Nate Graham 2019-10-28 13:57:26 UTC
Git commit 105976a42a25e25410e9e1373cd2f6da4c5d8655 by Nate Graham.
Committed on 28/10/2019 at 13:57.
Pushed by ngraham into branch 'Plasma/5.17'.

[kcmkwin/desktop] Elide "Show animation when switching" checkbox text

Summary:
Otherwise the combobox containing the switching effects escapes from the page. Same fix
as D24885.
FIXED-IN: 5.17.2

Test Plan:
Checkbox text now elides when the window is made very narrow, and combobox no longer gets
cut off.

Reviewers: #kwin, zzag, davidedmundson

Reviewed By: #kwin, zzag, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D24988

M  +3    -0    kcmkwin/kwindesktop/package/contents/ui/main.qml

https://commits.kde.org/kwin/105976a42a25e25410e9e1373cd2f6da4c5d8655