martinpl / tray-icons-reloaded

GNOME Shell extension which bring back Tray Icons to top panel, with additional features.
GNU General Public License v3.0
481 stars 29 forks source link

No tray Icon after Telegram latest update #98

Open rromoli opened 1 year ago

rromoli commented 1 year ago

Hi, I repost here a bug of Telegram's tray icon... This in the original post: https://github.com/telegramdesktop/tdesktop/issues/25098

Steps to reproduce

  1. lunch Telegram both from Application menu and CLI (flatpak run org.telegram.desktop)

Expected behaviour

Open app and visible tray icon on top of the Gnome bar

Actual behaviour

No tray icon

Operating system

Fedora 36 x86_64, kernel 5.19.14, Gnome 42.5 on wayland

Version of Telegram Desktop

4.2

Installation source

Flatpak

Logs

qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
error: : cannot open
error: : cannot open
error: : cannot open
qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
qt.svg: Error while inflating gzip file: SVG format check failed

Any ideas about the issue?

hrqmonteiro commented 1 year ago

If telegram is running in wayland it will not appear. This extension does not support tray if apps running in wayland

What the hell do you mean? I am on Wayland and dozen of icons appear on the tray (?)

And also Telegram Icon appears on this extension, so why doesn't it appear on Tray Icons Reloaded?

lfom commented 1 year ago

Telegram desktop app for Linux uses Qt, and the newer versions will run natively on Wayland, this will prevent TIR to display its tray icon, unfortunately. As a workaround, you can force it to run on Xwayland:

env QT_QPA_PLATFORM=xcb /path/to/Telegram