Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

[imgui] Can't switch between popup buttons with vimkeys

Open andrei8l opened this issue 1 year ago • 2 comments

Describe the bug

Only the arrow keys work in a popup. vim keys h and l, as well as y and n (etc..) don't work even though they are bound.

Attach save file

N/A

Steps to reproduce

  1. Wait 6 hours
  2. Press 5 to stop. There should be a confirmation popup
  3. Press h, l, y, and n
  4. Nothing happens

Expected behavior

Bound navigation keys work like in the old UI

Screenshots

N/A

Versions and configuration

  • OS: Linux
    • OS Version: LSB Version: n/a; Distributor ID: Arch; Description: Arch Linux; Release: rolling; Codename: n/a;
  • Game Version: cdda-experimental-2024-03-24-0121 cf9267f [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]

Additional context

N/A

andrei8l avatar Mar 24 '24 19:03 andrei8l

we will need some way to have ImGui respect CDDA key bindings. Right now navigation keys are hard-coded in the ImGui backends. What we could do is override ImGui's input system completely, this would be no simple task.

katemonster33 avatar Mar 25 '24 03:03 katemonster33

Steps to reproduce

  1. Wait 6 hours

You got me worried there. I was thinking what kinda joke you are pulling or if it compiles for you that long. Only then I realized it is in-game wait action.

Brambor avatar Mar 25 '24 09:03 Brambor