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

Window Focus falls back to parent on system file dialog when interacting with mouse #455

Open
BrunoWallner opened this issue May 1, 2024 · 2 comments

Comments

@BrunoWallner
Copy link

Description

When using something like rfd to open a file dialog window, the focus properly switches to the new window. But while interacting with it with the mouse, the focus will switch back to its parent and it is impossible to click anything in the file dialog.
A workaround is to use super + ←↓↑→ to focus it again and then use keyboard inputs only to interact with the child.

How to reproduce

  1. clone https://codeberg.org/BrunoWallner/apoxel with commit ID: e331ddc66f4a0613c25ea38c2bbecc4a170f711c
  2. cd into path
  3. run: cargo r --release
  4. on the Load world menu select vox importer and click on the Open file button
  5. use the mouse to interact with window that just opened up

System information

  • Linux version: 6.8.7-arch1-2
  • cosmic-comp commit ID: 5e61ce1ff8606986e24edb6a91c0eb9a175c305f
  • cosmic-epoch DE installed via AUR with commit ID: 2eadc4eca2bc2f8ecf6ecbe0ebe61de08544686c
@ryanabx
Copy link
Contributor

ryanabx commented May 1, 2024

Just to clarify - you can interact with the focused window keyboard inputs, but not mouse inputs?

If so that'd be similar to an issue I have with visual studio code where sometimes a window will completely lose the ability to receive any kind of mouse event, but keyboard events are fine

@BrunoWallner
Copy link
Author

Just to clarify - you can interact with the focused window keyboard inputs, but not mouse inputs?

If so that'd be similar to an issue I have with visual studio code where sometimes a window will completely lose the ability to receive any kind of mouse event, but keyboard events are fine

Yes exactly that is the case. At first it is properly focused and I can use keyboard inputs, but after interacting with the mouse, the focus is lost and I cannot either click on it or use the keyboard.

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

2 participants