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

Tray icon no longer working on Cinnamon 4.6.x (Linux) 1.34.0-beta.3 #3974

Closed
mmirg opened this issue Feb 21, 2020 · 31 comments
Closed

Tray icon no longer working on Cinnamon 4.6.x (Linux) 1.34.0-beta.3 #3974

mmirg opened this issue Feb 21, 2020 · 31 comments

Comments

@mmirg
Copy link

mmirg commented Feb 21, 2020

  • [x ] I have searched open and closed issues for duplicates

Bug Description

Steps to Reproduce

  1. Open Signal with either --start-in-tray or --use-tray-icon

Actual Result:

There is no tray icon in the system tray.

Expected Result:

Tray icon appears in system tray indicating unread messages.

Platform Info

Signal Version:

1.34.0-beta.3 (problem was also seen in 1.32.0-r2 but not 1.32.0-r1)
Operating System:

Linux version 5.5.5 DISTRIB_ID="Gentoo"
Linked Device Version:
4.60.4

Link to Debug Log

https://debuglogs.org/25d8b7248134cc0550c14431512bf6be5564199c1cafebbc5989b4b9c2f7c9ac

Cinnamon references:
linuxmint/cinnamon#9328
linuxmint/cinnamon#9176
linuxmint/xapp@0a27c6a

@pkorba
Copy link

pkorba commented Feb 21, 2020

Apparently Electron v8 now uses StatusNotifier for tray icons and implementation of it in Cinnamon is not yet complete.
In your system settings try:
"System Settings" -> "General" -> "Enable support for indicators"
linuxmint/cinnamon#9176

@bungabunga
Copy link

Similarly on Ubuntu 19.10. Since 1.32 beta2 (but not beta 1): tray icon appears when I start the app, but after I turn off the screen and later turn it on again it's gone.

@scottnonnenberg-signal
Copy link
Contributor

@bungabunga Is the icon perhaps very small?

This appears to be related: electron/electron#21445

@bungabunga
Copy link

no, the icon is ok when visible and after turning off the screen completely gone. i can only bring it back if i turn off Signal, and turn it on again when the screen is on.

@luciash
Copy link

luciash commented Feb 28, 2020

btw, there is no tray icon on Windows10 with 1.31.0 anymore too.

@scottnonnenberg-signal
Copy link
Contributor

@luciash When was the last version it worked for you? How are you enabling the tray icon, exactly?

@scottnonnenberg-signal
Copy link
Contributor

This bug seems applicable: electron/electron#22443

@luciash
Copy link

luciash commented Feb 28, 2020

@luciash When was the last version it worked for you? How are you enabling the tray icon, exactly?

Last version was the version before 1.31.0 - it got auto-updated and since then nomore systray icon when closing the Signal desktop app. I had it setup for several versions on closing window it was minimized to the systray - IIRC it was a setting in the app preferences. I did not do any tricks... But now it seems it is gone from there.

@opensiriusfox
Copy link

opensiriusfox commented Feb 28, 2020

The exact same problem exists for me in Kubuntu 19.10 as well. Not that it adds much, but it’s at least somewhat WM agnostic. No tray icon of any kind. I had assumed the feature just didn’t exist in Signal for Linux because of this.

EDIT: Correction. This is NOT a problem in Kubuntu. The default launcher simply doesn't expose the --use-tray-icon options. Manually launching with the options corrects the issue.

@vladimiry
Copy link

See this issue linuxmint/cinnamon#9176

On Cinnamon it might help to toggle "System Settings" -> "General" -> "Enable support for indicators" (tested with Keybase)

@extremMiSt
Copy link

Same problem here on lubuntu 18.04.

@peterthomassen
Copy link

peterthomassen commented Mar 5, 2020

This also exists with Linux Mint MATE edition, which does not use Cinnamon. It can be worked around by opening dconf-editor, the enable org.mate.panel.general.enable-sni-support, see mate-desktop/mate-desktop#286.

@jcvernaleo
Copy link

On xfce (ubuntu 18.104) at least, switching to xfce4-statusnotifier-plugin from the normal Notification Area panel item seems to work just fine for the latest electron.

@bk138
Copy link

bk138 commented Mar 9, 2020

Same here on Gnome 3.22, Debian Buster.

@lupa18
Copy link

lupa18 commented Mar 9, 2020

Same here, with cinnamon 3.8.9

@fkumro
Copy link

fkumro commented Mar 9, 2020

Is there a work around for Gnome? Issue exists on Manjaro as well.

@scottnonnenberg-signal
Copy link
Contributor

Note that v1.32.x updated Electron from 6.x to 8.x. It does make sense that notifications are now using a more modern system. Please let us know what you find.

@ajboni
Copy link

ajboni commented Mar 10, 2020

"System Settings" -> "General" -> "Enable support for indicators"
linuxmint/cinnamon#9176

As @ondondil said, enabling support for indicators solves the problem on linux mint / Cinnamon, Make sure to restart the DE

image

@extremMiSt
Copy link

extremMiSt commented Mar 10, 2020

I'm on lubuntu (lxde) 18.04.
with Signal 1.31.0 I get the systray icon. With Signal 1.32.1 it's not there anymore.
the gnome/cimmanon/xfce workarrounds are either not available or do not help.
installing sni-qt did not help.

@phbn-zz
Copy link

phbn-zz commented Mar 14, 2020

The indicator method does not fix the issue on my end.
Linux Mint 19.3 Cinnamon
Thinkpad X1 Carbon gen 3

@furai
Copy link

furai commented Mar 19, 2020

This issue also affects me. Ubuntu 19.10. Is there any workaround?

@mandree
Copy link
Contributor

mandree commented Mar 26, 2020

I've bisected this on Fedora 31, and as expected and reported by Scott, got

# first bad commit: [2f9bebe5676845949a3e3beb9655dfd1bc018b80] Upgrade to Electron 8

and the first release after that was v1.32.0-beta.2.

For GNOME users, see if your distribution provides gnome-shell-extension-appindicator and install it, or else try installing that from https://extensions.gnome.org/extension/615/appindicator-support/ - however, for me (on Fedora 31 with the gnome-shell-extension-appindicator-30-7.fc31.noarch package installed), the icon does not survive a lock-screen + unlock-screen sequence either -> #4082.

@mmirg
Copy link
Author

mmirg commented Mar 26, 2020

Enabling indicator support in Cinnamon 4.4.x more or less fixed the issue but this has been removed in 4.6.x. (There appear to be a number of issues remaining with Cinnamon's implementation and not necessarily related to Signal or electron per se.)

@mmirg mmirg closed this as completed Mar 26, 2020
@dotenorio
Copy link

See my solution:

zulip/zulip-desktop#910 (comment)

@extremMiSt
Copy link

problem persists on other desktop environments than cinnamon, for example lxde.

@dinosmm
Copy link

dinosmm commented Apr 14, 2020

"System Settings" -> "General" -> "Enable support for indicators"
linuxmint/cinnamon#9176

As @ondondil said, enabling support for indicators solves the problem on linux mint / Cinnamon, Make sure to restart the DE

image

I can confirm this solves the problem for me on Mint 19.03.

@lupa18
Copy link

lupa18 commented Apr 14, 2020

Here also with Linux Mint 19 and doesn't solve the problem.

@yermulnik
Copy link

Same in Mint with Mate as DE

@mmirg mmirg changed the title Tray icon no longer working on Linux (Cinnamon) 1.32.0-r2/r3 Tray icon no longer working on Cinnamon 4.6.x (Linux) 1.34.0-beta.3 May 22, 2020
@mmirg mmirg reopened this May 22, 2020
@mmirg
Copy link
Author

mmirg commented May 23, 2020

Cinnamon 4.6's new XApp framework appears to support libindicator-style tray icons (by adding the XApp Status Applet to a panel). Bugs seem to be upstream and not related to signal-desktop/electron per se.

@mmirg mmirg closed this as completed May 23, 2020
@extremMiSt
Copy link

I just got the icon working on my lxde using https://git.sr.ht/~steef/snixembed
there are no deb packages (as far as I found) for that but compiling isn't too hard

@jtuz
Copy link

jtuz commented Aug 7, 2020

I just got the icon working on my lxde using https://git.sr.ht/~steef/snixembed
there are no deb packages (as far as I found) for that but compiling isn't too hard

This Work for me with cinnamon 4.6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests