Skip to content
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

[Bug]: trayicon on arm64 with 6.38.0 broken #195

Open
tobhe opened this issue Nov 14, 2023 · 18 comments
Open

[Bug]: trayicon on arm64 with 6.38.0 broken #195

tobhe opened this issue Nov 14, 2023 · 18 comments
Labels
bug Something isn't working

Comments

@tobhe
Copy link

tobhe commented Nov 14, 2023

What happened?

With the newest candidate arm64 finally works, unfortunately the tray icon seems to not work correctly yet.
Instead of the signal icon it show only a yellow dot.

Screenshot from 2023-11-14 21-12-19

What should have happened?

I expected the regular signal icon in the tray bar.

Output of snap info $snap_name

name:      signal-desktop
summary:   Speak Freely - Private Messenger
publisher: Snapcrafters✪
store-url: https://snapcraft.io/signal-desktop
contact:   https://github.com//snapcrafters/signal-desktop/issues
license:   AGPL-3.0-only
description: |
  **Note: To use the Signal desktop app, you must first install Signal on your
  phone.**
  
  Millions of people use Signal every day for free and instantaneous communication
  anywhere in the world. Send and receive high-fidelity messages, participate in HD
  voice/video calls, and explore a growing set of new features that help you stay
  connected. Signal's advanced privacy-preserving technology is always enabled, so
  you can focus on sharing the moments that matter with the people who matter to you.
  
  - Say anything - State-of-the-art end-to-end encryption (powered by the open source
  Signal Protocol™) keeps your conversations secure. Privacy isn't an optional mode;
  it's just the way that Signal works. Every message, every call, every time.
  - Go fast - Messages are delivered quickly and reliably, even on slow networks.
  Signal is optimized to operate in the most constrained environment possible.
  - Feel free - Signal is a completely independent 501c3 nonprofit. Development is
  supported by users like you. No advertisements. No trackers. No kidding.
  - Be yourself - You can use your existing phone number and address book to securely
  communicate with your friends.
  - Speak up - Whether they live across town or across the ocean, Signal's enhanced
  audio and video quality will make your friends and family feel closer.
  - Whisper in the shadows - Switch to the dark theme if you refuse to see the light.
  
  **Are you having issues?**
  
  Let us know by creating a new issue here:
  https://github.com/snapcrafters/signal-desktop/issues
  
  **Authors**
  
  This snap is maintained by the Snapcrafters community, and is not necessarily
  endorsed or officially maintained by the upstream developers.
commands:
  - signal-desktop
snap-id:      r4LxMVp7zWramXsJQAKdamxy6TAWlaDD
tracking:     latest/candidate
refresh-date: yesterday at 16:27 CET
channels:
  latest/stable:    6.38.0 2023-11-13 (538) 179MB -
  latest/candidate: 6.38.0 2023-11-14 (550) 179MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          6.38.0            (538) 179MB -

Output of snap connections $snap_name

Interface               Plug                                   Slot                            Notes
audio-playback          signal-desktop:audio-playback          :audio-playback                 -
audio-record            signal-desktop:audio-record            :audio-record                   -
browser-support         signal-desktop:browser-support         :browser-support                -
camera                  signal-desktop:camera                  :camera                         -
content[gnome-42-2204]  signal-desktop:gnome-42-2204           gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]   signal-desktop:gtk-3-themes            gtk-common-themes:gtk-3-themes  -
content[icon-themes]    signal-desktop:icon-themes             gtk-common-themes:icon-themes   -
content[sound-themes]   signal-desktop:sound-themes            gtk-common-themes:sound-themes  -
desktop                 signal-desktop:desktop                 :desktop                        -
desktop-legacy          signal-desktop:desktop-legacy          :desktop-legacy                 -
gsettings               signal-desktop:gsettings               :gsettings                      -
home                    signal-desktop:home                    :home                           -
network                 signal-desktop:network                 :network                        -
opengl                  signal-desktop:opengl                  :opengl                         -
removable-media         signal-desktop:removable-media         -                               -
screen-inhibit-control  signal-desktop:screen-inhibit-control  :screen-inhibit-control         -
unity7                  signal-desktop:unity7                  :unity7                         -
wayland                 signal-desktop:wayland                 :wayland                        -
x11                     signal-desktop:x11                     :x11                            -

Output of snap version

user@ubuntu:~$ snap version
snap    2.60.4+23.10.1
snapd   2.60.4+23.10.1
series  16
ubuntu  23.10
kernel  6.5.0-1011-apple-arm

Relevant log output

Nov 14 21:16:59 ubuntu kernel: audit: type=1107 audit(1699993019.121:517): pid=966 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=30672 label="snap.signal-desktop.signal-desktop" peer_pid=965 peer_label="unconfined"
                                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Nov 14 21:16:59 ubuntu kernel: audit: type=1400 audit(1699993019.133:518): apparmor="DENIED" operation="open" class="file" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=30786 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 14 21:16:59 ubuntu kernel: audit: type=1400 audit(1699993019.133:519): apparmor="DENIED" operation="open" class="file" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=30786 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 14 21:16:59 ubuntu kernel: audit: type=1400 audit(1699993019.133:520): apparmor="DENIED" operation="open" class="file" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/explicit_layer.d/" pid=30786 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 14 21:16:59 ubuntu kernel: audit: type=1400 audit(1699993019.133:521): apparmor="DENIED" operation="open" class="file" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/icd.d/" pid=30786 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 14 21:16:59 ubuntu kernel: audit: type=1400 audit(1699993019.133:522): apparmor="DENIED" operation="open" class="file" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=30786 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 14 21:16:59 ubuntu kernel: audit: type=1400 audit(1699993019.133:523): apparmor="DENIED" operation="open" class="file" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=30786 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 14 21:16:59 ubuntu kernel: audit: type=1400 audit(1699993019.133:524): apparmor="DENIED" operation="open" class="file" profile="snap.signal-desktop.signal-desktop" name="/etc/vulkan/implicit_layer.d/" pid=30786 comm="signal-desktop" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30672]: [30672:1114/211659.191451:ERROR:object_proxy.cc(590)] 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.381" (uid=1000 pid=30672 comm="/snap/signal-desktop/538/opt/Signal/signal-desktop" label="snap.signal-desktop.signal-desktop (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1008 comm="/lib/systemd/systemd-logind" label="unconfined")
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193443:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193496:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193520:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193595:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193623:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193681:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193720:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.193750:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194131:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194159:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194179:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194201:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194245:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194271:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194312:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
Nov 14 21:16:59 ubuntu signal-desktop_signal-desktop.desktop[30786]: [30786:1114/211659.194337:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)

Teminal output of app

Set Windows Application User Model ID (AUMID) { AUMID: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /snap/signal-desktop/538/opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/user/snap/signal-desktop/538/.config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/signal-desktop_signal.desktop"
Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/signal-desktop_signal.desktop"
Gtk-Message: 21:19:04.347: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(signal-desktop:30973): Gtk-WARNING **: 21:19:04.382: GTK+ module /snap/signal-desktop/538/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 21:19:04.382: Failed to load module "canberra-gtk-module"

(signal-desktop:30973): Gtk-WARNING **: 21:19:04.382: GTK+ module /snap/signal-desktop/538/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 21:19:04.382: Failed to load module "canberra-gtk-module"
{"level":30,"time":"2023-11-14T20:19:04.424Z","msg":"app.ready: hour cycle preference: UnknownPreference"}
{"level":30,"time":"2023-11-14T20:19:04.425Z","msg":"app.ready: preferred system locales: en"}
{"level":30,"time":"2023-11-14T20:19:04.425Z","msg":"locale: Supported locales: af-ZA, ar, az-AZ, bg-BG, bn-BD, bs-BA, ca, cs, da, de, el, en, es, et-EE, eu, fa-IR, fi, fr, ga-IE, gl-ES, gu-IN, he, hi-IN, hr-HR, hu, id, it, ja, ka-GE, kk-KZ, km-KH, kn-IN, ko, ky-KG, lt-LT, lv-LV, mk-MK, ml-IN, mr-IN, ms, my, nb, nl, pa-IN, pl, pt-BR, pt-PT, ro-RO, ru, sk-SK, sl-SI, sq-AL, sr, sv, sw, ta-IN, te-IN, th, tl-PH, tr, ug, uk-UA, ur, vi, yue, zh-CN, zh-HK, zh-Hant"}
{"level":30,"time":"2023-11-14T20:19:04.425Z","msg":"locale: Preferred locales:  en"}
{"level":30,"time":"2023-11-14T20:19:04.426Z","msg":"locale: Matched locale: en"}
[31092:1114/211904.430628:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.430683:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.430747:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.430782:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.430803:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.430833:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.430855:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.430883:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431215:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431240:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431264:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431282:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431302:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431320:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431350:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[31092:1114/211904.431374:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
{"level":40,"time":"2023-11-14T20:19:04.439Z","msg":"intl.onWarn [@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution"}
{"level":30,"time":"2023-11-14T20:19:04.439Z","msg":"locale: Text info direction for en: ltr"}
{"level":30,"time":"2023-11-14T20:19:04.440Z","msg":"app ready"}
{"level":30,"time":"2023-11-14T20:19:04.441Z","msg":"starting version 6.38.0"}
{"level":30,"time":"2023-11-14T20:19:04.441Z","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2023-11-14T20:19:04.442Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2023-11-14T20:19:04.443Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2023-11-14T20:19:04.443Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2023-11-14T20:19:04.443Z","msg":"getSystemTraySetting saw --use-tray-icon flag. Returning MinimizeToSystemTray"}
{"level":30,"time":"2023-11-14T20:19:04.443Z","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":855,\"height\":832,\"minWidth\":300,\"minHeight\":200,\"autoHideMenuBar\":false,\"titleBarStyle\":\"default\",\"titleBarOverlay\":false,\"backgroundColor\":\"#3a76f0\",\"webPreferences\":{\"devTools\":false,\"spellcheck\":true,\"enableBlinkFeatures\":\"CSSPseudoDir,CSSLogical\",\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"sandbox\":false,\"contextIsolation\":true,\"preload\":\"[REDACTED]/preload.bundle.js\",\"backgroundThrottling\":true,\"enablePreferredSizeMode\":true,\"disableBlinkFeatures\":\"Accelerated2dCanvas,AcceleratedSmallCanvases\"},\"icon\":\"[REDACTED]/images/signal-logo-desktop-linux.png\",\"x\":914,\"y\":87}"}
{"level":30,"time":"2023-11-14T20:19:04.455Z","msg":"spellcheck: user locales: [\"en\"]"}
{"level":30,"time":"2023-11-14T20:19:04.455Z","msg":"spellcheck: available spellchecker languages: [\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"de-DE\",\"el\",\"en\",\"en-AU\",\"en-CA\",\"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es-MX\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"fr-FR\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\"id\",\"it\",\"it-IT\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",\"pt\",\"pt-BR\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\"vi\"]"}
{"level":30,"time":"2023-11-14T20:19:04.455Z","msg":"spellcheck: setting languages to: [\"en\"]"}
{"level":40,"time":"2023-11-14T20:19:04.459Z","msg":"MainSQL: Database log code=283: recovered 224 frames from WAL file [REDACTED]/sql/db.sqlite-wal"}
{"level":30,"time":"2023-11-14T20:19:04.459Z","msg":"MainSQL: updateSchema:\n  Current user_version: 950;\n  Most recent db schema: 960;\n  SQLite version: 3.42.0;\n  SQLCipher version: 4.5.5 community;\n  (deprecated) schema_version: 439;\n"}
{"level":30,"time":"2023-11-14T20:19:04.459Z","msg":"MainSQL: updateToSchemaVersion960: not running, pni is normalized"}
{"level":30,"time":"2023-11-14T20:19:04.459Z","msg":"MainSQL: updateToSchemaVersion960: success!"}
{"level":30,"time":"2023-11-14T20:19:04.459Z","msg":"MainSQL: updateSchema: optimize took 0ms"}
[30973:1114/211904.463017:ERROR:object_proxy.cc(590)] 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.384" (uid=1000 pid=30973 comm="/snap/signal-desktop/538/opt/Signal/signal-desktop" label="snap.signal-desktop.signal-desktop (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1008 comm="/lib/systemd/systemd-logind" label="unconfined")
{"level":30,"time":"2023-11-14T20:19:04.691Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2023-11-14T20:19:05.010Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2023-11-14T20:19:05.014Z","msg":"System tray service: created"}
{"level":30,"time":"2023-11-14T20:19:05.014Z","msg":"System tray service: updating main window. Previously, there was not a window, and now there is"}
{"level":30,"time":"2023-11-14T20:19:05.014Z","msg":"System tray service: rendering no tray"}
{"level":30,"time":"2023-11-14T20:19:05.014Z","msg":"System tray service: enabling"}
{"level":30,"time":"2023-11-14T20:19:05.015Z","msg":"System tray service: rendering the tray"}
{"level":30,"time":"2023-11-14T20:19:05.015Z","msg":"System tray service: creating the tray"}
{"level":30,"time":"2023-11-14T20:19:05.015Z","msg":"Begin ensuring permissions"}
{"level":30,"time":"2023-11-14T20:19:05.016Z","msg":"Ensuring file permissions for 4 files"}
{"level":30,"time":"2023-11-14T20:19:05.018Z","msg":"Finish ensuring permissions in 3ms"}
{"level":30,"time":"2023-11-14T20:19:05.034Z","msg":"main window is ready-to-show"}
{"level":30,"time":"2023-11-14T20:19:05.034Z","msg":"showing main window"}
{"level":30,"time":"2023-11-14T20:19:05.035Z","msg":"System tray service: rendering the tray"}
{"level":30,"time":"2023-11-14T20:19:05.121Z","msg":"Prevent display sleep service: allowing display sleep"}
{"level":30,"time":"2023-11-14T20:19:05.121Z","msg":"Background throttling enabled because no call is active"}
{"level":30,"time":"2023-11-14T20:19:05.547Z","msg":"Updating BrowserWindow config: %s {\"maximized\":false,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":855,\"height\":832,\"x\":849,\"y\":124}"}
{"level":30,"time":"2023-11-14T20:19:05.550Z","msg":"config/set: Saving ephemeral config to disk"}
{"level":30,"time":"2023-11-14T20:19:05.551Z","msg":"config/set: Saved ephemeral config to disk"}
{"level":30,"time":"2023-11-14T20:19:05.758Z","msg":"updater/start: Updates disabled - not starting new version checks"}
{"level":30,"time":"2023-11-14T20:19:05.763Z","msg":"App loaded - time: 1323"}
{"level":30,"time":"2023-11-14T20:19:05.763Z","msg":"SQL init - time: 19"}
{"level":30,"time":"2023-11-14T20:19:05.763Z","msg":"Preload - time: 322"}
{"level":30,"time":"2023-11-14T20:19:05.763Z","msg":"WebSocket connect - time: 522"}
{"level":30,"time":"2023-11-14T20:19:05.763Z","msg":"Processed count: 0"}
{"level":30,"time":"2023-11-14T20:19:05.763Z","msg":"Messages per second: 0"}
@tobhe tobhe added the bug Something isn't working label Nov 14, 2023
@merlijn-sebrechts
Copy link
Member

Tray icon is broken upstream. Not sure if this is that same issue, though.

@popey
Copy link
Contributor

popey commented Nov 14, 2023

Confirmed.
image
Although you'll also note the other broken icon from Telegram which is also a snap.

@popey
Copy link
Contributor

popey commented Nov 14, 2023

Installed another snap - mattermost-desktop - just to see if this was an 'all snaps' problem, and it's not.
image

@popey
Copy link
Contributor

popey commented Nov 15, 2023

Interestingly, the icon is fine on amd64 / KDE / Wayland.
image

@jnsgruk
Copy link
Member

jnsgruk commented Nov 16, 2023

I was just thinking about this, and also #143.

I have found the tray icon to be quite buggy on pretty much all DEs (arm or otherwise), and the fact the Ubuntu's GNOME doesn't show tray icons by default causes confusion such as that in #143. We could just remove the --use-tray-icon from the launcher and just disable it for now?

@merlijn-sebrechts
Copy link
Member

That is what the Flatpak does. Pro: closer to upstream. Con: users REALLY want a systray icon. The issue trackers are full of people complaining about it.

Compromise: create a snap option to toggle it on/of; and turn it off by default?

@popey
Copy link
Contributor

popey commented Nov 16, 2023

It would be nice to figure out why it's yellow, and fix it. Given this affects multiple snaps, I'm sure we can brainstorm to figure it out?

@jnsgruk
Copy link
Member

jnsgruk commented Nov 16, 2023

I like both ideas 😅

I can draft up a PR that adds a snap option for the tray icon (off by default), but I agree it would be interesting to see what's up here.

IIRC @kenvandine has some prior with libayatana etc.?

@jnsgruk
Copy link
Member

jnsgruk commented Nov 17, 2023

See #200 for PR that implements the config item :)

@tim-hm
Copy link

tim-hm commented Nov 17, 2023

I experience the same discolouration with all of tray icons on ubuntu asahi likely an issue upstream?

@kenvandine
Copy link
Contributor

This is unlikely to be a snap related problem as the rendering happens in the shell. Perhaps a test with a deb? Maybe @3v1n0 might have some ideas as well?

@3v1n0
Copy link

3v1n0 commented Nov 20, 2023

Oh... So... It may be due to various aspects of the stack, but very likely to the fact that the app sends to the shell the icon in an unexpected color format.

Recent versions of GNOME Appindicator extension should load the pixbufs natively, while before we did some manual conversion.

Thus, things to test would be:

  1. See if using a different format works there
  2. Try to use a previous appindicator version
  3. Ensure that the provided pixbuf is in ARGB format - if not, fix electron to provide pixbufs in the right format.
    • If the pixbuf is sent in the proper format, then it might be that the mutter is not doing the conversion.

PS: Send me an M2 I and I'll be happy to test this 😂

@kenvandine
Copy link
Contributor

Is this not working only on ARM?

Also IIRC signal is an electron app, right? As I noticed some similar misbehavior with recent electron and app-indicators.

Yes, only on ARM. Fine on amd64.

@lhhel9l3
Copy link

To anyone else who had the tray icon broken by the last update of the snap: you can fix it by running sudo snap set signal-desktop tray-icon=true

@lhhel9l3
Copy link

To the devs who pushed out this change: you should have kept the existing behavior for existing installs, and only set the default to disabled for NEW installs. Or you could have notified the users before making the change somehow. I'm considering switching to the flatpak after this

@merlijn-sebrechts
Copy link
Member

merlijn-sebrechts commented Nov 26, 2023 via email

@merlijn-sebrechts
Copy link
Member

merlijn-sebrechts commented Nov 26, 2023 via email

@w-sky
Copy link

w-sky commented Dec 6, 2023

I also noticed a missing tray icon with the most recent Signal versions on Ubuntu with Unity desktop while it still works with Gnome desktop. If problems with Signal occur, I recommend to install the "official" Signal version from repositories to check if it has the same problem. If it does, it is NOT a problem of the Signal snap version.

Posted my bug report here, no reactions so far: signalapp/Signal-Desktop#6691

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants