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

Firefox causes keyboard focus to break #3421

Closed
rytec-nl opened this issue Sep 25, 2023 · 3 comments
Closed

Firefox causes keyboard focus to break #3421

rytec-nl opened this issue Sep 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@rytec-nl
Copy link
Contributor

Hyprland Version

3b65725

Bug or Regression?

Bug

Description

Seemingly at random using Firefox (and clicking?) causes the keyboard focus to disappear. I can no longer use the keyboard in any window, until I click in another window to move the focus.

Mouse focus keeps working, so without clicking I can move the mouse to any window and mouse focus moves with it, e.g. scroll is working. I have follow_mouse set to 1.

When using socat to view the output from .socket2.sock it outputs the activewindow events when moving the mouse over windows. When the keyboard focus is lost these events also stop.

Please let me know what info is needed for debugging or ask for any other information. Thanks is advance :)

How to reproduce

Open multiple windows side by side, including Firefox. Use Firefox for a bit, switch tabs, click around. After a short amount of time when moving the mouse over other windows the keyboard focus no longer updates.

Crash reports, logs, images, videos

No response

@rytec-nl rytec-nl added the bug Something isn't working label Sep 25, 2023
@vaxerski
Copy link
Member

never seen this happen. What does socket2 print when that happens?

@rytec-nl
Copy link
Contributor Author

rytec-nl commented Sep 25, 2023

nothing at all :( the activewindow events that are normally there stop, and there are no other events or output generated at that moment. I did just notice that switching workspaces back and forth also restores normal behavior.

In addition: apparently its not only Firefox, Steam causes the same behavior

@rytec-nl
Copy link
Contributor Author

I figured out that killing my eww bar makes the problem go away. Looking at eww there is this issue.

Im not quite sure why it started happening after updating Hyprland (I have not updated my eww config in a while and the issue exists since dec 2022), or why it only happens in some windows but it seems to be an eww problem, not a Hyprland problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants