|
|
Reporter | lethosor | Assigned To | lethosor | |
---|
Priority | normal | Severity | minor | Reproducibility | have not tried |
---|
Status | resolved | Resolution | no change required | |
---|
Platform | Windows | |
---|
Product Version | 0.34.11 | |
---|
|
|
Summary | 0006455: Modifier keys are not cleared when using alt-tab to switch from DF to another application (on Windows) |
---|
Description | There are numerous reports regarding this behavior (see http://www.reddit.com/r/dwarffortress/comments/1zxmxt/hit_m_to_open_military_screen_but_goes_to_dwarf/, http://www.bay12forums.com/smf/index.php?topic=135487, etc.), but I was unable to find any on the bug tracker. I initially assumed this was a bug in SDL, like 0006374, but I recently found a solution from another project using SDL that had this problem: https://github.com/sirikata/sirikata/commit/231fb1c8a723316d9b6c1ec6599a94269baa0324 (it could take a bit of work to adapt to DF, but the main idea is that it clears the active modifier keys when the window's focus changes).
|
---|
Steps To Reproduce | Set a keybinding to use Alt (e.g. changing announcements to Alt-U), Alt-tab out of DF, switch back to DF, and press "u". The units menu should be displayed, but the announcements screen is displayed instead. |
---|
Additional Information | I don't actually have a Windows machine to test on, so I'm going by what others have reported. I have not tested on Linux yet, so I'm unaware if this occurs on any platforms other than Windows (definitely not on OS X, since it uses Command-tab instead and the Command key isn't recognized by DF as a modifier) |
---|
Tags | No tags attached. |
---|
|
|