Skip to content
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

Can't switch monitors in fullscreen mode. #21746

Closed
ghost opened this issue Sep 4, 2018 · 7 comments
Closed

Can't switch monitors in fullscreen mode. #21746

ghost opened this issue Sep 4, 2018 · 7 comments

Comments

@ghost
Copy link

ghost commented Sep 4, 2018

Godot version:
3.2 f50dd68

OS/device including version:
Win10 64-bit / Ubuntu 18.04.1 LTS 64-bit

Issue description:
While in full screen mode, changing the monitor number will not switch monitors.

In Windows, I have to turn off fullscreen, switch the monitor, and turn fullscreen back on.

For Linux it seems to require at least 2 frames of delay before the window size variables have settled. This involves turning fullscreen off, idling two frames, switch the monitor, idle for another two frames, then turn fullscreen back on.

Uknown what the behavior is for OSX.

Steps to reproduce:

Set the window to full screen, and attempt to switch monitors.

Minimal reproduction project:

Full Screen Montior Switching.zip

The project includes the work around method I'm currently using.

@Chaosus
Copy link
Member

Chaosus commented Sep 8, 2018

Im not sure - is it a duplicate of #20618 ?

@Chaosus Chaosus added this to the 3.1 milestone Sep 8, 2018
@ghost
Copy link
Author

ghost commented Sep 8, 2018

Hard to say. The description of actions could be better worded, but at least the first part sounds like it might be similar.

@akien-mga akien-mga modified the milestones: 3.1, 3.2 Jan 23, 2019
@Calinou
Copy link
Member

Calinou commented Oct 8, 2019

As per the issues linked above, this bug is what causes the editor to not respect the Game Window Placement editor setting if the project is set to use fullscreen by default.

@ghost
Copy link
Author

ghost commented Oct 9, 2019

Updated the issue's formatting to follow the bug report template.

@akien-mga akien-mga modified the milestones: 3.2, 4.0 Jan 8, 2020
@KoBeWi
Copy link
Member

KoBeWi commented Dec 9, 2020

The MRP doesn't work on master. Also fullscreen seems to be bugged in general right now (cf62289), so it's difficult to test.

@ghost
Copy link
Author

ghost commented Dec 9, 2020

The MRP doesn't work on master. Also fullscreen seems to be bugged in general right now (cf62289), so it's difficult to test.

It was a 3.2 issue, I'm not sure the state of affairs of with the displays in master at the moment. Of the handful of opportunities where I had time to fiddle with it in the past, the editor either crashed or had other impassable bugs.

If you're investigating it, the only two lines of interest are just these:

OS.window_fullscreen = true
OS.current_screen = ID # Choose some other monitor while in full screen.

@akien-mga
Copy link
Member

Duplicate of #14620

@akien-mga akien-mga marked this as a duplicate of #14620 Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants