Created attachment 152474 [details] observed result SUMMARY On Plasma 5.26 Wayland session when Latte's "always visible" option is selected, maximized windows will go behind Latte Dock, instead of ignoring the space used by Latte Dock. STEPS TO REPRODUCE 1. Plasma 5.26 and Wayland session should be used. 2. Create a Latte Dock and enable "always visible" . Right click on dock, *Edit Panel* and choose "always visible" from *Behavior -> Visibility* 3. Maximize any window. OBSERVED RESULT A part of the window will be covered by Latte. (see screenshot_broken.png) EXPECTED RESULT The maximized window is fully visible SOFTWARE/OS VERSIONS Operating System: Garuda Linux KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 5.19.10-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 12 × 11th Gen Intel® Core™ i5-11400H @ 2.70GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics Manufacturer: MONSTER Product Name: ABRA A7 V13.1 System Version: Not Applicable
Same issue on EndeavourOS with Plasma 5.26
Can confirm, same issue here on Tumbleweed, Plasma 5.26
*** This bug has been confirmed by popular vote. ***
*** Bug 461896 has been marked as a duplicate of this bug. ***
Same issue on Arch Linux, KDE Plasma 5.26.3 , Wayland
same issue in 5.26.4 Arch Linux - Wayland, it works in x11
Same issue on Kubuntu 22.10, Plasma 5.26.4 on Wayland. The issue persists in both latte-dock binary repository version 0.10.8 and git version (0.10.77)
Affected by this on Arch Linux, Plasma 5.26.4, KDE Frameworks 5.100. Both git and release version :D
I have the same issue on Wayland only. Works as expected on X11. ~~~ OS : Manjaro 22.0 KDE: 5.26.4 Kernel: 6.0.11-1-MANJARO LD : 0.10.77 Wayland ~~~
Same problem for me when using Latte in Wayland. Its fine and as expected under X11. Yakuake in contrast shows up at the right position under Wayland. OS : Manjaro 22.1 KDE: 5.26.4 Kernel: 6.1.1-1-MANJARO Qt: 5.15.7 KDE-Framework: 5.101.0 Wayland
Still happen on Debian Sid with latest master build
I have the same issue and I've managed to narrow the issue down to WaylandInterface::setViewStruts in app/wm/waylandinterface.cpp. The issue seems to be that the ghost window has a width (or height) of 1 pixel, and that causes it to be (I'm guessing) ignored by the wm. If I change the w->setGeometry call to use the full rect it works properly. I did some further testing, and for me the "magic" value that causes it to work is if I set the width to 88 pixels - any less than that and it won't work. Anyone know the reason for it not using the full rect for the ghost window?
Slight update: Seems that it doesn't like it when the width is smaller than the height (for a top or bottom panel) or vice-versa. The "magic" 88 pixels width in my previous comment was actually the same as the height - that's why it started working when I changed it to that. So I guess a simple solution would be to change the 1 pixel width/height to the height/width counterpart.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/latte-dock/-/merge_requests/44
I am using plasma wayland 5.27 with latte-dock git and this doesn't seemed to be fixed. Specifically fullscreen apps go under the dock. Think games. I have always visible enabled and when playing witcher 3 the dock is still onscreen. Using arch/nvidia.
*** Bug 460783 has been marked as a duplicate of this bug. ***
(In reply to Mathias Tillman from comment #13) > Slight update: Seems that it doesn't like it when the width is smaller than > the height (for a top or bottom panel) or vice-versa. The "magic" 88 pixels > width in my previous comment was actually the same as the height - that's > why it started working when I changed it to that. > So I guess a simple solution would be to change the 1 pixel width/height to > the height/width counterpart. Works like a charm, thank you for the resolution.
(In reply to Mathias Tillman from comment #13) > Slight update: Seems that it doesn't like it when the width is smaller than > the height (for a top or bottom panel) or vice-versa. The "magic" 88 pixels > width in my previous comment was actually the same as the height - that's > why it started working when I changed it to that. > So I guess a simple solution would be to change the 1 pixel width/height to > the height/width counterpart. How do you change this height? I could not find a file named waylandinterface.cpp
(In reply to Archisman Panigrahi from comment #18) > (In reply to Mathias Tillman from comment #13) > > Slight update: Seems that it doesn't like it when the width is smaller than > > the height (for a top or bottom panel) or vice-versa. The "magic" 88 pixels > > width in my previous comment was actually the same as the height - that's > > why it started working when I changed it to that. > > So I guess a simple solution would be to change the 1 pixel width/height to > > the height/width counterpart. > > How do you change this height? I could not find a file named > waylandinterface.cpp You can find the file in `app/wm/waylandinterface.cpp`, I am lazy so installed the `latte-dock-git r5955.24b1e8fa-1` package from `yay`
(In reply to Archisman Panigrahi from comment #18) > (In reply to Mathias Tillman from comment #13) > > Slight update: Seems that it doesn't like it when the width is smaller than > > the height (for a top or bottom panel) or vice-versa. The "magic" 88 pixels > > width in my previous comment was actually the same as the height - that's > > why it started working when I changed it to that. > > So I guess a simple solution would be to change the 1 pixel width/height to > > the height/width counterpart. > > How do you change this height? I could not find a file named > waylandinterface.cpp You can see what needs to be changed in the MR above: https://invent.kde.org/plasma/latte-dock/-/merge_requests/44
I have the same problem. Two latte panels and windows are below the top panel. The top latte panel is above the browser window and doesn't allow to switch the tabs while browser in full-screen mode. Latte Dock version: 0.10.8 Arch Linux: 6.6.16-1-lts KDE Plasma Version: 5.27.10 Graphics Platform: Wayland Screen Resolution: 3840x2160 Scale: 200%