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

4.2 beta resizing creates black bars around viewport, viewport doesn't change size #84896

Closed
pinkkis opened this issue Nov 14, 2023 · 2 comments

Comments

@pinkkis
Copy link

pinkkis commented Nov 14, 2023

Godot version

v4.2.beta6.official [6415006]

System information

Windows 11, Mac OS 14.0 - Forward+

Issue description

In 4.2 Beta 6 (project was started in beta 4), the window resizing doesn't seem to work properly. I have mode set to "viewport", aspect set to "keep", and when I resize the window, the game viewport stays the same size, and only black bars are added around the game.

image

I opened the same exact project in 4.1.3 and the resizing works perfectly as expected.

Another note, when i maximize the window, the viewport is resized, but there is still a little bit of black bars, as in there would be room to make it bigger.

This happens both on my Win 11 machine and my M2 Pro mac with Mac OS Sonoma (14.0)

4.1.3:

Untitled.video.-.Made.with.Clipchamp.1.mp4

4.2-beta.6:

Untitled.video.-.Made.with.Clipchamp.2.mp4

Steps to reproduce

Attached is the project i'm using

Minimal reproduction project

repro.zip

@Sauermann
Copy link
Contributor

This was an intentional change done in #75784.

You can switch back to the previous behavior by changing Scale Mode from "integer" to "fractional" in Project Settings -> Display -> Window -> Stretch.

image

@pinkkis
Copy link
Author

pinkkis commented Nov 15, 2023

That seems to be it. Sorry, this seems to have been my misunderstanding what that meant. Thanks for the reply :)
Closing this as it doesn't seem a bug now

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

2 participants