snapcrafters / signal-desktop

Unofficial Signal Desktop installer for Linux
https://snapcraft.io/signal-desktop
GNU Affero General Public License v3.0
34 stars 13 forks source link

[Bug]: Signal-desktop does not appear in application menu, cannot create taskbar shortcut #298

Open Scribble86 opened 1 month ago

Scribble86 commented 1 month ago

What happened?

After installing signal using the snapcrafters snap image, I searched the application launcher for signal and could not find it. I could launch it from the Discover app. Launching it from the discover app did make it show up with an icon on the taskbar (icons only task manager), but the option to pin signal to the taskbar was
greyed out. Creating a shortcut to the application directly at /var/lib/snapd/snap/signal-desktop/673/opt/Signal/signal-desktop is possible but leaves the shortcut with no icon and launching this way does not preserve the configuration/login when launched via snap.

I am running fedora 40 kde.

What should have happened?

Ideally the application should show up in the applications list after being installed and when running, it should be possible to pin to desktop.

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.

  **Minimize to tray**

  Per the request of the Signal developers, this snap does not use the system tray by default. This
  is disabled by default per the request of the Signal developers, because system tray support is
  not stable. Set to `false`, Signal will stop when you close it and will not have a system tray
  icon. You can enable it by running the following command.

      snap set signal-desktop tray-icon=true

  **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/stable
refresh-date: today at 12:40 PDT
channels:
  latest/stable:    7.16.0 2024-07-24 (673) 194MB -
  latest/candidate: 7.16.0 2024-07-19 (673) 194MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          7.16.0            (673) 194MB -

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

snap    2.63-0.fc40
snapd   2.63-0.fc40
series  16
fedora  40
kernel  6.9.10-200.fc40.x86_64

Relevant log output

No response

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/673/opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME fedora
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/ikostra/snap/signal-desktop/673/.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"

(signal-desktop:151122): Gtk-WARNING **: 13:21:53.428: Theme parsing error: gtk.css:1:21: Failed to import: Error opening file /home/ikostra/snap/signal-desktop/673/.config/gtk-3.0/colors.css: No such file or directory
Gtk-Message: 13:21:53.447: Failed to load module "colorreload-gtk-module"
Gtk-Message: 13:21:53.447: Failed to load module "window-decorations-gtk-module"
Warning: build/dns-fallback.json not build, run `yarn generate`
/usr/share/libdrm/amdgpu.ids: No such file or directory
/usr/share/libdrm/amdgpu.ids: No such file or directory
{"level":30,"time":"2024-07-28T20:21:53.544Z","msg":"got fast localeOverride setting null"}
{"level":30,"time":"2024-07-28T20:21:53.545Z","msg":"app.ready: hour cycle preference: UnknownPreference"}
{"level":30,"time":"2024-07-28T20:21:53.545Z","msg":"app.ready: preferred system locales: en-US, en"}
{"level":30,"time":"2024-07-28T20:21:53.545Z","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":"2024-07-28T20:21:53.545Z","msg":"locale: Preferred locales: en-US, en"}
{"level":30,"time":"2024-07-28T20:21:53.545Z","msg":"locale: Locale Override: null"}
{"level":30,"time":"2024-07-28T20:21:53.546Z","msg":"locale: Matched locale: en"}
{"level":40,"time":"2024-07-28T20:21:53.566Z","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":"2024-07-28T20:21:53.566Z","msg":"locale: Text info direction for en: ltr"}
{"level":30,"time":"2024-07-28T20:21:53.566Z","msg":"getSQLKey: decrypting key"}
{"level":30,"time":"2024-07-28T20:21:53.567Z","msg":"getSystemTraySetting got value MinimizeToSystemTray"}
{"level":30,"time":"2024-07-28T20:21:53.567Z","msg":"getSystemTraySetting returning MinimizeToSystemTray"}
{"level":30,"time":"2024-07-28T20:21:53.567Z","msg":"app ready"}
{"level":30,"time":"2024-07-28T20:21:53.568Z","msg":"starting version 7.16.0"}
{"level":30,"time":"2024-07-28T20:21:53.568Z","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2024-07-28T20:21:53.569Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2024-07-28T20:21:53.572Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2024-07-28T20:21:53.572Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2024-07-28T20:21:53.573Z","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":804,\"height\":615,\"minWidth\":300,\"minHeight\":200,\"autoHideMenuBar\":false,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#121212\",\"webPreferences\":{\"devTools\":false,\"spellcheck\":true,\"enableBlinkFeatures\":\"CSSPseudoDir,CSSLogical\",\"enablePreferredSizeMode\":true,\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"sandbox\":false,\"contextIsolation\":true,\"preload\":\"[REDACTED]/preload.bundle.js\",\"backgroundThrottling\":true,\"disableBlinkFeatures\":\"Accelerated2dCanvas,AcceleratedSmallCanvases\"},\"icon\":\"[REDACTED]/images/signal-logo-desktop-linux.png\",\"x\":2356,\"y\":513}"}
{"level":30,"time":"2024-07-28T20:21:53.628Z","msg":"spellcheck: user locales: [\"en-US\",\"en\"]"}
{"level":30,"time":"2024-07-28T20:21:53.628Z","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":"2024-07-28T20:21:53.628Z","msg":"spellcheck: setting languages to: [\"en-US\",\"en\"]"}
{"level":30,"time":"2024-07-28T20:21:53.638Z","msg":"MainSQL: updateSchema:\n  Current user_version: 1090;\n  Most recent db schema: 1090;\n  SQLite version: 3.42.0;\n  SQLCipher version: 4.5.5 community;\n  (deprecated) schema_version: 473;\n"}
{"level":30,"time":"2024-07-28T20:21:53.917Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2024-07-28T20:21:54.300Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2024-07-28T20:21:54.303Z","msg":"System tray service: created"}
{"level":30,"time":"2024-07-28T20:21:54.303Z","msg":"System tray service: updating main window. Previously, there was not a window, and now there is"}
{"level":30,"time":"2024-07-28T20:21:54.304Z","msg":"System tray service: rendering no tray"}
{"level":30,"time":"2024-07-28T20:21:54.304Z","msg":"System tray service: enabling"}
{"level":30,"time":"2024-07-28T20:21:54.304Z","msg":"System tray service: rendering the tray"}
{"level":30,"time":"2024-07-28T20:21:54.304Z","msg":"System tray service: creating the tray"}
{"level":30,"time":"2024-07-28T20:21:54.305Z","msg":"Begin ensuring permissions"}
{"level":30,"time":"2024-07-28T20:21:54.306Z","msg":"Ensuring file permissions for 4 files"}
{"level":30,"time":"2024-07-28T20:21:54.306Z","msg":"Finish ensuring permissions in 1ms"}
{"level":30,"time":"2024-07-28T20:21:54.309Z","msg":"main window is ready-to-show"}
{"level":30,"time":"2024-07-28T20:21:54.309Z","msg":"showing main window"}
{"level":30,"time":"2024-07-28T20:21:54.312Z","msg":"System tray service: rendering the tray"}
{"level":30,"time":"2024-07-28T20:21:54.403Z","msg":"Prevent display sleep service: allowing display sleep"}
{"level":30,"time":"2024-07-28T20:21:54.403Z","msg":"Background throttling enabled because no call is active"}
{"level":30,"time":"2024-07-28T20:21:54.649Z","msg":"updater/start: Updates disabled - not starting new version checks"}
{"level":30,"time":"2024-07-28T20:21:54.649Z","msg":"App loaded - time: 1082"}
{"level":30,"time":"2024-07-28T20:21:54.649Z","msg":"SQL init - time: 75"}
{"level":30,"time":"2024-07-28T20:21:54.649Z","msg":"Preload - time: 377"}
{"level":30,"time":"2024-07-28T20:21:54.649Z","msg":"WebSocket connect - time: 364"}
{"level":30,"time":"2024-07-28T20:21:54.649Z","msg":"Processed count: 0"}
{"level":30,"time":"2024-07-28T20:21:54.649Z","msg":"Messages per second: 0"}
{"level":30,"time":"2024-07-28T20:21:58.000Z","msg":"Updating BrowserWindow config: %s {\"maximized\":false,\"autoHideMenuBar\":false,\"fullscreen\":false,\"width\":807,\"height\":617,\"x\":3381,\"y\":512}"}
{"level":30,"time":"2024-07-28T20:21:58.000Z","msg":"config/set: Saving ephemeral config to disk"}
{"level":30,"time":"2024-07-28T20:21:58.002Z","msg":"config/set: Saved ephemeral config to disk"}
jnsgruk commented 1 month ago

@zyga could this be a snapd issue, given the context of this happening on Fedora 40 KDE? I can't repro on Ubuntu?

lengau commented 2 hours ago

There was a snapd issue that caused this on KDE, but it was fixed a few months ago. Idk whether Fedora got the update though.