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 not showing up on Linux with 3.67.4 #1829

Closed
2 tasks done
ajgraves opened this issue Feb 17, 2020 · 12 comments
Closed
2 tasks done

Tray icon not showing up on Linux with 3.67.4 #1829

ajgraves opened this issue Feb 17, 2020 · 12 comments
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it
Milestone

Comments

@ajgraves
Copy link
Contributor

ajgraves commented Feb 17, 2020

  • This is not a feature request (existing functionality does not work, not missing functionality).
    I will request features on forum or via support.
  • I've searched and did not find a similar issue.

Describe the bug
On Arch Linux using XFCE, the tray icon does not show up on version 3.67.4. I have tried both the AUR package as well as downloading and running the AppImage directly, and neither shows a tray icon any longer, despite having "run as tray app" set to yes.

To Reproduce
Steps to reproduce the behavior:

  1. Launch app
  2. Observe no tray icon

Expected behavior
Tray icon should show up.

Desktop (please complete the following information):

  • OS: Arch Linux current as of 17 Feb
  • Desktop Environment: XFCE 4.14
  • Version 3.67.4
@ajgraves ajgraves added bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues labels Feb 17, 2020
@charlag
Copy link
Contributor

charlag commented Feb 17, 2020

Hi
I've seen another report about this but it works for us under GNOME. Do you have any ideas?

@charlag charlag pinned this issue Feb 19, 2020
@charlag
Copy link
Contributor

charlag commented Feb 19, 2020

We've received a lot of complains about Mint.

I see that there were some changes in Electron 8 related to this:
electron/electron#21904

But it was merged before Electron 8 was released so 🤔

@charlag
Copy link
Contributor

charlag commented Feb 19, 2020

I'm not sure if it might be related:
electron/electron#21445

I checked Mint/XFCE installation and indeed there's no tray icon.

As it already does not work consistently across Linux distros and almost each Electron app struggles with this, I would propose to:

  • add a new window button inside the app (like Gedit or GNOME files). We already have it as an icon menu option but it only works in Ubuntu via libappindicator afaik
  • remove "hide instead of close" behavior and
  • rename "run as a tray app" to "run in the background"
  • drop tray icon on Linux (or at least not rely on it)

@vladimiry
Copy link

vladimiry commented Feb 19, 2020

I used to update status here and there. So Electron 8 supports tray icons on KDE/Xce/Mate/Gnome systems but in some cases you need to install some plugins or configure the system, see above links for details.

@charlag
Copy link
Contributor

charlag commented Feb 19, 2020

Hi
I've seen your comment, I checked and the xfce library is pre-installed on mint but it doesn't help

@vladimiry
Copy link

You also added the plugin to panel like (@ajgraves, it's Arch Linux + XFCE on the screenshot)?

xfce

There is another recipe for Mint but with Cinnamon DE (not sure it's applicable if Mint + Xfce used): "System Settings" -> "General" -> "Enable support for indicators" flag needs to be enabled.

@vladimiry
Copy link

vladimiry commented Feb 20, 2020

For Xfce panel there is also https://gitlab.com/vala-panel-project/xfce4-sntray-plugin working plugin, alternative to xfce4-statusnotifier-plugin. It also supports Mate panel but I didn't try it yet.

@charlag
Copy link
Contributor

charlag commented Feb 20, 2020

@vladimiry thanks, adding this plugin to XFCE panel indeed works.
Unfortunately it only proves my point that we shouldn't rely on it but at least we can share it as a workaround.

@vladimiry
Copy link

we shouldn't rely on it but at least we can share it as a workaround.

Agree on this point. This is why in ElectronMail I automatically disable Start minimized to tray and Close to tray flags for Linux users in first @electron-v8-based release, so the UX won't be completely ruined for them (see respective issue if interested).

@armhub armhub unpinned this issue Feb 21, 2020
@ghost
Copy link

ghost commented Feb 25, 2020

It's also happening on Linux Mint 19.3 "Tricia". I'm using the appimage, set up run on startup and minimzed to tray option in the app. On boot tutanota app is running and I can open it using the desktop iintegration but cannot see it after minimizing to system tray.

ganthern added a commit that referenced this issue Feb 27, 2020
- make tray icon functionality available in the web app
- windows now minimize instead of hiding to keep them accessible even
  when there is no tray icon
ganthern added a commit that referenced this issue Feb 27, 2020
- make tray icon functionality available in the web app
- windows now minimize instead of hiding to keep them accessible even
  when there is no tray icon
- remove redundant window list for catalina
ganthern added a commit that referenced this issue Mar 3, 2020
- make tray icon functionality available in the web app
- windows now minimize instead of hiding to keep them accessible even
  when there is no tray icon
- remove redundant window list for catalina
@charlag charlag added this to the Next release milestone Mar 3, 2020
@armhub armhub self-assigned this Mar 12, 2020
@armhub
Copy link
Contributor

armhub commented Mar 12, 2020

As there is no reliable mechanism for the tray icons in the different Linux distributions, we have added buttons for the following operations to the left nav menu in the Tutanota desktop client:

  • open a new window
  • quit the app

@armhub armhub added the state:tested We tested it and are about to release it label Mar 12, 2020
@dotenorio
Copy link

See my solution:

zulip/zulip-desktop#910 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues state:tested We tested it and are about to release it
Projects
None yet
Development

No branches or pull requests

6 participants