Skip to content

Fix always visible not resizing workspace on wayland

This fixes an issue on Wayland that caused panels and docks with Visiblity set to Always Visible to behave the same way as Windows Go Below due to the workspace not being resized properly. From doing some of my own testing, it seems like kwin doesn't like that the struts have a width (for top/bottom) or height (for left/right) that's smaller than their counterpart. For instance, for a bottom dock with a height of 88 pixels, I had to set the struts to have a width of >88 pixels for the workspace to be resized properly. I don't know if this is expected behaviour from kwin, but setting the struts this way does seem to work.

BUG: 459755

Edited by Mathias Tillman

Merge request reports