Tdesktop: Telegram -startintray does not work in wayland. In wayland there is no tray icon at all

Created on 8 Jun 2016  Â·  14Comments  Â·  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. Run wayland
  2. Run telegram -startintray
  3. Check if you see a tray icon

    Expected behaviour

Tray icon should appear as expected

Actual behaviour

There is no tray icon

Configuration

Fedora 24 with gnome

Version of Telegram Desktop:
0.9.49

auto closed

Most helpful comment

On Fedora 24, that uses Gnome 3.20.2 running on Wayland, Telegram starts correctly when ran with the --startintray option, but there is no tray icon. Same thing happens when starting it from Gnome shell's app menu. Starting Telegram from Gnome shell makes a tray icon appear only when running Gnome in Xorg.

All 14 comments

@rbieb Well, -startintray can possibly work only if the tray icon is working when you just run Telegram. Looks like the tray icon is not supported in Tdesktop for this desktop env. I use standard Qt tray icon QSystemTrayIcon class — perhaps it is a Qt issue that it is not working in wayland.

@john-preston isn't it Gnome?

@stek29 For some Qt version I had to disable Qt tray for gnome (and pantheon), perhaps I need to test it once more with the current Qt version (5.6), maybe it works fine already.

@rbieb Could you be more specific with your system configuration?
The tray icon don't work in gnome-shell using both X11 or Wayland unless you have installed the package "libappindicator"

Tested on:
• Fedora 23 Workstation (Gnome) using X11 and Wayland session
• Fedora 24 Workstation beta (Gnome) using X11 and Wayland session
• Telegram Desktop 0.9.49

I did have libappindicator installed.

@rbieb It would be good to attach the log, because I can not replicate this error.

I would if I could, but I'm no longer running gnome or wayland, thanks for looking into it though.

@diazbastian I can help to replicate error. I use Gnome on Wayland on Arch Linux and has no telegram icon in system tray. Libappindicator is installed:

~/$ sudo pacman -Qs libappindicator
local/libappindicator-gtk2 12.10.0-10
    Allow applications to export a menu into the Unity Menu bar
local/libappindicator-gtk3 12.10.0-10
    Allow applications to export a menu into the Unity Menu bar
local/libappindicator-sharp 12.10.0-10
    Allow applications to export a menu into the Unity Menu bar

On Fedora 24, that uses Gnome 3.20.2 running on Wayland, Telegram starts correctly when ran with the --startintray option, but there is no tray icon. Same thing happens when starting it from Gnome shell's app menu. Starting Telegram from Gnome shell makes a tray icon appear only when running Gnome in Xorg.

This seems to still be a problem. I have libappindicator installed as well, the tray icon shows up in Xorg but not when using Wayland.

I'm not sure if this is Wayland's fault or not. From what I can find qt5's system tray icons should work I think, so I'm not sure where the issue is.

Thanks!

There is a workaround and a possible fix available here: https://bugzilla.redhat.com/show_bug.cgi?id=1389875

2092 generic bug?

I had the same problem with Debian Stretch + GNOME3 (with Topicons plus extension). I've solved this problem removing libappindicator3-1 but letting libappindicator1 installed.

Hey there!

We're automatically closing this issue since there was no activity in this issue since 476 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.

Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

(Please note that this is an automated comment.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Yanrishatum picture Yanrishatum  Â·  3Comments

ArmeF97 picture ArmeF97  Â·  3Comments

Justinzobel picture Justinzobel  Â·  3Comments

slowaways picture slowaways  Â·  3Comments

beppe9000 picture beppe9000  Â·  3Comments