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

Room search closes if you type too fast #2101

Open
olivia-fl opened this issue Dec 16, 2024 · 0 comments
Open

Room search closes if you type too fast #2101

olivia-fl opened this issue Dec 16, 2024 · 0 comments

Comments

@olivia-fl
Copy link

Describe the bug

If you have the room search modal pulled up (ctrl-k) and input text too quickly, it will often close automatically in the middle of typing your search term.

Reproduction

You need a method to input text very quickly to reproduce this. A tool to do this on linux/wayland is wtype.

  1. Open the room search modal with ctrl-k
  2. Open a terminal, and run sleep 5; wtype 'foo bar'
  3. Switch back to cinny before the 5 second timer is up
  4. It gets a few characters in before the search modal closes, o bar or similar ends up in the message field.

On linux/X11, xdotool could be used in a similar way.

Expected behavior

The text foo bar is entered in the room search text field.

Platform and versions

1. OS: linux (sway, nixos)
 2. browser: librewolf 133.0
 3. cinny version: v4.2.3 (app.cinny.in)
 4. matrix homeserver: computer.surgery

Additional context

I trigger this frequently because I mostly do text input with plover, with emits batches of keystroke events as quickly as possible. I'm not sure if it's possible to trigger the bug with a normal keyboard, but expect that it also affects people that use speech-to-text tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant