signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.64k stars 2.67k forks source link

Debian/openbox/tint2: --use-tray-icon/--start-in-tray do not work #4132

Open fraform opened 4 years ago

fraform commented 4 years ago

Bug Description

As i wrote in https://github.com/signalapp/Signal-Desktop/issues/4089#issuecomment-607298438 the tray icon still not working. Last working signal-desktop version on my system was 1.31.0.

I use Debian 10 + openbox + tint2.

I tried also other bar, but it did not solve the issue.

Steps to Reproduce

  1. step one Start signal-desktop with --start-in-tray flag.

  2. step two Start signal-desktop with --use-tray-icon flag.

Actual Result: No tray icon appear.

Expected Result: Tray icon showed on my bar.

Screenshots

Platform Info

Signal Version: 1.32.3

Operating System: Debian 10

Linked Device Version:

Link to Debug Log

https://debuglogs.org/fe94d00e95d77e0560cd93440098dc82d9112e26b217b1adc625f063c7f0993f

LanceHaverkamp commented 4 years ago

Same problem. Using Kubuntu 19.10 (KDE Plasma environment), in my case. This used to work properly.

Peter-JanGootzen commented 4 years ago

This is also broken on my machine with Arch Linux, Signal Desktop v1.33.0-beta.5 and Polybar.

RobDean69 commented 4 years ago

Yep, same issue here. OpenSUSE tumbleweed, KDE desktop, signal installed via Flatpak.

uridium commented 4 years ago

Same here. The last version that worked was 1.31.0 Linux Mint 19.3 Xfce 4.14 signal-desktop installed from: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main

ghost commented 4 years ago

It works here on Xubuntu 19.10 - I use the 'Status Notifier Plugin'. There was an issue some time ago when it stopped working with another tray icon plugin, maybe that is related to the problems reported here.

LanceHaverkamp commented 4 years ago

It works here on Xubuntu 19.10 - I use the 'Status Notifier Plugin'. There was an issue some time ago when it stopped working with another tray icon plugin, maybe that is related to the problems reported here.

Interesting...unfortunately that's only an XFCE thing, so not likely a solution for every other desktop environment.

uridium commented 4 years ago

Can confirm - it's working with "Status Notifier Plugin". Before I used two other plugins: "Notification area" and "XApp Status Plugin". Now I have to use three types of notification plugin, because each app uses a different one! Ridiculous.

jmechnich commented 4 years ago

If I understand correctly, at least for tint2 and polybar, the issue is the lack of support for StatusNotifierItem by the panel applications.

For openbox + tint2 I finally found a working solution in a tint2 issue: use snixembed until native support has been added to the panels.

Other relevant links:

georf commented 4 years ago

I got the same problem with

  Operating System: Linux Mint 19
            Kernel: Linux 4.15.0-96-generic
      Architecture: x86-64

I use current version 1.33.4.

Peter-JanGootzen commented 4 years ago

If I understand correctly, at least for tint2 and polybar, the issue is the lack of support for StatusNotifierItem by the panel applications.

For openbox + tint2 I finally found a working solution in a tint2 issue: use snixembed until native support has been added to the panels.

Using snixembed also works perfectly with Polybar on my machine. :smile:

nixbits commented 4 years ago

Problem remains. Gentoo + fluxbox 1.3.7-r4 + signal 1.34.1 / 1.34.2 Debian + fluxbox 1.3.5-2+b2 + signal 1.34.2 Linux mint (bionic release) + 1.34.2

Overall 5 different installs on 4 different machines

itkfm commented 4 years ago

Used to work on Ubuntu Budgie 19.10. Does not work anymore on 20.04.

TomasPech commented 4 years ago

I can sadly confirm problem also with Linux Mint 20 - Cinnamon. Today I did upgrade from 19.3 where was icon shown OK but in current Mint (mint 20) I can only see that Signal running in tasks but there isn't icon in tray.

Thank for your effort

mvvvmd commented 4 years ago

In Linux Mint 20 (cinnamon) it segfaults on two separate systems I have running. Signal does keep running, just no tray icon.

Jul 14 09:38:15 kernel: [ 2104.460826] xapp-sn-watcher[2977]: segfault at 0 ip 00007f6ddebcb6e4 sp 00007ffd61bcb230 error 4 in libglib-2.0.so.0.6400.3[7f6ddeb60000+84000]

Jul 14 09:38:15 kernel: [ 2104.460834] Code: b7 6d db b6 c1 c8 02 3d 49 92 24 09 0f 97 c0 0f b6 c0 48 8d 5c 03 02 4b 0f be 44 3d 00 49 01 c6 48 85 ed 78 05 4d 39 e6 73 5c <45> 0f b6 3e 45 84 ff 74 53 4c 89 f7 e8 0b d5 ff ff 89 c7 8d 80 00

Jul 14 09:38:15 systemd[1]: Started Process Core Dump (PID 6948/UID 0).

Jul 14 09:38:15 cinnamon-session[1650]: WARNING: t+2075,48798s: Application 'xapp-sn-watcher.desktop' killed by signal 11

Jul 14 09:38:15 systemd-coredump[6955]: Process 2977 (xapp-sn-watcher) of user 1000 dumped core.#012#012Stack trace of thread 2977:#012#0  0x00007f6ddebcb6e4 n/a (libglib-2.0.so.0 + 0x876e4)#012#1  0x00007f6ddebcbb90 g_utf8_normalize (libglib-2.0.so.0 + 0x87b90)#012#2  0x00005592d95101c7 n/a (xapp-sn-watcher + 0x131c7)#012#3  0x00007f6dded81f49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#4  0x00007f6dded82b3d n/a (libgio-2.0.so.0 + 0xb5b3d)#012#5  0x00007f6ddede889d n/a (libgio-2.0.so.0 + 0x11b89d)#012#6  0x00007f6dded81f49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#7  0x00007f6dded82b3d n/a (libgio-2.0.so.0 + 0xb5b3d)#012#8  0x00007f6ddede7eb1 n/a (libgio-2.0.so.0 + 0x11aeb1)#012#9  0x00007f6ddede7fec n/a (libgio-2.0.so.0 + 0x11afec)#012#10 0x00007f6dded81f49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#11 0x00007f6dded82b3d n/a (libgio-2.0.so.0 + 0xb5b3d)#012#12 0x00007f6ddeddd35f n/a (libgio-2.0.so.0 + 0x11035f)#012#13 0x00007f6dded81f49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#14 0x00007f6dded81f8d n/a (libgio-2.0.so.0 + 0xb4f8d)#012#15 0x00007f6ddeb95e8e g_main_context_dispatch (libglib-2.0.so.0 + 0x51e8e)#012#16 0x00007f6ddeb96240 n/a (libglib-2.0.so.0 + 0x52240)#012#17 0x00007f6ddeb962e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)#012#18 0x00007f6ddedaffd5 g_application_run (libgio-2.0.so.0 + 0xe2fd5)#012#19 0x00005592d9506da8 main (xapp-sn-watcher + 0x9da8)#012#20 0x00007f6dddf5f0b3 __libc_start_main (libc.so.6 + 0x270b3)#012#21 0x00005592d9506e0e _start (xapp-sn-watcher + 0x9e0e)#012#012Stack trace of thread 3000:#012#0  0x00007f6dde04d96f __GI___poll (libc.so.6 + 0x11596f)#012#1  0x00007f6ddeb961ae n/a (libglib-2.0.so.0 + 0x521ae)#012#2  0x00007f6ddeb962e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)#012#3  0x00007f6ddeb96331 n/a (libglib-2.0.so.0 + 0x52331)#012#4  0x00007f6ddebbf931 n/a (libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f6dddce9609 start_thread (libpthread.so.0 + 0x9609)#012#6  0x00007f6dde05a103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of thread 3002:#012#0  0x00007f6dde04d96f __GI___poll (libc.so.6 + 0x11596f)#012#1  0x00007f6ddeb961ae n/a (libglib-2.0.so.0 + 0x521ae)#012#2  0x00007f6ddeb96533 g_main_loop_run (libglib-2.0.so.0 + 0x52533)#012#3  0x00007f6ddedebeda n/a (libgio-2.0.so.0 + 0x11eeda)#012#4  0x00007f6ddebbf931 n/a (libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f6dddce9609 start_thread (libpthread.so.0 + 0x9609)#012#6  0x00007f6dde05a103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of thread 3001:#012#0  0x00007f6dde04d96f __GI___poll (libc.so.6 + 0x11596f)#012#1  0x00007f6ddeb961ae n/a (libglib-2.0.so.0 + 0x521ae)#012#2  0x00007f6ddeb962e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)#012#3  0x00007f6ddeee899d n/a (libdconfsettings.so + 0xa99d)#012#4  0x00007f6ddebbf931 n/a (libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f6dddce9609 start_thread (libpthread.so.0 + 0x9609)#012#6  0x00007f6dde05a103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of thread 6942:#012#0  0x00007f6dde05a0f5 __clone (libc.so.6 + 0x1220f5)#012#1  0x00007f6ddeca10d3 g_signal_emit (libgobject-2.0.so.0 + 0x340d3)#012#2  0x4020fe3b9e659400 n/a (n/a + 0x0)

Jul 14 09:38:15 systemd[1]: systemd-coredump@1-6948-0.service: Succeeded.
itkfm commented 4 years ago

Appears to be working again here (Ubuntu Budgie 20.04) :)

mvvvmd commented 4 years ago

Yes, this seems to have been fixed on Linux Mint 20 (cinnamon) also, works on both my systems.

georf commented 4 years ago

Really! Thanks for this fix

Peter-JanGootzen commented 4 years ago

It now also works with Polybar again!

jlfranklin commented 4 years ago

And Debian 10 Cinnamon, too. Thanks!

jmechnich commented 4 years ago

Works with tint2 as well! Thanks a lot!

LanceHaverkamp commented 4 years ago

What has changed? The official version, from https://updates.signal.org/desktop/apt xenial main is still version 1.33.4, and it's not working in Kubuntu 20.04 LTS.

jmechnich commented 4 years ago

What has changed? The official version, from https://updates.signal.org/desktop/apt xenial main is still version 1.33.4, and it's not working in Kubuntu 20.04 LTS.

The current working version is 1.34.4

itkfm commented 4 years ago
$ apt list -a signal-desktop*
Listing... Done
signal-desktop-beta/xenial,now 1.34.4-beta.1 amd64 [installed]

signal-desktop/xenial,now 1.34.4 amd64 [installed]
signal-desktop/xenial 1.33.4 amd64
LanceHaverkamp commented 4 years ago

I'm getting the impression that no one at Signal is tasked with updating that repository; this is not the first time I've had to remind them to update that repo. ;-)

scottnonnenberg-signal commented 4 years ago

@LanceHaverkamp Sorry, what repo is not being updated?

fraform commented 4 years ago

Confirmed that it works again in debian + openbox + tint2. Thanks a lot!

P.S. tell me if i can close the issue

itkfm commented 4 years ago

Guess this could get closed…