SpacingBat3 / WebCord

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

Alt key toggling the menubar #389

Closed xpander69 closed 1 year ago

xpander69 commented 1 year ago

Is your feature request related to a problem? Please describe. Webcord menubar gets toggled on and off with the alt key.

I use alt+f6 to toggle window visible to all workspaces or off, which seems to always activate the menubar when webcord is the active window. Same happens with my other shortcut, ctrl+alt+z, which is keybinded to toggle borders on and off for me

Alt+tab or alt+f1 are not affected

Other Desktop applications like caja filebrowser, mate-terminal and my vivaldi browser seems to not behave this way I can unbind the menubar key and just right click and toggle it on or off

Describe the solution you'd like Let us completely disable the menubar maybe? Or have it pop up with different key if its possible somehow. Or have menubar as an option to toggle with right click context menu (thats probably not possible though)

Sorry if this has been reported already, couldn't find with search

SpacingBat3 commented 1 year ago

Upstream issue, there's no way to change it to anything else AFAIK. I could disable the menu bar, but in WebCord is is still important to be accessible, I avoid injecting stuff into Discord webpage and BrowserView API aren't stable yet according to Electron docs (if I would want to make something that looks like as part of Discord webpage but in reality it isn't).

However I might try to move to BrowserView API (it could offer stuff like loading multiple pages for quick switching between Discord and Fosscord) once I'll have enough time to work with refactor or anything, right now I might more work on modularizing the code, trying to remove as much stuff from WebCord that could be outside of its scope and publish that as a separate modules (like l10n.ts or package.ts).

tristann21 commented 8 months ago

getting the same issue on Linux Mint using the flatpak version of Webcord. The menu bar just refuses to show up and thus I cannot enable microphone permissions.

or sorry if its not the same exact issue, I'm not really sure if I should make a new issue or not