-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
unable to type in applications with snap-assist enabled #3
Comments
Thanks for your report. For this you'd need to:
This is actually the intended behavior :) When you only have one window open, assist will not show up because there's no other window to suggest. |
Just tried the dev branch, and I'm having the same issue. unable to type until snap-assist has been activated and dismissed |
Did you tried re-login in Plasma after installing the dev branch version? Disabling/enabling the script in system settings? It is normal for the script to absorb keyboard events while it's visible on screen (to make arrow key selection work), but it should not do it while assist is not on the screen (closed with cross button, for example) |
Same issue here. Also Arch+Wayland combo.
|
I read about this a bit more and it seems Wayland doesn't have support for |
Interesting, so are Wayland users basically out of luck for the time being? |
Underlying mechanics of the script is that it always keeps it's window open, just off-screen, empty and minimized when not needed. My suggestion would be, that under some circumstances it continues to steal keyboard focus and events while being off-screen and inactive. I say "some", because I still didn't manage to reliably reproduce it in my Wayland session. |
In the dev branch I commented out a few lines which could in theory mess up with keyboard focus, but if you can confirm that this fix is not working, we need to look somewhere else. The fact that you were able to see the empty assist window right after boot could give a hint, as this is unintended behavior as well. |
I just installed from dev, re-logging in after installing and I am still having the issue right as soon as I log in. |
Issue still persist for me as well. It just seems to eat all inputs, until I quick tile a window and it appears normally. |
It is my understanding that it is not possible. Wayland by design does not let applications listen to events or keystrokes when the window is not focused, grab focus of the desktop or any other "intrusive" operation. The only way is to find a workaround to having a window that records the user events (maybe using xdg portals?) |
Could you perhaps try to get the input through KWin? |
I think I managed to find a fix for this issue — please test the latest dev branch code. The downside is, it now shows window's show-up animation on appear (scale up in my case). |
just tried the latest dev version and it looks like it's working! Its a little difficult to see which layout you are selecting, but that may just be me. Thanks for getting this working with wayland so qucikly! |
It works! 🎉 |
Well, it's too soon to celebrate! Turns out on X11 session this fix causes the assist window to be completely black and empty on any second appear |
I think I just managed to fix it in dev branch by removing a line, and now keyboard issue in Wayland should not happen, as well as "black window bug" in X11. Would be glad if somebody could test! |
Thank you dev, appreciate the work 😁 |
Cant test X11 but seems to work for me. Thanks for the quick response, this script adds a lot to usability. May wanna try pitching it as a built in KDE feature perhaps? ;) |
Please feel free to reopen if the issue will happen again! |
No need to, it's already being pitched for quite a while :) |
just tested the dev instance and it looks like it's working! Thank you so much! |
Hi, first very cool program. I am getting an odd error. when I first login if I open a single app (eg kate) I cannot type into it. If I start a second program (eg dolphin) and activate snap-assist with meta-uparrow being able to type into applications is restored. Note I have to have more than one program running otherswise meta-uparrow does not activate snap-assist.
Disabling snap-assist also restores functionality.
Happy to provide what ever logs might be helpful
OS Arch
plasma 5.25.4
display server = wayland
The text was updated successfully, but these errors were encountered: