-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Bad mouse pointer position (Ogre 1.12) after setting a resolution in fullscreen #30
Comments
IDK if I can do anything about it. I wonder if this is something wrong in our code. Probably SDL window and Ogre/MyGui mouse cursor thing. |
Hmm, on my laptop, the issue seems to happen only with 1920x1080 which is my native screen resolution. |
Anyway, it seems that the issue with new resolution not being correctly applied until restart also happens with older Stunt Rally 2.6.1 with old OGRE. But the cursor issue happens only on newer build that is using recent OGRE and much newer SDL. So yeah, it is probably a OGRE or SDL thing. |
Hmm I just tested and in SR 2.6.1 with Ogre 1.9 on Debian 10:
Actually my both issues are fixed just by pressing resolution Change button. |
Sadly still the same issue with latest Stunt Rally from Git (5ce6dde + stuntrally/tracks@bef80ff) + latest OGRE (13.4.4). |
Thanks for testing. Please don't just bump topics. I guess nobody tried fixing it so it's still there. Not a critical issue for me, but yeah there are now many related to resolution change etc. |
Sorry. I just retested it and wanted to update this ticket with actual information. Next time, I will edit the original comment instead. The issue is actually quite annoying and harder to overcome if fullscreen is on as user has to close the game with Alt + F4 because it is not possible to click anything including the "Quit" button. |
Strange, I don't have this on Debian with KDE. |
Ugh, I just noticed that the resolution changing is quite glitchy. When fullscreen is already enabled, changing the resolution does not change it to a correct one. I first have to disable fullscreen, set the resolution, then restart the game and re-enable fullscreen. Weird. |
Setting Anyway, I have at least found a way to workaround this issue: When changing the resolution first, then enabling fullscreen (instead of first enabling fullscreen and changing the resolution afterwards), the issue does not happen. |
When using latest Stunt Rally from Git with OGRE 1.12.10, setting a different screen resolution ingame and switching to fullscreen, the actual mouse position is shifted and does not correspond with the mouse pointer position on screen. It gets fixed after restarting the game.
The text was updated successfully, but these errors were encountered: