Opened 4 years ago
Last modified 3 years ago
#6092 closed defect
Alt+F4 triggers closing the game when it shouldn't — at Version 9
Reported by: | Imarok | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 25 |
Component: | Core engine | Keywords: | |
Cc: | wraitii | Patch: |
Description (last modified by )
The Alt
+ F4
hotkey gets always triggered when the keys are pressed and not only when someone starts pressing the keys.
This was not broken in A23b.
To reproduce:
- Open 0ad
- Open some other application (might be 0ad again)
- Press
Alt
+F4
- both windows get closed
(You can also close 20 instances of 0ad at once by holding Alt
+F4
for some seconds)
Edit: The issue was introduced by Phab:rP24215 / r24215.
Change History (9)
comment:1 by , 4 years ago
comment:4 by , 3 years ago
I guess the problem here is more that hotkeys are sent to all applications (for some reason, this seems perhaps a bit broken) on Ubuntu/Gnome, and 0 A.D. processes it even in the background?
comment:5 by , 3 years ago
Might be. But it works correctly with A23b. So the bug was introduced by changes in 0ad.
comment:7 by , 3 years ago
Freagarach could reproduce the issue on Lubuntu 18.04.
JCWasmx86 could reproduce the issue with GNOME, Debian Sid, amd64
comment:8 by , 3 years ago
I could reproduce the issue with GNOME Manjaro (Arch Linux) with SDL 2.0.14
comment:9 by , 3 years ago
Description: | modified (diff) |
---|
Please, specify your OS. I can't reproduce it on Windows.