|Summary:||On Wayland, struts are incorrect for vertical panels, causing Maliit and new horizontal panels to be mis-positioned|
|Product:||[Plasma] kwin||Reporter:||Nate Graham <nate>|
|Component:||general||Assignee:||KWin default assignee <kwin-bugs-null>|
|Severity:||normal||CC:||benjamin.hennion, cedjo7, jps.sousa, rob.dyck|
|Latest Commit:||https://invent.kde.org/plasma/kwin/-/commit/7e25e20097fe8d140f7408b76fbf374fe5f33690||Version Fixed In:|
|Attachments:||Cover half the panel|
Description Nate Graham 2021-08-03 21:18:44 UTC
Created attachment 140494 [details] Cover half the panel Fedora 34 with maliit-keyboard in a built-from-source Plasma Wayland session at 200% global scale. When the virtual keyboard appears, it overlaps half of my vertical left-side panel. See attached screenshot. I suspect that the goal is to avoid covering the panel, because when my panel is horizontal, it succeeds at avoiding covering it. However when my panel is vertical on either side of the screen, the virtual keyboard overlaps exactly half of it. Seems like some width calculation didn't take into account the scale factor or something.
Comment 1 Nate Graham 2022-02-26 22:37:16 UTC
Fixed by Arjen Hiemstra with https://invent.kde.org/plasma/kwin/-/commit/7e25e20097fe8d140f7408b76fbf374fe5f33690 in Plasma 5.24.3
Comment 2 Nate Graham 2022-09-13 18:47:29 UTC
Apparently right edge panels are still affected; see Bug 459000.
Comment 3 Nate Graham 2023-09-28 19:01:59 UTC
It's now broken again in Plasma 6 exactly as it was before this fix went in; re-opening.
Comment 4 João Sousa 2023-10-25 07:50:44 UTC
Hi Nate! For me it is broken on on Plasma 5. I'm using a vertical floating panel at the left of the screen and the maliit virtual keyboard doesn't overlap the panel but it gets its rightmost edge of the window off the screen partially blocking the keyboard keys as reported on https://bugs.kde.org/show_bug.cgi?id=474910. I guess it's related to the same issue origianlly reported. OS: NixOS 23.11 (unstable) KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10
Comment 5 Nate Graham 2023-10-25 21:15:41 UTC
This appears to affect new panels too; creating a new horizontal panel when there's already a vertical panel causes it to be mis-positioned in exactly the same way as Maliit is. Seems like the vertical panel struts are wrong. I'm using the system at 200% scale, so I thought maybe the struts were in physical pixels and not logical pixels. However I tested at 100% scale, and the issue remained.
Comment 6 Nate Graham 2023-10-25 21:15:46 UTC
*** Bug 459000 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2023-10-25 21:15:53 UTC
*** Bug 474910 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2023-12-01 18:04:45 UTC
*** Bug 477824 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2023-12-01 18:05:58 UTC
Anyway, clear steps to reproduce: 1. Have a vertical panel on the left screen edge 2. Add a new blank horizontal panel or show the Maliit virtual keyboard somehow Both the new panel and also the Maliit virtual keyboard are positioned too far to the right.