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

In-Game: [Windows] Fullscreen looks wrong in 2022.0.3 LTS runtime 98 #8494

Closed
gm-bug-reporter bot opened this issue Nov 22, 2024 · 2 comments
Closed
Assignees
Labels
ltsr3 project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes

Comments

@gm-bug-reporter
Copy link

Description

After switching to full screen, GameMaker appears to continue using previous values for the window's size under the hood for resolution or scaling purposes, even though in-game functions all report the correct values. As a result, projects that had no issues with fullscreen resolution management in the previous LTS now do not draw properly in full screen.

As a workaround, it is possible to detect when the user has switched to full-screen, switch back out of full screen, set the size of the window to the size of the display, wait for the change to take effect, and then switch back to full screen. This feels a bit janky to the user because of the delay, but fixes how everything draws.

Steps To Reproduce

Press alt-enter and observe.

Try manipulating the size of the window prior to switching to fullscreen to see how the result is affected by the previous window size.

Press space in the example project to enable the workaround described above.

Which version of GameMaker are you reporting this issue for?

IDE v2022.0.3.83 Runtime v2022.0.3.98

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

Which platform(s) are you seeing the problem on?

Windows

67772e60-d624-4c9f-a208-e431a09ea4e3

@gm-bug-reporter gm-bug-reporter bot added project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Nov 22, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Nov 25, 2024
@stuckie stuckie added the ltsr3 label Nov 25, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Team Workload Nov 26, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload Nov 27, 2024
@YYDan YYDan changed the title Fullscreen looks wrong in latest LTS In-Game: [Windows] Fullscreen looks wrong in 2022.0.3 LTS runtimes Nov 27, 2024
@YYDan YYDan pinned this issue Nov 27, 2024
@YYDan
Copy link
Collaborator

YYDan commented Dec 2, 2024

All works correctly again in IDE v2022.0.3.83 Runtime v2022.0.3.99 (same IDE, new runtime)

Image

@YYDan YYDan changed the title In-Game: [Windows] Fullscreen looks wrong in 2022.0.3 LTS runtimes In-Game: [Windows] Fullscreen looks wrong in 2022.0.3 LTS runtime 98 Dec 2, 2024
@YYDan YYDan moved this from Ready for QA to Verified in Team Workload Dec 2, 2024
@YYDan
Copy link
Collaborator

YYDan commented Dec 3, 2024

(The fix from #4321 was missing in LTS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ltsr3 project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Projects
Status: Verified
Development

No branches or pull requests

3 participants