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

system tray #1331

Closed
wojciechGaudnik opened this issue Apr 11, 2020 · 14 comments
Closed

system tray #1331

wojciechGaudnik opened this issue Apr 11, 2020 · 14 comments

Comments

@wojciechGaudnik
Copy link

I cannot put it into the system tray


Caprine 2.45.0
Electron 8.2.1
linux 5.3.0-46-generic
Locale: en-US

@FrogMcRibbit
Copy link

FrogMcRibbit commented Apr 12, 2020

I also don't have anykind of system tray with Caprine 2.45.0. If I close the window normally (not quitting the program), I still have processes related to Caprine, and if someone sends me a message, I do get notified about it. I just don't have the tray icon.


Caprine 2.45.0
Electron 8.2.1
linux 5.4.31-1-MANJARO
Desktop environment: Cinnamon 4.4.8
Locale: en-GB

@FrogMcRibbit
Copy link

FrogMcRibbit commented Apr 12, 2020

Okay, so I do have a tray icon in KDE, but not on Cinnamon.

It might be an issue that is related to my desktop environment though, and not to Caprine in itself, considering that there was some upcoming changes announced for Cinnamon because of Electron.

StatusNotifier, libAppIndicator and libAyatana

Following a change in Electron, XappStatusIcon applets will gain support for StatusNotifier, libAppIndicator and libAyatana.

[...]

LibAppIndicator and libAyatana have the ability to fallback to xembed (the GTK tray technology), so in Cinnamon, even though support for these technologies was disabled by default, applications using these libraries would still get their icon into the tray. In Mint, the situation was even better because libAppIndicator was patched to fallback to XappStatusIcon before falling back to xembed, thus preserving compatibility with HiDPI and symbolic icons. The problem was with applications using StatusNotifier directly.. which just didn’t fallback to anything at all and had no visible tray icon. With Electron moving to StatusNotifier this issue became more urgent.

XappStatusIcon applets gaining support for these technologies will guarantee better support for modern Electron apps and indicators and it will do so in all distributions, without the need to patch anything.

Source: https://blog.linuxmint.com/?p=3887

Welp, I guess I will have to wait for updates for my desktop environment (at least in my case, I don't know is OP also uses Cinnamon or not).

@yermulnik
Copy link

yermulnik commented Apr 16, 2020

Same issue on Mint 18.3 Sylvia with Mate Desktop =(
Had to downgrade to Caprine 2.43.0

@wojciechGaudnik
Copy link
Author

Recently I discovered that Caprine show icon when I run and next restart by changing options (for example Hardware Accelerate)

@yermulnik
Copy link

@wojciechGaudnik Do you have to do it every time you start the app or it kind of memorizes this behavior?

@wojciechGaudnik
Copy link
Author

@yatharth Only after hard restart comp. When woke up from sleep mode(to RAM) than it is ok.

@yermulnik
Copy link

changing options (for example Hardware Accelerate)

Didn't work for me. Have to stay at 2.43.0 version for now =(

@Swash1972
Copy link

Pop_Os 19.10 (Ubuntu 19.10) x64
Gnome 3.34.2
Caprine 2.45
Also missing tray icon, even with showing legacy icons.
Disable and enabling Hardware Acceleration, did not help.

@snoozi
Copy link

snoozi commented May 16, 2020

Pop_OS 20.04 x64
Caprine 2.46
GNOME 3.36.2
X11

disappears from tray after wake from suspend; sometimes disappears for unknown additional reasons I haven't quite figured out. Will reappear upon restart.

Other thread suggested hicolor/0x0 is the problem, will see if it improves the situation over time.

Update on 20th May -- mentioned suggested fix did not fix.

@yermulnik
Copy link

There's a somewhat related PR in Electron that has been merged today: electron/electron#23674

@Syndamia
Copy link

Syndamia commented Aug 17, 2020

I found a workaround for Cinnamon. Switch to Work Chat (Ctrl + Shift + 2) and then it will appear.

Now you can go back to Normal Chat (Ctrl + Shift + 1) and you are still gonna have a tray icon.

After quitting the app and opening it again, the tray icon stayed.

Edit: just to note that, after about two weeks, the tray icon still works like a charm, after many restarts, updates, etc.

@yermulnik
Copy link

yermulnik commented Aug 17, 2020

Out of the blue tray icon started to work for me at v2.48.0 😕
Though before upgrading from v2.43.0 I did try what @Syndamia suggested — no idea whether this was the trick or v2.48.0
Will need to verify after reboot but it's not gonna happen any time soon though =(

@wildcard-f8
Copy link

I had this problem on Gnome. I just turned on the Gnome extension called Unite and I could see the system tray icon again. For some reason it was hiding it if I turned the extension off.

@dusansimic
Copy link
Collaborator

This was a bug caused in Chromium itself and it is fixed as some comments said just arround version 2.48 (Caprine). Since it's fixed now I'll close this issue.

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

No branches or pull requests

8 participants