telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.25k stars 5.02k forks source link

No tray icon on Ubuntu 17.10 if extensions are enabled. #3995

Closed omkarnathsingh closed 6 years ago

omkarnathsingh commented 6 years ago

In additions to issue #3968 .

In Ubuntu 17.10, if Gnome shell extensions are enabled, then Telegram tray icon doesn't show at all.

Its a Telegram side issue as "Dropbox" tray icon does appear in the same scenario.

Some links: https://extensions.gnome.org/

diazbastian commented 6 years ago

@omkarnathsingh You must provide more information to understand your case, as I have no problems currently viewing the Telegram status icon using the TopIcon Plus or KStatusNotifierItem extension using the Wayland or Xorg session (Gnome 3.26.1)

telegram-gnome-statusicon

What extension are you using? Does this occur with other applications or using other extensions?

Remember that Telegram Desktop requires the libappindicator library to display the status icon in Gnome and additionally -according to the extension you are using- additional dependencies are required for additional APIs to work due to the new Gnome paradigm about status icon.

omkarnathsingh commented 6 years ago

@diazbastian TopPlusIcon Plus does install on Ubuntu 17.10. Its not a native Gnome, make sure of it. screenshot from 2017-10-19 10-20-11 screenshot from 2017-10-19 10-20-30

Refer the screenshots, Telegram is running, and there is no Tray icon.

diazbastian commented 6 years ago

@omkarnathsingh Did you check if libappindicator is installed on your system? Did you check if the "show tray icon" option is enabled on Telegram?

As you can see in #3968 the extension "Ubuntu AppIndicators" displays the status icons in Ubuntu 17.10 and probably the problem is there and not in Telegram. It is also strange that you can't install TopIcon Plus, so I assume it is an Ubuntu problem (consider bugs are common in a distro that has not yet been officially released). Try using the X.org session or GNOME Vanilla session to see if there is a difference.

omkarnathsingh commented 6 years ago

"show tray icon" is enabled. You are just blaming the Operating System for everything in short. "Dropbox" also shows tray icon, and everything is perfect with that. libappindicator is installed.

Seems devs cant do (rather not interested) in fixing this bug.

diazbastian commented 6 years ago

@omkarnathsingh It is not about that, but if you can't confirm the problem in other distributions it is logical to think that it is a specific distro issue. This is reaffirmed by the fact that the extension you are using is only available for Ubuntu and therefore you can't install others extensions (so I asked you to try other Ubuntu sessions).

This would be better resolved if you gave more information about your system, including the Telegram version, installation source (repository, PPA, Snap package, Flatpak, telegram.org, etc.), other installed extensions or any other changes made that may be related, etc.

--

I can't confirm this issue. Always reproducible.

Version of selected component:

Steps to Reproduce:

  1. Go to telegram.org and download Telegram Desktop for Linux 64 bit
  2. Decompress, allow execute permissions and run application in local folder
  3. Alternatively you can copy the "Telegram" folder into the /opt folder and run

Actual results:

When Telegram is run, status icon is displayed in the system status area.

ubuntu1710-tgstatusicon

Additional info:

omkarnathsingh commented 6 years ago

I had upgraded from Ubuntu 17.04 to 17.10. In Xorg, everything seems fine. Problem is only in Wayland. Consulting various people, I have found that people who upgraded are facing issues. I am expecting fixes soon.

Aokromes commented 6 years ago

here they say gnome don't must use tray icon https://github.com/telegramdesktop/tdesktop/issues/2191

zarinfam commented 6 years ago

https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/1712866

omkarnathsingh commented 6 years ago

Issue fixed in Ubuntu in latest fix update.

github-actions[bot] commented 3 years ago

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.