-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
SCALED + FULLSCREEN on second screen wrong size #1169
Comments
Can you draw a diagram of your screen layout and resolutions? Or post a screenshot of the display configuration tool? Did you pass a display number to set_mode? |
Sorry, this was more a note to myself whilst I remembered and I didn't get back to filling in the details. I'll do a test later and try to note down more details. Also FULLSCREEN by itself doesn't work in this setup (with an external screen on my mac). |
I think on a multi-monitor setup, we cannot use SDL_WINDOWPOS_UNDEFINED, we actually have to query the geometry of the monitors. |
I tried it on my end with two different project, using different resolutions. One is using 960x540 and the other 540x540. 960x540(half HD, the same 16:9 aspect ratio as the external monitor)
540x540
So on my end, the only real problem is when I'm using FULLSCREEN alone with another aspect ratio. Using the main monitor is a little different.
I tested it with the external monitor always connected and I switched between them with display=0 or 1 in pygame.display.set_mode() |
thank you, @galexandreg Does SCALED work when it's just the full HD monitor? |
I'm not sure to understand your question. SCALED alone on the hd monitor works but some space is taken by the control bar at the top, so the bottom is invisible. I guess it would be useful to have an option to specify the target resolution when using SCALED. If you mean using ONLY the HD monitor with the Mac, unfortunately, the main one is the integrated one on my laptop so I don't think I can disable it. |
Well, I guess It's possible to disable it 😄 |
related to #902 |
I hooked up a second monitor and cannot reproduce this on Ubuntu/X11/XFCE |
I can't reproduce it anymore with the example test case. I'll try again with parrotjoy, since that's where I first noticed the issue. |
I think we can close this. I'm not quite sure though. |
Works for me :) |
When using SCALED on a second screen plugged in on MacOS, some of the surface gets cut off. The parrotjoy app has this issue.
The text was updated successfully, but these errors were encountered: