Moving a fullscreened window to a different group makes it disappear from all groups
See original GitHub issueWhen I use lazy.window.togroup(group_name)
to send a window to another group and the window is fullscreened, it does not appear on the target group.
Some logs:
2022-02-10 22:33:15,589 ERROR libqtile manager.py:process_key_event():L391 KB command error togroup: Traceback (most recent call last):
File "/home/mcol/git/qtile/libqtile/command/interface.py", line 312, in call
return SUCCESS, cmd(*args, **kwargs)
File "/home/mcol/git/qtile/libqtile/backend/base.py", line 422, in cmd_togroup
self.togroup(group_name, switch_group=switch_group)
File "/home/mcol/git/qtile/libqtile/backend/wayland/window.py", line 370, in togroup
self.group.remove(self)
File "/home/mcol/git/qtile/libqtile/group.py", line 295, in remove
self.tiled_windows.remove(win)
KeyError: Window(name='imv - [1/1] [1920x1080] [100%] /home/mcol/20220210_22h32m45s_grim.png [shrink to fit] ', wid=13)
This suggests that, as the window is removed from the current group but then the action errors out, the fullscreened window just remains in an unmapped state.
I think this is a relatively new bug. Pinging @jwijenbergh - I suspect it’s to do with your recent fullscreen changes.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Sometimes minimized windows move to other monitor ...
My theory: the bug in Windows is that the window always returns to the monitor where the window started in windowed mode vs...
Read more >How to retrieve windows that have moved 'off-screen'
One method is before you unplug the external monitor (or before you unplug the dongle) is to open up the Displays Preference Pane...
Read more >Solved: Moving windows in Unity causes them to disappear
The window does NOT dissapear: it is moved. To get it back, quit unity mode, right-click on the windows taskbar (or the thumbnail...
Read more >WM window disappeared - Google Groups
Whenever I press ESC (or F11) to get from fullscreen-mode to the WM-window, the fullscreen just disappears, but no window is showing.
Read more >Use apps in Split View on Mac - Apple Support
Use a different app on one side: Click the app window, move the pointer over ... The app that remained in Split View...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can confirm. We need to indeed add
if win in self.tiled_windows
when removing it. I think I removed this check when simplifying the pr because I thought it wasn’t need any moreProgress already made in #3324. Haven’t got the chance to test a lot so lmk if you see any issues @m-col