Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007730Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2014-07-29 21:532018-05-30 09:16
Morlark 
 
lowtweakalways
newopen 
0.40.05 
 
0007730: KEY_HOLD_MS is not applied when a single key combo triggers multiple keybindings
Under certain conditions, the game ignores the KEY_HOLD_MS setting when a single key combo is pressed for less than the time specified by KEY_HOLD_MS, but the keys are pressed in an order such that they correspond to multiple different keybinds.
1. In interface.txt, set all of the relevant keybindings to REPEAT_SLOW.
2. Start a Fortress game.
3. Enter any selection mode that requires you to scroll around the map, e.g. k, or v, or d -> d.
4. Press Shift + direction, and release the Shift key slightly before the direction key.
5. Note that, even though the direction key was pressed only a single time and for less than the value of KEY_HOLD_MS, the cursor moves twice; one time for the Shift + direction fast scroll, and one time for the direction key on its own.
This probably affects any keybinding that uses a modifier key, in any game mode. I haven't had the opportunity to check them all.
No tags attached.
related to 0006167new  Numpad scrolling mixed with shift key is weird when Numlock active 
Issue History
2014-07-29 21:53MorlarkNew Issue
2016-02-29 06:06MorlarkIssue Monitored: Morlark
2018-05-30 09:16lethosorRelationship addedrelated to 0006167

There are no notes attached to this issue.