Fullscreen window not accessible when it loses focus.
See original GitHub issueThe issue:
I wanted to do X, but Y happened, and I expected Z. I think this is a bug.
Can’t refocus on a fullscreen window that lost focus. The fullscreen window doesn’t accept keyboard input so I can’t unfullscreen it.
qtile --version
: 0.21.0
Logs attached at bottom. None of the open bugs seem to match my issue.
After some more testing it seems that buggy state(Y) happens whenever fullscreen window loses focus through:
lazy.layout.next()
. Buggy state does not happen when there is no window to switch to.- Moving the mouse onto another window with focus on hover
- Switching to a different group WITH A WINDOW
- Switching to a blank group does NOT cause buggy state
When hidden, fullscreen windows cannot:
- Accept keyboard input, even when the Prompt widget shows the fullscreen window’s name
- Be switched to by Qtile via
lazy.layout.next()
- Switching away is possible, but
layout.next()
will skip the fullscreen window rofi -show window
can force Qtile to focus on fullscreen windows.
- Switching away is possible, but
- Can sometimes get control of the window again with
lazy.restart()
(SeeBehavior when qtile is restarted
). - Application responds to
lazy.window.kill()
- Application can be moved to another group.
Affected Applications:
- Osu-lazer (the bug report is based on behavior with this in fullscreen)
- Minecraft
- Interestingly, Firefox (
f11
) is NOT affected. Firefox with fullscreen YouTube isn’t either.
Behavior when qtile is restarted
On group with fullscreen window
Layout is :MonadTall
Focus on Hover is On
- If Osu(fullscreen) is the only window
- Osu and Qtile seems to have a fight, but Osu remains in fullscreen. Control is regained
- If Osu(fullscreen) is 1/2 windows
- Osu will be forced into a window if focused.
- Osu still thinks it’s in fullscreen.
- Osu can accept keyboard input.
- Focusing on another window will immediately hide Osu behind everything.
- If the layout is bad you may end up with a 1/3 case
- If not focused, it will be hidden immediately.
- Osu will be forced into a window if focused.
- If Osu(fullscreen) is 1/3 windows
- I cannot get Osu to be focused. Osu is hidden(bugged) immediately after restart.
On a different group not containing fullscreen window
- Switching to the fullscreen group the first time after restart yields proper behavior
- Any future switches yields buggy behavior.
Debug Logs
Scenario 1
- Delete qtile config from another group
lazy.restart()
(mod-control-r)$ qtile shell
->> debug()
- Switch to group 6 (Osu-Lazer)
- Expected behavior happens. Fullscreen is visible
- Switch to Group 2
- Switch to Group 6
- Buggy behavior happens. Fullscreen is invisible
lazy.restart()
Required:
- I have searched past issues to see if this bug has already been reported.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Fullscreen GLFW window disappears when focus is lost
GLFW_AUTO_ICONIFY specifies whether the full screen window will automatically iconify and restore the previous video mode on input focus loss.
Read more >Prevent full screen applications from minimizing when they ...
Is it possible to prevent a full=screen application from minimizing when it loses focus? I'm running Windows 7. windows-7 · Share.
Read more >Fullscreen minimizes if it loses focus : r/AnyDesk - Reddit
When I have AnyDesk in fullscreen mode, it minimizes itself if I click on another window. I have multiple monitors and it would...
Read more >Active Window losing focus/priority to invisible system services
Active Window losing focus/priority to invisible system services in Windows 10? I've had Windows 10 for a few weeks now, however for the...
Read more >Do not iconify full screen windows that lose focus #143 - GitHub
Fullscreen windows are minimized when loosing focus. This makes it impossible to run multiple fullscreen windows on a multi monitor setup.
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
No. You wrote a very thorough bug report which is great.
I have just had no time to look at this yet and may not have some time for a while longer.
You can use the TaskList widget http://docs.qtile.org/en/stable/manual/ref/widgets.html?highlight=tasklist#tasklist
You can also script it:
See e.g. this snippet by @m-col https://github.com/m-col/qtile-config/blob/1907ed323ebcb03f43d4925633e0b69560487042/tags.py#L52