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

Alt- Hotkey not freed #10

GoogleCodeExporter opened this issue Jun 28, 2015 · 2 comments

Alt- Hotkey not freed #10

GoogleCodeExporter opened this issue Jun 28, 2015 · 2 comments


Copy link

Any SDL program/game which features Alt-Enter for switching between fullscreen 
and windowed mode (example ScummVM)

What steps will reproduce the problem?
1. When in Fullscreen Mode, press Alt-Enter to get in Windowed mode
2. Now in Windowed mode type anything in any field
3. Press Enter (note, that you have long let go of the Alt button)
4. The program/game will NOT take the Enter as command to finish the typing, 
instead it will bring bring the program/game back into Fullscreen mode as if 
the Alt key is still set to be pressed (not released by the internals of SDL?)

What version of the product are you using? On what operating system?
AmigaOS4.1 update 2
SDL 1.2.13r37

Please provide any additional information below.

I know this behaviour from long ago and am not sure if it actually is a bug in 
SDL or maybe in OS4...

Original issue reported on by on 18 Sep 2010 at 7:17

Copy link

There is a workaround for this behaviour which may show the devs a little hint

I need to press ALT a second time to be able to work along normal.
So it seems the ALT is still held somewhere, instead of freed when the key was 

Not sure if it helps, but afaik DOSBox is SDL aswell and has the same 
functionality of switching FS/Window with Alt-Enter, but the behaviour 
described above doesn't happen there

Original comment by on 18 Sep 2010 at 9:25

Copy link

raziel- commented Dec 25, 2017

This beahviour is still there and it's related (if not the same) to bug [url=]#38[/url] on SDL2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants