Project

General

Profile

Bug #4016

Closing menus with spacebar will still send certain assigned actions through afterwards

Added by Denver Woodcock 4 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Input
Target version:
Start date:
08/09/2017
% Done:

100%

Reproducibility:
Always
Operating system:
Windows
Severity:
Normal

Description

If the user assigns either "Jump" or "Inventory" to the spacebar key and then pushes spacebar to close out of an in-game menu the assigned action will still be processed immediately after the menu closes.

In the case of assigning "Jump" to the spacebar, once you have closed out of the inventory of a container by using spacebar your character will jump immediately afterwards.

With "Inventory" assigned to spacebar, pushing it to close out of a menu instead brings up your inventory first. Then a second push of the spacebar closes out of the menus.

My suggestion would be to just always make the "Activate" key close out of menus rather than spacebar. That would feel most natural to the user IMO. ( I.E. Pushing the activate key on something can both bring-up and close-out of menus.)


Related issues

Related to OpenMW - Bug #1555: Closing containers with spacebar doesn't work after touching an item Closed 06/25/2014

Associated revisions

Revision 9ed1b165 (diff)
Added by scrawl . about 2 months ago

Extend code that detects whether a key was consumed by the GUI (Fixes #4016)

History

#1 Updated by Dark Locq 3 months ago

The activate key on an open container is used for "take all and close the container". That behavior is actually undesirable, as anyone knows who's accidentally double-pushed the activate key when opening some enormously full loot chest or closet and had to spend an hour cleaning out their inventory again. It should actually be a different key that does "take all and close". Or at least an option we can set, even if if the default remains to mimic the Bethesda engine behavior.

#2 Updated by Andrei Kortunov 2 months ago

The activate key on an open container is used for "take all and close the container".

Actually, "take all" action is hardcoded to ENTER button, "close container" - to SPACEBAR.

#3 Updated by Andrei Kortunov 2 months ago

  • Related to Bug #1555: Closing containers with spacebar doesn't work after touching an item added

#4 Updated by Alexei Dobrohotov 2 months ago

  • Status changed from New to Resolved
  • Assignee set to Andrei Kortunov

#5 Updated by Alexei Dobrohotov about 2 months ago

  • Assignee changed from Andrei Kortunov to scrawl .
  • % Done changed from 0 to 100

#6 Updated by Alexei Dobrohotov about 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF