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

Launcher makes screen unusable #12

Closed
A31Nesta opened this issue Dec 3, 2023 · 4 comments
Closed

Launcher makes screen unusable #12

A31Nesta opened this issue Dec 3, 2023 · 4 comments

Comments

@A31Nesta
Copy link
Contributor

A31Nesta commented Dec 3, 2023

The launcher has a feature that makes anything other than the launcher unable to detect the mouse (for example, the hover effects on the taskbar don't work or the windows don't get focused).

This is completely fine, the problem is that sometimes it does that even if the launcher is closed, resulting in a completely unusable screen. You can't click, focus windows, type, or do practically anything other than the hyprland shortcuts (you can open a terminal with Super+Q but you can't actually type in it). Stopping and starting EWW doesn't fix this and the only way to get out of the frozen state is by logging out and in again.

You can trigger this bug by opening and closing the launcher a bunch of times (I usually use the shortcut), it appears to be somewhat random but it will happen.

It shouldn't matter but I'm on EndeavourOS and using AMD integrated graphics.

@A31Nesta
Copy link
Contributor Author

A31Nesta commented Dec 5, 2023

It turns out that the :focusable true property in windows.yuck line 31 is what is causing this issue. It's not a problem with this configuration, it's an issue with eww (issue #651).

As a workaround I've set the focusable property to false.

Edit: I suspect that there's something wrong with the launcher though but I'm investigating it: the launcher lags when I open it and sometimes running eww kill doesn't close some things like the taskbar

@A31Nesta
Copy link
Contributor Author

A31Nesta commented Dec 5, 2023

image
now that I have focusable set to false and I can use the computer after the launcher breaks I've discovered that it turns out that opening and closing it repeatedly causes another eww process to start, I don't know why though.

@A31Nesta
Copy link
Contributor Author

A31Nesta commented Dec 5, 2023

Ok, so after testing several things, I can't find what is creating the eww processes, but running ~/.config/eww/scripts/start.sh temporarily fixes the original problem.

In the end I've set the focusable property back to true (setting it to false made the search bar unusable) and I've set a shortcut to Super+R to reload eww (runs start.sh), this way I can reload eww as many times as I need.

@A31Nesta
Copy link
Contributor Author

forgot to close this, the version of the dotfiles where I had this issue is very old. The current one doesn't even use eww

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

1 participant