element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

if you press alt, the top menu appears.

Open Kommynct opened this issue 7 years ago • 7 comments

The menu on the top (with file, edit, view, etc) opens when you release alt on the client, this is problematic for tiling window managers, where you press alt and then a number to switch workspaces.

when you release it on riot, it opens the menu, and its quite annoying.

  • Platform: Desktop
  • OS: Arch Linux
  • Version: 0.14.1

Kommynct avatar Apr 30 '18 18:04 Kommynct

Related https://github.com/vector-im/riot-web/issues/3871

t3chguy avatar Jun 12 '20 22:06 t3chguy

Still experience this bug on latest Element-desktop on stock Ubuntu 22.04/Gnome 42

PS Seriously, this is mind-blowing. ugh.

j1warren avatar Nov 09 '22 15:11 j1warren

Is there no plan to fix/update this? It'd be great to have the ability to disable this behaviour where pressing Alt would cause the app's menu bar to appear. This makes it annoying to, for example, Alt + Backspace your text input in the app.

Issues mentioning this seems to bring up that this is an Electron issue or behaviour, but I don't necessarily experience it in other Electron-based apps like Discord or Spotify. That being said, it's not that uncommon to find apps that allow disabling the Alt menu, i.e. Mozilla apps like Firefox or Thunderbird - which is what I'm hoping from the Element desktop app.

irfanhakim-as avatar Feb 14 '25 09:02 irfanhakim-as

Contributions welcome, but keep in mind that any solution which means disabling the menu bar would be insufficient as that would mean removing functionality. Maybe it could be such that Alt is ignored if you have Always show menu bar enabled.

t3chguy avatar Feb 17 '25 09:02 t3chguy

Making the keyboard shortcut alt+m is a common solution

Kommynct avatar Feb 17 '25 10:02 Kommynct

I don't see any real usage of it for 99.99% of users.

If you can't find any good solution - just make an ini file inside app folder that contains option true/false to completely remove this app menu bar. It will take only 1-2 hours to implement while drinking coffe (read file, parse options, if option set - call 1 method on electron side = done) :/

At least it will give an option for advanced users to fix this issue on their side.

Gredys avatar Jun 24 '25 13:06 Gredys

It will take only 1-2 hours to implement while drinking coffe (read file, parse options, if option set - call 1 method on electron side = done) :/

Contributions welcome, looks like you might need to fix https://github.com/electron/electron/issues/34211 first, workarounds which outright remove the menu would not be accepted

t3chguy avatar Jun 24 '25 14:06 t3chguy