Bug 402321 - Layout problem of the Window Decoration settings page in Systemsettings
Summary: Layout problem of the Window Decoration settings page in Systemsettings
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_lookandfeel (other bugs)
Version First Reported In: 5.14.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-12-18 19:43 UTC by Philipp Kälin
Modified: 2019-03-06 05:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Window Decorations Settings when opening the page (80.10 KB, image/png)
2018-12-18 19:43 UTC, Philipp Kälin
Details
Window Decorations Settings after resizing the page (135.82 KB, image/png)
2018-12-18 19:44 UTC, Philipp Kälin
Details
Scaled Display Breaks Window Decorations Layout (2.45 MB, image/png)
2019-03-06 03:02 UTC, lindsaylohansemail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kälin 2018-12-18 19:43:38 UTC
STEPS TO REPRODUCE
1. Set the scaling to 1.2 (System Settings > Display and Monitor > Display Configuration > Scale Display)
2. Open Systemsettings -> Look and Feel -> Window Decorations

OBSERVED RESULT
The right side of the page is not layouted properly. Eg. the button for downloading new window decorations appears multiple times. (see first screenshot) As soon as the window is slightly resized, the layout gets correct. (see second screenshot)

EXPECTED RESULT
The layout shall be correct when entering the page, there seems to be a problem regarding minimum size restrictions.

SOFTWARE/OS VERSIONS
Manjaro Linux
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.22.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Only tested with German language.
The resolution in the screenshot is really bad. It is much better on the screen, maybe also a side effect of the scaling.
Comment 1 Philipp Kälin 2018-12-18 19:43:55 UTC
Created attachment 117001 [details]
Window Decorations Settings when opening the page
Comment 2 Philipp Kälin 2018-12-18 19:44:14 UTC
Created attachment 117002 [details]
Window Decorations Settings after resizing the page
Comment 3 David Edmundson 2018-12-19 00:17:19 UTC
and this happened everytime, and if you set scaling off it goes away?
Comment 4 Philipp Kälin 2018-12-19 12:22:39 UTC
I can confirm that the problem is solved if the scaling is set to 1.
This occures every time I try, therefore it's reproducable for me.
Comment 5 Nate Graham 2018-12-27 03:05:45 UTC
Cannot reproduce on 5.14.4 with Manjaro or git master with Neon.

After setting the scale factor to 1.2, do you:
1. Immediately navigate to the Window Decorations page?
2. First close the app and then re-open it?
3. First reboot the machine?
Comment 6 Philipp Kälin 2018-12-28 06:40:55 UTC
(In reply to Nate Graham from comment #5)
> Cannot reproduce on 5.14.4 with Manjaro or git master with Neon.
> 
> After setting the scale factor to 1.2, do you:
> 1. Immediately navigate to the Window Decorations page?
> 2. First close the app and then re-open it?
> 3. First reboot the machine?

3 First reboot the machine or at lest log off and login again.
Comment 7 Nate Graham 2018-12-28 16:03:42 UTC
Thanks. Still cannot reproduce. :(
Comment 8 lindsaylohansemail 2019-03-06 03:02:58 UTC
Created attachment 118591 [details]
Scaled Display Breaks Window Decorations Layout

I am able to reproduce this issue in the latest stable version of KDE neon using the steps outlined by the original reporter. However, resizing the form corrects the issue. Scaling a display only affects the default display of the form. 

1. Set the scaling to 1.2 (System Settings -> Display & Monitor -> Displays -> Scale Display)
2. Reboot
3. System Settings -> Window Decorations -> Observe window state similar to attached
4. Manually re-size the Window Decorations form (Right-click the title bar -> More Actions -> Resize -> Move the mouse to adjust -> Observe that the form layout corrects itself almost immediately)
Comment 9 Nate Graham 2019-03-06 05:51:51 UTC
Fixed in Plasma 5.16.0 where the KCM's UI was entirely rewritten.