ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
2.02k stars 63 forks source link

Bug: Focus is stuck on Guild Tree if it is hidden #349

Closed cyberme0w closed 5 months ago

cyberme0w commented 6 months ago

Hi! I ran into a small bug today that I'd like to report.

Steps to reproduce:

  1. Open Discordo
  2. Hide the Guild Tree
  3. Focus on Message Input or Message Text
  4. Focus on Guild Tree (with it still hidden) via keyboard shortcut
  5. Focus on Message Input or Message Text via keyboard shortcut

Expected behaviour:

After step 5, Discordo should focus on the Message Input or Message Text again.

Actual behaviour:

After step 4, the focus is 'stuck' and can not be set to MI/MT with the keyboard shortcut. This only affects keyboard-only users, as the mouse is for some reason still able to focus on MI/MT.

Cheers!