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

Editor Settings > Run > Window Placement > Screen: Doesn't Work #36462

Open
arcticmatt opened this issue Feb 22, 2020 · 12 comments
Open

Editor Settings > Run > Window Placement > Screen: Doesn't Work #36462

arcticmatt opened this issue Feb 22, 2020 · 12 comments

Comments

@arcticmatt
Copy link

arcticmatt commented Feb 22, 2020


Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.


Godot version:
v3.2.stable.official

OS/device including version:
macOS Catalina Version 10.15.2

Issue description:
I want to use the "Editor Settings > Run > Window Placement > Screen" setting to make Godot run my game on a specific screen, specifically my laptop. However, no matter what I change the setting to, the game runs on my external monitor.

Steps to reproduce:

  1. Use external monitor.
  2. Change Editor Settings > Run > Window Placement > Screen to any setting.
  3. Game always runs on external monitor, not laptop, when using Cmd + B shortcut.

Minimal reproduction project:
Any project with one scene.

@Calinou
Copy link
Member

Calinou commented Feb 22, 2020

I can confirm this on commit 9a55f15 (Fedora 31 KDE). This only occurs in specific cases, see below.

It works correctly in the following two scenarios:

  • The project is configured to run in a window.
  • The project is configured to run in a window, but the editor's Window Placement options are configured to force fullscreen (which overrides the project setting).

It doesn't work in the following scenarios:

  • The project is configured to run in fullscreen.
  • The project is configured to run in a window, but the editor's Window Placement options are configured to force a maximized window.

@KoBeWi
Copy link
Member

KoBeWi commented Dec 21, 2020

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

Looks like opposite of #20618

@Jelligeth
Copy link

Godot v3.3.4.

Running on second monitor ONLY works when the Project Settings is configured to run in a window, but the Editor Settings Window Placement options are configured to force fullscreen.
Any other configurations don't seem to work.

Might be worth noting that my two monitors have different resolutions (Monitor 1 is 4k and monitor 2 is HD).

@joemicmc
Copy link

I'm seeing this in Godot v4.0 alpha 6. Strangely had no issue in Godot v4.0 alpha 4 maybe something recently merged to master with regards to window placement.

@KoBeWi
Copy link
Member

KoBeWi commented Apr 24, 2022

Seems like no one was able to reproduce the original issue, so closing as duplicate of #21746 (i.e. only broken in fullscreen mode)

@joemicmc
Copy link

@KoBeWi this appears to be broken again in Godot 4.0 alpha 14. Steps to reproduce:

  • Create new project
  • In Project > Project Settings > Display > Window: Set Fullscreen to true
  • In Editor > Editor Settings > Run > Window Placement: Set Screen to Next Monitor
  • Add empty scene
  • Run

The window is displayed on the same monitor as the editor as per comments by @Calinou #36462 (comment)

Workaround is to disable / enable project settings depending on whether you are working in editor or doing a build 😅

See attached project
window-placement.zip

@Calinou
Copy link
Member

Calinou commented Aug 23, 2022

Workaround is to disable / enable project settings depending on whether you are working in editor or doing a build sweat_smile

You can also use the editor or standalone feature tag override for this.

@KoBeWi
Copy link
Member

KoBeWi commented Mar 5, 2023

This is still a problem in 4.0 stable.

It's indeed a duplicate of #20618, but that issue was closed as duplicate of another issue, which also was closed as duplicate, of an issue that was fixed. The original issue is still relevant though, so mine wasn't a duplicate in the end.

@CrashNBurbs
Copy link

Hi, also still seeing this issue in 3.5.2 stable. Running on Windows. I see that there was a fix made with #63192, but with Project Settings -> Window -> Fullscreen "On" and Borderless "On", then Editor Settings -> Window Placement -> Screen has no effect.

@tartley
Copy link

tartley commented Feb 3, 2024

I see something that sounds identical, today, v4.2.1 stable. Setting to Maximized instead of Fullscreen behaves correctly. All of my two external monitors and my laptop builtin screen are identical resolutions (1080p)

@Luke9389
Copy link

Luke9389 commented Feb 7, 2024

I may be holding something wrong, but I can't run the project on a different screen than the editor window.
I'm on OS X, Godot v4.1.1
I've tried every single option for run/window_placement/screen.

@EmilPastelka
Copy link

Godot v4.2.1 on Windows 10 - It worked fine but suddenly the project starts only on primary monitor and the project settings is ignored.

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

10 participants