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

Game window sometimes does not respond to window size changes #6183

Open
frenzibyte opened this issue Feb 18, 2024 · 0 comments
Open

Game window sometimes does not respond to window size changes #6183

frenzibyte opened this issue Feb 18, 2024 · 0 comments

Comments

@frenzibyte
Copy link
Member

frenzibyte commented Feb 18, 2024

This happens quite rarely, but I managed to have it happen in TestSceneWindowModeResizedEvent while I was investigating ppy/osu#26865 (they don't seem to be relevant at first glance since I can repro the confinement incorrectness while client and window size are both correct).

CleanShot 2024-02-18 at 18 05 21

The window was originally set to display on one quarter of the screen. I toggled it to fullscreen mode using yabai -m window --toggle zoom-fullscreen, then I noticed the game rendering looking a bit pixelated, and the window size desynchronised from the client size (window size matches new window size, client size matches old window size).

EDIT: Logging the Scale outputs the following: Scale: 0.50714284. This indicates that the issue lies within Scale, and neither the window nor the renderer were able to fetch the correct drawable size (notice game window looking pixelated). Likely going to be escalated to SDL, since we are already doing our due diligence with fetching the Scale value.

@frenzibyte frenzibyte self-assigned this Feb 18, 2024
@peppy peppy changed the title Game window sometimes does not respond to size changes by window tiling manager (macOS yabai) Game window sometimes does not respond to window size changes Feb 18, 2024
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

1 participant