Thumb mouse button on Linux registers twice.
Pressing the thumb button on the mouse should go back 1 step in history, but instead it goes 2 steps, 1 on press of the button and 1 on release. Please fix it, or tell us where it's hardcoded so we fix it ourselves, thanks.
-
Still an issue 8 months later.
0 -
I found a workaround. The back function triggers twice, once for down, again for up. If you know this, you can "cancel" the mouse up event by holding the thumb button down, then clicking outside of the discord window (i.e. on the desktop) before you release the button.
One more thing I noticed is that it only triggers once if you have the inspector/devtools open (Ctrl+Shift+I), docked, and have the mouse hovered over it while pressing a thumb button.
0 -
This is caused by https://github.com/electron/electron/issues/18322 and can be worked around by a patch similar to https://github.com/minbrowser/min/commit/4a0c243664c66022187cf7181e9c799e6ed73437 in discord which only adds an app-command listener on linux.
For my personal use, I am using this patch to prevent discord registering an app-command listener which resolves the issue:
0 -
How do you apply this patch?
And do you know if you can apply it to other Electron-based programs?
0 -
Actually silly that the fix is so simple and not implemented
0
Please sign in to leave a comment.
Comments
5 comments