discord
discord copied to clipboard
[Bug]: wayland discord doesn't maximize on F11
What happened?
With the snap installed from the stable/wayland channel (on 23.04), I cannot maximize or fullscreen the window with F11. Instead, nothing happens at all.
What should have happened?
F11 should have maximized the window
Output of snap info discord
$ snap info discord
name: discord
summary: All-in-one voice and text chat for gamers
publisher: Snapcrafters
store-url: https://snapcraft.io/discord
contact: https://github.com/snapcrafters/discord/issues
license: unset
description: |
All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and
phone.
Snaps are confined, as such Discord may be unable to perform some of the tasks it typically does
when unconfined. This may result in the system log getting spammed with apparmor errors. Granting
access to the system-observe interface when in the snap will enable the features, and thus reduce
the logging.
snap connect discord:system-observe
This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
officially maintained by the upstream developers.
commands:
- discord
snap-id: qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking: latest/stable/wayland
refresh-date: today at 22:48 CEST
channels:
latest/stable: 0.0.26 2023-04-04 (151) 102MB -
latest/candidate: ↑
latest/beta: ↑
latest/edge: 0.0.26 2023-04-04 (151) 102MB -
installed: 0.0.26 (152) 102MB -
Output of snap connections discord
$ snap connections discord
Interface Plug Slot Notes
audio-playback discord:audio-playback :audio-playback -
audio-record discord:audio-record :audio-record -
camera discord:camera :camera -
content[gnome-42-2204] discord:gnome-42-2204 gnome-42-2204:gnome-42-2204 -
content[gtk-3-themes] discord:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] discord:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] discord:sound-themes gtk-common-themes:sound-themes -
desktop discord:desktop :desktop -
desktop-legacy discord:desktop-legacy :desktop-legacy -
gsettings discord:gsettings :gsettings -
home discord:home :home -
mount-observe discord:mount-observe - -
network discord:network :network -
network-observe discord:network-observe - -
opengl discord:opengl :opengl -
process-control discord:process-control - -
removable-media discord:removable-media - -
screen-inhibit-control discord:screen-inhibit-control :screen-inhibit-control -
shared-memory discord:shmem :shared-memory -
system-observe discord:system-observe - -
unity7 discord:unity7 :unity7 -
wayland discord:wayland :wayland -
x11 discord:x11 :x11 -
Output of snap version
$ snap version
snap 2.59.1+23.04ubuntu1
snapd 2.59.1+23.04ubuntu1
series 16
ubuntu 23.04
kernel 6.2.0-20-generic
Relevant log output
No response
Teminal output of app
$ snap run discord
Discord 0.0.26
[13806:0426/225321.814127:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 13940: Permission denied (13)
Starting app.
Starting updater.
2023-04-26T20:53:21.824Z [Modules] Modules initializing
2023-04-26T20:53:21.825Z [Modules] Distribution: remote
2023-04-26T20:53:21.825Z [Modules] Host updates: disabled
2023-04-26T20:53:21.825Z [Modules] Module updates: enabled
2023-04-26T20:53:21.825Z [Modules] Module install path: /home/heather/snap/discord/152/.config/discord/0.0.26/modules
2023-04-26T20:53:21.825Z [Modules] Module installed file path: /home/heather/snap/discord/152/.config/discord/0.0.26/modules/installed.json
2023-04-26T20:53:21.826Z [Modules] Module download path: /home/heather/snap/discord/152/.config/discord/0.0.26/modules/pending
[13940:0426/225321.877226:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is egl, ANGLE is
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
2023-04-26T20:53:21.986Z [Modules] No updates to install
2023-04-26T20:53:21.987Z [Modules] Host is up to date.
2023-04-26T20:53:21.988Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
2023-04-26T20:53:22.035Z [Modules] No module updates available.
Optional module ./ElectronTestRpc was not included.
[13806:0426/225322.106663:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.214" (uid=1000 pid=13806 comm="/snap/discord/152/usr/share/discord/Discord --use-" label="snap.discord.discord (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1310 comm="/lib/systemd/systemd-logind" label="unconfined")
[13806:0426/225323.040075:ERROR:object_proxy.cc(623)] Failed to call method: org.gnome.Mutter.IdleMonitor.AddIdleWatch: object_path= /org/gnome/Mutter/IdleMonitor/Core: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.315" (uid=1000 pid=13806 comm="/snap/discord/152/usr/share/discord/Discord --use-" label="snap.discord.discord (enforce)") interface="org.gnome.Mutter.IdleMonitor" member="AddIdleWatch" error name="(unset)" requested_reply="0" destination="org.gnome.Mutter.IdleMonitor" (uid=1000 pid=2758 comm="/usr/bin/gnome-shell" label="unconfined")
WEIGHT /home/heather/snap/discord/152/.config/discord/0.0.26/modules/discord_krisp/NC_small_8k.thw
WEIGHT /home/heather/snap/discord/152/.config/discord/0.0.26/modules/discord_krisp/NC_small_16k.thw
WEIGHT /home/heather/snap/discord/152/.config/discord/0.0.26/modules/discord_krisp/c6.f.s.ced125.thw
WEIGHT /home/heather/snap/discord/152/.config/discord/0.0.26/modules/discord_krisp/VAD_weight.thw
2023-04-26T20:53:24.205Z [Modules] Host is up to date.
2023-04-26T20:53:24.205Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
2023-04-26T20:53:24.208Z [Modules] No module updates available.
When I hit F11, there are no additional logs printed to the stdout
I have reproduced this, but F11 also doesn't do anything without wayland. @hellsworth, can you please confirm this behavior matches for you on stable as well?
Yes I confirm that the discord on the stable channel, F11 doesn't do anything either.
Heya!
Is this issue still present in the latest version of Discord? As I understand it, Wayland support has now been merged into the main version.