-
Notifications
You must be signed in to change notification settings - Fork 621
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
[BUG] Window Switch from Alt+Tab
#1867
Comments
Curious, this was posted two week ago #1862
nevermind I managed to reproduce it, it goes wrong sometimes. |
People on #1862 are using the timeout delay. It still doesn't work for me all the time, when it does it creates an massive delay which isn't really an option when it comes to ergonomics. Using xdotool also seems to be too hacky of a solution that just avoids the underlying problem. |
Also I'm testing this on openbox btw. |
If I read your config and command line right, you do not specify the Probably my fault it never got explicit in #38 or in the doc, but patches for that are appreciated 🙂 |
For me the -steal-focus does not completely fix it.. it works most of the time but not always. (that i was initially fooled thinking it worked). |
Nope. |
Could you try changing If I press Alt-Tab and release immediately I guess I can reproduce, but it’s not exactly usable anyway since I don’t even see where I’m going |
Tried it. Doesn't work on my system. Pressing Alt+Tab and releasing immediately is a valid use case. You might only have two windows active so you already know what it's going to select. |
FYI: @nick87720z pointed out, its |
Rofi version (rofi -v)
Version: 1.7.5
Configuration
https://gist.github.com/cab-1729/f7a1c6e56142acc3cb53e21ba77af191
Theme
https://gist.github.com/cab-1729/9ebe8379ca5f7149a4717c3361794bad
Timing report
No response
Launch command
[ ! -f /tmp/window_switch ] && rofi -show windowcd -kb-accept-entry '![64],!Alt+Tab,!Alt+Alt_L' -kb-element-next 'Alt+Tab' -kb-element-prev 'Alt+ISO_Left_Tab' -kb-cancel 'Alt+Escape,Escape' -selected-row 1 -theme-str 'mainbox {children:[listview];}' -no-fixed-num-lines -pid /tmp/window_switch -no-grab-lazy && rm /tmp/window_switch
Step to reproduce
Expected behavior
Window focus switches to different window.
Actual behavior
Rofi does not close on the release of Alt and the entry is not accepted
Additional information
This exact same issue was the topic of now closed #38 which says it has been resolved.
The same behavior is observed as mention in the above issue.
The issue is resolved only if
Alt+Tab
is pressed more than once. However when pressed only once it shows the same behavior. The release of the Alt key is not detected.Using wayland display server protocol
I've checked if the issue exists in the latest stable release
The text was updated successfully, but these errors were encountered: