Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImGui Keybindings window. Inactive search bar #72066

Closed
IdleSol opened this issue Feb 29, 2024 · 11 comments · Fixed by #72871
Closed

ImGui Keybindings window. Inactive search bar #72066

IdleSol opened this issue Feb 29, 2024 · 11 comments · Fixed by #72871
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@IdleSol
Copy link

IdleSol commented Feb 29, 2024

Describe the bug

The keybindings window (settings / keybindings). The search string does not become active.
2

To be more precise, it sometimes becomes inactive (does not allow you to enter text). The behavior is as follows. When opening a window, the cursor blinks once and disappears. When pressing keys nothing is typed.

The interface must be enabled. Use imGui UI: true

Attach save file

N/A

Steps to reproduce

  1. Default settings
  2. Enable imGui (settings / options / interface / Use imGui UI: true)
  3. Open the keybindings menu
  4. Try typing. If you succeed, go to the next step.
  5. Close the game and open it again.
  6. Go to step 3

Alternatively 1.

  1. Open the keybindings menu
  2. Close the keybindings menu
  3. Open another menu (safemode, options or create a world)
  4. Close this menu
  5. Go to step 1

Alternatively 2.
After opening the keybindings menu, press enter. Try typing in the text

Expected behavior

The search bar should always be active.

Screenshots

No response

Versions and configuration

Game version: cdda-windows-tiles-x64-2024-02-28-2115

Additional context

If you disable imGui, everything works fine.

@IdleSol IdleSol added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Feb 29, 2024
@katemonster33
Copy link
Contributor

I personally am not reproducing this locally. Maybe some more information is needed about your environment? Are you reproducing this reliably? 100% of the time? 50?

@IdleSol
Copy link
Author

IdleSol commented Feb 29, 2024

I tried it on two systems

  1. archlinux + PortProton
  2. windows 10 (virtual machine)

Basic method: ~80%
Alternatively 1: ~30% maybe a little more
Alternatively 2: 100%

Can you enter text? If you pressed enter.

@katemonster33
Copy link
Contributor

Getting back to this now that I am done with android... So you emulate cataclysm? You don't play on the Linux build?

@IdleSol
Copy link
Author

IdleSol commented Mar 13, 2024

Yes, I'm using the windows version (cdda-windows-tiles-x64-2024-03-13-0502). But I run it through the emulator.

@katemonster33
Copy link
Contributor

Ok. What happens if you run cataclysm locally?

@IdleSol
Copy link
Author

IdleSol commented Mar 13, 2024

The same thing is happening.

UPD. The link is to the video.
https://github.com/CleverRaven/Cataclysm-DDA/assets/155764584/6277f286-ab55-48b6-8816-08115e2e1b71

On a windows 10 computer, it's similar. Only there are also artifacts from the window.

@katemonster33
Copy link
Contributor

Hi just checking. Still reproducible after #72501? Any change?

@IdleSol
Copy link
Author

IdleSol commented Mar 25, 2024

cdda-windows-tiles-x64-2024-03-25-0528

No change. The error still occurs.

UPD. #72600 It seems to me that this is a similar problem. After merging #72604 I'll have to check it out.

@IdleSol
Copy link
Author

IdleSol commented Mar 26, 2024

cdda-windows-tiles-x64-2024-03-26-1759

Nothing has changed.

@katemonster33
Copy link
Contributor

OK I finally figured out how to reproduce this locally. The problem is that I always open the keybindings screen with the mouse. At least for me, opening the screen with the keyboard seems to be what reproduces the issue. still researching a solution.

@IdleSol
Copy link
Author

IdleSol commented Mar 27, 2024

Confirmed. If I use the mouse and don't use the keyboard, I have no problems.

After the keybindings window opens. Press enter. Where does the focus go from the window? If it's about the focus at all. Maybe there is a similar signal when using the keyboard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
2 participants