-
Notifications
You must be signed in to change notification settings - Fork 152
Fix / improve window behaviour: restore pre-fullscreen/pre-scratch window size/position; better manage windows that start fullscreen #741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…, then fullscreen on show.
fullscreen during layout cycle.
ceea1d7 to
2a5e02f
Compare
11bde66 to
a74abed
Compare
a74abed to
27fd5dd
Compare
f96a59b to
8fd5ccd
Compare
Yeah, especially since this new approach might turn out to have more issues than the previous approach... |
|
@Thesola10 - do have the commit number you approved? |
|
I had |
|
Okay, I'm going to reset this PR branch back to that commit. |
c214755 to
c015375
Compare
… window position bar on leaving monitor when it has fullscreen.
|
Hey @Thesola10, can you pull and test the latest on this branch. A few small changes here:
|
Thesola10
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feels pretty nice, fixes fullscreen issues
I think that could cause problems. I guess mostly with games or other things that are supposed to be always fullscreen. But let me test it a bit. |
|
Actually immediately found some^^ Normally when this game is fullscreen and you focusing another window (on the current or other monitor) the game minimizes). You have to Alt+Tab back to it again. With these changes after navigating to another window on the same monitor, it looks like this: The game still shows on top of other windows but you click through it to the window that is below. You can still get back to the game via Alt+Tab. Focusing another monitor while the game is maximized still minimizes it. This means if you don't have a second monitor you can't tab out of the game anymore. Another game (MTG Arena) is basically the same, except it takes up the entire screen and you just click through it but can't see anything. Another game (Warframe) does not become fullscreen again after focusing away and back to it. You have to Alt+Enter twice (once to go to windowed mode and the second time to go to fullscreen mode again). I think that is implemented by the game. This game also does not lose focus when navigating to another monitor. So focusing another window on the same monitor is the only way to tab out of the game in PaperWM. So I'm against the last couple of commits. Games make enough problems on Linux, we should try to avoid introducing any more^^ I think I was also on commit c015375 before and that worked fine. Regarding the topbar behavior we can probably also change that without unfullscreening a window. E.g. we could consider a space fullscreen only if the active window is fullscreen (instead of any window). In #707 I also try to fix some of these issues. |
|
Also I noticed with the last commits navigating workspaces via Super+PageUp/Down does not complete the navigation. You are stuck in the zoomed out animation until you click a window to focus it. Edit: Actually also the window navigation is the same. The window preview does not close until you click on a window. I saw this error in the logs. But it's not always generated: |
ecde301 to
443dcd1
Compare
Into the Breach! Thanks @Lythenas for the further testing there. I've reverted the unfullscreening approach. And one of the fixes that relied on it. Still have the small "bobble" issue, it was just a check on layout. Will see if there's something quick that can be done here to resolve that one too, otherwise will leave that one for later. |
|
Hey all, I believe I've fixed the "bobble" issue when moving mouse to another monitor when a fullscreen window is active. Give this one a go. |
Lythenas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine now.
space elements are hidden as well.
for topbar enabling/disabling.
one => space elements not shown.

Fixes #739, and partially fixes #638.
This PR includes improvements to window fullscreening behaviours:
(1) is part of the fix required for #638 (the other part is an upstream issue that will be fixed in mutter with patch 3401 - which has been merged but not released yet).
These changes fix issues for me in kodi - but not the osu! issues (which requires also requires mutter fixes as mentioned above).