-
Notifications
You must be signed in to change notification settings - Fork 269
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
Window opening on dual screen #1183
Comments
The update may have been this PR: #1171
This, in itself, is expected behavior.
This sounds like the Minecraft window is "closing" and then the full-screen window is opening, although the transition doesn't quite look like that. I can recreate this with Minecraft, but it doesn't happen every time. I can't recreate it with Firefox. When I'm seeing this happen, it seems to happen right after I change which display Minecraft is on; if I un-fullscreen and re-fullscreen, it goes onto the correct display. I'm also seeing it happen just as often (or more often) in the reverse direction, where I move the window from the external display onto an internal display with another window, and it full-screens onto the external display with no other windows. |
Minecraft 1.17 doesn't switch screen, just Minecarft 1.8 (and probably some other versions which I didn't tested). |
Minecraft (1.8) doesn't move to other screen if there is a floating window or full sized window, it must be tiled window to move there. |
I also have this problem, its super annoying since i have discord and spotify open on my second screen and when nothing is open on my main screen the new window always goes to the second screen. |
Although this is (I think) consistent with the normal window opening behavior (open windows close to the focused one) it feels counter intuitive to me in the case of an empty primary monitor. For example when I switch to a new workspace (workspace disabled on secondary screen) and open a new window, I expect it to appear on the empty primary screen. Also I often have youtube or spotify on my secondary screen and as soon as my primary screen is empty my windows spawn on the secondary screen and I always have to move them over. I think the default behavior of gnome to spawn windows on the screen where the cursor is may be problematic because of the keyboard focus of the tiling extension. Another approach would be to always spawn windows on the primary screen when it is empty (that would get it right in almost all of the use cases for me). Or maybe there is a way of telling if a window has explicit or implicit focus (did I move to it/click on it or did it receive the focus because other windows were closed) and make a decision based on that. |
(1) Issue/Bug Description:
After an update (3 - 7 days ago) broke window opening on dual screen setup (just when you have tiling enabled). New window will always open on screen with already opened window. That happens also with Minecraft full screen mode. If I have opened Discord on one screen, Minecraft on other when I switch Minecraft to full screen mode it will open it on screen with Discord.
If I close Discord it will open it on the right screen.
(2) Steps to reproduce (if you know):
Open an app (browser), move it to any monitor, open another app (terminal) and it will open where another window is.
(3) Expected behavior:
Open new window / full screen mode in monitor where the mouse is / window is.
(4) Distribution (run
cat /etc/os-release
):NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os
(5) Gnome Shell version:
Gnome 3.38.5 with Cosmic
(6) Pop Shell version (run
apt policy pop-shell
or provide the latest commit if building locally):'''1.1.0
163180964221.04~5220303'''(7) Where was Pop Shell installed from:
Apt, pre-installed
(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
2 x 1080p
(9) Other Installed/Enabled Extensions:
Blur my Shell,
GSConnect,
Sound Input & Output Device Chooser
(10) Other Notes:
The text was updated successfully, but these errors were encountered: