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
Not work for some windows under wayland #21
Comments
Thanks for reporting the issue! It seems that some users reported similar issue before. The main logic of the extension is: press hotkey -> create an overlay -> detect scroll event from this overlay -> change transparency based on scroll event. Are you able to see the log such as |
For the windows that work, yes there're such logs.
But for those not work, just nothing. No any log appears after I press alt. |
The hotkey logic is defined in a per-display way:
I'm not sure whether it is possible that wayland uses different displays for different windows. Could you list all window types that don't work? This may give us some hint. |
Not work: gnome-terminal, Files, Settings(and all system setting windows, such as Extensions and Tweaks), gedit. It seems only work on applications that are somehow third part, like Firefox, Chrome, VLC. As there's no any log when I just press alt, I think this problem may not related to application's shortcut key. |
for the gnome-terminal window, do you select/focus that window and hotkey doesn't work? how about try this: select a chrome window, press hotkey, then move cursor to hover on gnome-terminal window, then scroll and see if it changes opacity. |
Yes, this works. Terminal's opacity is changed. Amazing! |
Awesome! But still this is strange..guess gnome-terminal somewhat capture the hotkey event such that it can not be received. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 15 days since being marked as stale. |
System information
Describe the problem
It works fine when using Xorg(with
WaylandEnable=false
), but when using Wayland, some windows work, some not.For example, Chrome works, gnome-terminal not.
Source code / logs
No any debug log when trying to scroll on windows that do not work, and normal logs for those work fine.
The text was updated successfully, but these errors were encountered: