-
Notifications
You must be signed in to change notification settings - Fork 5
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
Broken window decoration menu on GNOME #207
Comments
I'm using this package with GNOME Wayland right now and see no problems with window decorations: Startup script should enable wayland window decorations if wayland socket exists: https://github.com/flathub/com.discordapp.DiscordCanary/blob/beta/discord-canary.sh#L14 Can you provide more details about your issue? |
The problem is that if you try and right click on your window decorations, a menu will not pop up, this is because https://wayland.app/protocols/xdg-shell#xdg_toplevel:request:show_window_menu is unimplemented in Chromium. If you switch back to X11 and right click on window decorations you'll see a menu pop up. There's a couple other misc issues that I've detailed below but the window decoration one is the most prominent: flathub/com.slack.Slack#183 (comment) |
🤔 OK, I got you.
But (as you can see in my screenshot) most of the necessary window action buttons (minimize, maximize, and close) are present in Discord, so the lack of a menu isn't such a big problem. Disabling wayland socket will bring back xwayland issues, particularly with the nvidia proprietary driver. |
Critical is subjective since I personally don't even use the menu (I just use the CTRL + Q hotkey to quit) but IMO there be zero regressions when switching from X11 to Wayland, and currently this is a regression. Until there are no regressions for the end user (which shouldn't even get determined by Flathub maintainers, Discord should get the final say on that) it should continue to be a user opt in. Discord Canary is a beta channel of Discord where users test stuff early and report it to Discord. Discord has not enabled Wayland by default in their app, so bug reports resulting from it would be misleading/spam.
I mean, Flathub maintainers really shouldn't be choosing sides on app behavior. This is an app distribution platform. If it happens on the official .deb it should happen here too. FYI the explicit sync protocol was just merged for Wayland: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/90 and NVIDIA is looking to implement it, so that will resolve the text issues for Discord w/NVIDIA on Wayland. |
Sounds reasonable. |
Remove wayland socket permission, fixes #207
Forcing Wayland has broken window decoration menus for every GNOME user, please revert. This is because Chromium does not implement it.
The text was updated successfully, but these errors were encountered: