SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.92k stars 95 forks source link

Alt menu opening when switching language with Alt + Shift #538

Open JaanDev opened 5 months ago

JaanDev commented 5 months ago

Acknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

v30.0.1

Application version

WebCord v4.9.1, stable build

Bug description

When i press Alt+Shift (exactly in this order) to switch language while typing, it gives focus the Alt menu on the top of the window (like if i only pressed Alt) and i have to press Esc to continue writing a message which is pretty annoying. However, if i press Shift+Alt (in this order), it doesnt happen. Enabling "Hide menu panel automatically" in webcord settings doesnt help. Thanks!

Additional context

Running the window in native Xorg.

SpacingBat3 commented 4 months ago

This kinda works as expected. I have no control over how menu is called from what I know, and WebCord doesn't configure this, if any API in Electron was or will be introduced for that... I guess auto menu hide is also not supposed to prevent you from both interacting with menu, especially with Alt key being registered by Electron to actually un-hide it when needed. So unless I'll find that Electron actually offers some API for it, I can't help that much with fixing it for the moment...

JaanDev commented 4 months ago

Ok, thanks anyway