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

Mouse focus doesn't reset correctly on workspace change #88

Open
inclement opened this issue Sep 5, 2021 · 3 comments
Open

Mouse focus doesn't reset correctly on workspace change #88

inclement opened this issue Sep 5, 2021 · 3 comments

Comments

@inclement
Copy link
Owner

Looks like the last focused window on the previous workspace remains focused until the cursor moves.

Not sure if this is a regression...I thought this used to work correctly but maybe I'm wrong.

It's probably a good time for a general pass through checking both keyboard and cursor focus change correctly on each transition.

@flaviozavan
Copy link
Contributor

I couldn't' reproduce this, but I am not entirely sure how to test it. I can use the windows just fine, but maybe I am missing some specific mouse behavior. Is this still applicable?

I am working on a couple of similar issues (including #114 ), a WIP branch is here, and since I plan on using the code for a few weeks before opening a PR, it seems like a good opportunity to tackle this as well.

@inclement
Copy link
Owner Author

Hmm, I don't remember fixing this (and I don't see a commit for it) but I don't think I've noticed it any time recently whereas I originally reported the bug because I was hitting it regularly. It might have been something a bit more subtle than always getting mouse focus wrong.

I'd be happy to close this issue until if and when anyone rediscovers it and can make a better report.

@flaviozavan
Copy link
Contributor

flaviozavan commented Sep 26, 2022

While debugging the 0.15 pointer focus issues, I realized we aren't sending enters pointer enters when switching workspaces. I updated that WIP branch. However, while the focus seems to be sent along correctly, applications don't necessarily handle it well. For example this page. If you open it, then switch to another workspace, move the pointer a bit, then switch back, the ball will only move when the cursor moves, despite the browser having pointer focus. It's a step in the right direction, though.

Edit: the ball fails to move on Firefox, but moves on Chrome. I guess this means the behavior I implemented is probably correct

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