tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

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

Open roberdorfer opened this issue 10 years ago • 15 comments

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

roberdorfer avatar Jun 08 '16 11:06 roberdorfer

@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 avatar Jun 08 '16 11:06 john-preston

@john-preston isn't it Gnome?

stek29 avatar Jun 08 '16 13:06 stek29

@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.

john-preston avatar Jun 08 '16 13:06 john-preston

@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

diazbastian avatar Jun 09 '16 01:06 diazbastian

I did have libappindicator installed.

roberdorfer avatar Jun 15 '16 17:06 roberdorfer

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

diazbastian avatar Jun 16 '16 02:06 diazbastian

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

roberdorfer avatar Jun 16 '16 14:06 roberdorfer

@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

GreenRiverRUS avatar Jul 17 '16 10:07 GreenRiverRUS

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.

Tomoms avatar Jul 18 '16 19:07 Tomoms

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!

jacobmischka avatar Oct 17 '16 15:10 jacobmischka

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

ghost avatar Nov 10 '16 08:11 ghost

#2092 generic bug?

Aokromes avatar Nov 15 '16 10:11 Aokromes

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.

acerv avatar Feb 09 '17 19:02 acerv

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.)

ghost avatar Jun 01 '18 18:06 ghost

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Mar 07 '21 18:03 github-actions[bot]