discord icon indicating copy to clipboard operation
discord copied to clipboard

[Bug]: Tray icon disappeared on Xubuntu 20.04 with latest update

Open mazerty opened this issue 2 years ago • 3 comments

What happened?

I'm on Xubuntu 20.04 and this morning I refreshed the snap. Immediately after that, when I launched Discord, I noticed that the tray icon is now missing, even though Discord is running. It doesn't appear after exiting/restarting, or rebooting.

What should have happened?

The tray icon should appear as usual.

Output of 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
refresh-date: today at 04:49 CEST
channels:
  latest/stable:    0.0.20 2022-09-23 (143) 85MB -
  latest/candidate: ↑                            
  latest/beta:      ↑                            
  latest/edge:      0.0.20 2022-09-23 (143) 85MB -
installed:          0.0.20            (143) 85MB -

Output of 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    2.57.1
snapd   2.57.1
series  16
ubuntu  20.04
kernel  5.15.0-48-generic

Relevant log output

No response

Teminal output of app

Discord 0.0.20
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: disabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/ubuntu/snap/discord/143/.config/discord/0.0.20/modules
[Modules] Module installed file path: /home/ubuntu/snap/discord/143/.config/discord/0.0.20/modules/installed.json
[Modules] Module download path: /home/ubuntu/snap/discord/143/.config/discord/0.0.20/modules/pending
[Modules] No updates to install
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.
Optional module ./ElectronTestRpc was not included.

(Discord:7606): IBUS-WARNING **: 05:39:22.248: Failed to mkdir /home/ubuntu/snap/discord/143/.config/ibus/bus: Not a directory
WEIGHT /home/ubuntu/snap/discord/143/.config/discord/0.0.20/modules/discord_krisp/NC_small_8k.thw
WEIGHT /home/ubuntu/snap/discord/143/.config/discord/0.0.20/modules/discord_krisp/NC_small_16k.thw
WEIGHT /home/ubuntu/snap/discord/143/.config/discord/0.0.20/modules/discord_krisp/c6.s.f.27f1a3.thw
WEIGHT /home/ubuntu/snap/discord/143/.config/discord/0.0.20/modules/discord_krisp/VAD_weight.thw
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.

mazerty avatar Sep 24 '22 03:09 mazerty

Same issue on Zorin Os. Very frustrating. Cannot easily kill Discord now.

FxllenCode avatar Sep 26 '22 21:09 FxllenCode

Nearly similar here on Manjaro Linux (KDE)... it doesn't disappear completely, but is shown as broken-icon from KDE. I assume the reason is the same, only that KDE show an "not-found-icon" and maybe xubuntu didn't have that fallback.

If I kill discord, and start it again, the icon appear as expected. image

xstable avatar Nov 08 '22 08:11 xstable

I confirm the bug. I am using i3 and there is a "space" in system tray bar, I can interact with it, it opens the discord menu but the discord icon is missing. It's like a blank icon.

fedxyz avatar Dec 02 '22 12:12 fedxyz

Is this issue still present in the latest version?

merlijn-sebrechts avatar Dec 02 '23 20:12 merlijn-sebrechts

Hi @merlijn-sebrechts , it seems fixed for me.

Still testing on i3, the tray icon is present in system tray.

fedxyz avatar Dec 02 '23 23:12 fedxyz

Great, thank you so much! Closing this issue then.

merlijn-sebrechts avatar Dec 02 '23 23:12 merlijn-sebrechts