Skip to content

Key combination modifier doesn't consume action assigned to this combination #1699

@riwarek

Description

@riwarek

Mods (complete and add to the following information):

  • Arma 3: last one
  • CBA: CBA_A3 v3.18.0.241008

Steps to reproduce:

  • assign primary mouse button to "fire" action (vanilla action)
  • assign CTRL+primary mouse button to "prepare" (ACE grenade) action

Current behaviour:
Prepare grenade mode is on, shot is fired.

Expected behavior:
Only prepare grenade mode is shown.

Where did the issue occur?

  • Singleplayer

This issue concernes many other action where CTRL is modifier (probably also SHIFT and ALT).

From outside it looks event handler pass key event further instead do the action and consume it. I don't know how it is called in C++ but in Java such behaviour is called "consumption" of event (or similar).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions