Bug 434645

Summary: Colors KCM hides bottom frame when systemsettings window is at minimum size
Product: [Applications] systemsettings Reporter: MScattolin <matheus.scattolinanselmo>
Component: kcm_colorsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jpwhiting, mwoehlke.floss, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.21.4
Attachments: missing frame at the bottom

Description MScattolin 2021-03-20 01:21:45 UTC
Created attachment 136867 [details]
missing frame at the bottom

SUMMARY
KCM won't show "Install from File" and "Get New Color Schemes" buttons and their frame at the bottom when opening the KCM while the systemsettings window is at the minimum allowed size. If the window is enlarged and shrunken back at the minimun size, the frame will keep, but will disappear when switching KCMs.

STEPS TO REPRODUCE
1. Open systemsettings / Go to any other KCM
2. Resize window to the minimum size
3. Open the 'Colors' KCM

OBSERVED RESULT
Bottom frame will be missing

EXPECTED RESULT
The bottom frame should be there no matter the window size

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.11.7
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-21 00:45:30 UTC
Cannot reproduce with Noto Sans 10pt or 11pt, but I've seen other people reporting this too and I assume it is caused by on the preview being affected by font metrics, and a strange interaction with certain fonts. What font and point side are you using?
Comment 2 David Redondo 2021-03-22 08:54:33 UTC
Git commit a99acfaea57b45f5113e7af9da4847aa6a366d5e by David Redondo.
Committed on 22/03/2021 at 08:53.
Pushed by davidre into branch 'master'.

Make bottom frame again visible

Setting spacing to smallSpacing fixes the bottom border for me.
FIXED-IN:5.21.4

M  +1    -0    kcms/colors/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/a99acfaea57b45f5113e7af9da4847aa6a366d5e
Comment 3 David Redondo 2021-03-22 08:57:31 UTC
Git commit d522ebbae5b4b225129197e1ddd3ccee01e490ea by David Redondo.
Committed on 22/03/2021 at 08:56.
Pushed by davidre into branch 'Plasma/5.21'.

Make bottom frame again visible

Setting spacing to smallSpacing fixes the bottom border for me.
FIXED-IN:5.21.4

(cherry picked from commit a99acfaea57b45f5113e7af9da4847aa6a366d5e)

M  +1    -0    kcms/colors/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/d522ebbae5b4b225129197e1ddd3ccee01e490ea