PaperWM Layout Breaks And Causes Unexpected Behavior
PaperWM breaks the layout, now if i open anything (included all the system apps) it looks buggy and won't fit the screen it is out of the screen and things like border on focused window also doesn't visible and windows are overlapping each other like in the scratch layer
Steps to reproduce the behavior:
- Go to Chrome,Brave or Chromium
- Create Multiple Tabs
- Try to move any tab out to the new window
https://github.com/user-attachments/assets/c28f12ee-2d90-46da-a142-67cf295e54e2
Note This won't happen on firefox or vivaldi browser .
https://github.com/user-attachments/assets/e40989e0-d260-42af-bebc-3d1ae9d94840
System information:
Distribution: Fedora Linux 42 (Workstation Edition) GNOME Shell: 48.4 Display server: Wayland PaperWM version: 48.0.3 Enabled extensions:
Could be a duplicate of #1054
This only started happening recently, though I'm not sure if it was an updated version of PaperWM, Chrome, Gnome, or something else.
This bug seems to be stateful to an entire workspace. Once you've tried to pull a tab into a new window and triggered this bug, any new window opened on that workspace will have the same layout problem. This happens even if you close all windows on that workspace, and regardless of the application creating the new window. Other workspaces seem unaffected.
Restarting the PaperWM extension (without restarting Gnome) seems to clear the problem. This is true even if windows with broken layout are still open; restarting the extension will "fix" them.
PaperWM thinks the broken window is still in the tiled layout in some way. For example, "Switch to the left window"/"Switch to the right window" will still cycle through the broken window as if it's between two other windows. This is distinct from how PaperWM handles scratch or modal windows.
Pulling a tab into a new window does not always trigger this bug, though in my experience it often does. I haven't distinguished a pattern in when it happens.
System information
Distribution: Debian GNU/Linux testing-like GNOME Shell: 48.3 Display server: Wayland PaperWM version: 48.0.3 Enabled extensions:
- solaar-extension@sidevesh
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Chrome information
Google Chrome 140.0.7339.127 (Official Build) (64-bit) Revision 9412745860d8c3dfed9cf38f5daa943b163f8c69-refs/branch-heads/7339@{#1849} OS Linux JavaScript V8 14.0.365.4 User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Command Line /usr/bin/google-chrome-stable --flag-switches-begin --flag-switches-end --ozone-platform=wayland --render-node-override=/dev/dri/renderD128