View Issue Details

IDProjectCategoryView StatusLast Update
0000150Medieval EngineersBugpublic2022-11-16 17:34
Reporterequinox Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version0.7.2 
Target Version0.8 (unreleased) 
Summary0000150: Input processor swallows unregistered shortcuts
Description

MyInputProcessor examines all shortcuts loaded in the game, even if they aren't currently active with an input context, and discards lower priority (fewer modifier) shortcuts. This means that registering a Ctrl+F shortcut on a rarely activated input context (for example, when sitting on a chair) will mean that a binding for just F will never receive an event when Ctrl+F is pressed.

This is debatably intended, in which case this should require an exact modifiers match all the time, or it's not intended, in which case this should start with the match closest to exact, and then ignore modifiers one at a time until a matching shortcut is found.

Making this worse, MyShortcutStorage.GetAllShortcuts doesn't filter out multimap entries that have an empty values set, causing shortcuts to be returned even if they have been removed from the user's bindings or if they are the default binding for the shortcut declared by a mod.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-04-05 18:24 equinox New Issue
2022-11-16 17:34 equinox Target Version 0.7.4 (unreleased) => 0.8 (unreleased)