-
Notifications
You must be signed in to change notification settings - Fork 405
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
updateMode/setMode behaviour differs from 11.5 #2114
Comments
I haven't been able to reproduce the issue, but I don't have a Linux machine to test on. Can you see if d099da1 fixed it for you? |
Fedora 41, Wayland, KDE 6.2 I can confirm that on my Linux machine, the provided code does indeed have different results in resizing between love11 and love12. used the latest action Screencast_20241029_125837.webmlove11 stays centred while love12 does not. |
Can you try the latest build? It uses an updated version of SDL3 – I haven't really seen any code changes to it that might affect things, but it's still worth a try I think. |
Behaviour did not change unfortunately |
Since the repro has |
No, the same thing happens actually. I think I initially added it because the context in which I first encountered the issue relied on that. |
The window position updates in some odd and not quite predictable ways in love 12 using SDL3.
The expected outcome for the following repro is that the window stays centered at all times and modifies its position.
I am able to verify this with the 11.5 release as well as the output of a 12.0 CI run before the SDL3 adoption.
On my machine, using the CI build from 2 days ago, the first updateMode does not change the window position.
The second updateMode changes the window position but the new position is not centered on the display.
Repro main.lua:
My machine uses debian 12
love.graphics.getRendererInfo output:
OpenGL;4.3.0 NVIDIA 535.183.01;NVIDIA Corporation;NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
The text was updated successfully, but these errors were encountered: