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

Applet window impossible to interact with when focus_follows_cursor is enabled #265

Open
refrogerator opened this issue Sep 26, 2024 · 10 comments

Comments

@refrogerator
Copy link

refrogerator commented Sep 26, 2024

Beause the applet window spawns far below the main panel, when you try to move the cursor onto it it disappears because the window behind it gets focused.
image
This makes it impossible to actually interact with it

@refrogerator refrogerator changed the title Applet panel impossible to interact with when focus_follows_cursor is enabled Applet window impossible to interact with when focus_follows_cursor is enabled Sep 26, 2024
@refrogerator
Copy link
Author

This doesnt seem to happen with cosmic-native iced based applications like the settings app

@mgiv
Copy link

mgiv commented Sep 27, 2024

Same thing happens when right-clicking an app on the dock and also with the launcher

Note: Works on empty desktop

@refrogerator
Copy link
Author

bump 🗣️

@wash2
Copy link
Collaborator

wash2 commented Oct 9, 2024

The panel dismisses popups on focus loss, because typically that would be associated with clicking on another application's window, which would close a popup. Maybe when the focus follow cursor mode is enabled, keyboard focus should not follow the cursor if it leaves an app with a popup. @pop-os/ux do you have any opinion on how this behavior could be improved?

@maria-komarova
Copy link

When I try to set the setting to focus follows cursor and gaps between windows to 0 I still have no problem interacting with the applets. So it would be nice to reproduce the issue before making any design adjustments.

@refrogerator
Copy link
Author

the problem happens when the window gap is not set to 0 and the delay for focus follows mouse is 0ms

@refrogerator
Copy link
Author

maybe the applet popup could be exempt from the window gap and just spawn directly below the panel

@maria-komarova
Copy link

Why did you set the delay to 0? I believe this is rather than a gap is responsible for not being able to get to the applet. The gap between panel and applets is very small and window gap doesn't control it (or at least shouldn't control it).

@refrogerator
Copy link
Author

because thats my preferred setting

@refrogerator
Copy link
Author

refrogerator commented Oct 9, 2024

the gap is the same distance as the window gap at least with my config, big enough to make it focus the window instead of the popup

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

4 participants