-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
After update, every pressing 'alt' key opens the top menu #4345
Comments
Can't replicate on Riot Desktop 0.11.3 @ Debian Stretch |
can't replicate here either |
nor here |
I experience this HIGHLY annoying bug on Riot 0.11.4 on Ubuntu 17.04. |
Can you provide more than your Base distribution as information. The more the better considering we cannot reproduce it, I tried on kde neon 17.04 |
I'm using XFCE4. What kind of information do you need? |
Still not reproducible on Riot Desktop 0.11.4 on Debian Buster with GNOME Shell 3.22.3. |
Yes, I use Alt+Shift to switch keyboard layout. |
What method are you using to make Alt+Shift switch the keyboard? My guess is that something eats the Shift key, so Electron only sees "Alt down, Alt up", instead of "Alt down, Shift down, Alt up", and so the menu gets triggered. |
What do you mean? It's default for xfce4 I guess. |
OK, setting "Alt-Shift" as the "Change layout option" in |
Same problem on Ubuntu Linux and KDE with Riot-web Desktop app: Alt+Shift changes keyboard layout, but in Riot it also activate menu, so users must manually return focus to message area for continue typing. |
@ara4n from which version does this issue active? If I downgrade version - Alt will works normally? |
@t3chguy do you happen to know how to stop electron from intercepting |
only thing I can think of is to capture it ourselves, and preventDefault if it is pressed with shift, can't do it without my hands on a system that does this though, I'll try it in a VM again |
FTR, it's not just Alt-Shift. It also happens if you have XFCE4 set to use other combinations for switching keyboards, such as Alt-Ctrl, Alt-CapsLock, and Alt-Space. |
Confirm that this problem exists with Alt-Ctrl, Alt-CapsLock, and Alt-Space on KDE4 too. But if I change hotkey form Alt+Shift to Alt+Ctrl - Alt+Shift combination goes to work normally (without activating menu). But when I press Shift+Alt (shift is first) - all works normally. So bug happens only when we press combination for change keyboard language/layout. Seems the problem is with changing focus to some language switch process with Alt stay pressed in our app. |
I have found same issues here: RocketChat/Rocket.Chat.Electron#50 |
And seems here is solution: https://github.com/saenzramiro/rambox/issues/120#issuecomment-244884398
|
Fix activating menu when changing keyboard language / layout via Alt-Shift, Alt-Ctrl, Alt-CapsLock, and Alt-Space
I have found another file and those changes fix this issue, so I provide pull request: #4623 |
Patch fixes issue only partly. Menu no longer opens, but toggles its visibility if I:
Update: It is related to my Xorg update to 1.19.3 and the fact that the patch against 865 is no longer included with newer Xorg, so hotkeys are broken in a few ways.(updated by Michael to emphasise the update) |
Same issue when I press alt+shift. Kubuntu 16.04, plasmashell 5.8 |
Weird, I could not reproduce on my KDE Neon installation |
@nekomiko - can't reproduce this on KDE, seems this is your local issue. Now menu opens only when I press |
Fix menu on change keyboard language issue #4345
Says user on rageshake 198 on Riot Desktop 0.10.1 on Linux
The text was updated successfully, but these errors were encountered: