Bug 398806

Summary: [Wayland] Buttons on bottom of some KCMs started via apps launcher are hidden while the window is unmaximized
Product: [Frameworks and Libraries] frameworks-kcmutils Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jazzvoid, nate, notuxius
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: audio cds kcm under Wayland
audio cds kcm under X11

Description Patrick Silva 2018-09-18 15:02:57 UTC
Created attachment 115079 [details]
audio cds kcm under Wayland

Neon dev unstable here...

See the screenshots. "Audio CDs" kcm started via the apps launcher under X11
shows the buttons on bottom. The same buttons are hidden when the KCM runs under Wayland.
The same happens with the following KCMs:
energy saving
cookies
window behavior
kscreen
Comment 1 Patrick Silva 2018-09-18 15:04:06 UTC
Created attachment 115080 [details]
audio cds kcm under X11
Comment 2 Patrick Silva 2018-09-18 15:17:32 UTC
I forgot to say that the buttons appear when the window is maximized.
Comment 3 Nate Graham 2018-09-18 21:27:13 UTC
SizeHint too large, maybe?
Comment 4 Valerii Malov 2018-09-19 16:56:42 UTC
One of the things that comes to mind is checking if QDesktopWidget::availableGeometry properly accounts for struts/space reserved for panels in wayland session. Not sure when I'll be able to check this myself because I can't run kwin_wayland on my desktop.
Comment 5 Alexander Mentyu 2018-09-21 10:02:32 UTC
Related to/duplicate of https://bugs.kde.org/show_bug.cgi?id=366632
Comment 6 Nate Graham 2018-09-21 15:49:20 UTC
Definitely a duplicate. Nice find, Alexander!

*** This bug has been marked as a duplicate of bug 366632 ***