telegramdesktop / tdesktop

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

Telegram icon disappears from tray randomly #16241

Closed rado84-github closed 3 years ago

rado84-github commented 3 years ago

It doesn't happen always and nothing obvious as a cause, so I'm not even sure what's causing it to disappear but I'll write steps anyway...

Steps to reproduce

  1. Open telegram-desktop, do what you do.
  2. Cick the X button to minimize it to tray.
  3. Observe the icon disappearing from tray (while conky says the program is still running).

Expected behaviour

The tray icon should never disappear while the program is running.

Actual behaviour

It disappears in random principle.

Configuration

Operating system: Arch Linux. DE is Cinnamon 4.8.6.

Version of Telegram Desktop:

Installation source (Linux Only) - the official website / GitHub releases / flatpak / snap / distribution package: Community repository.

Used theme: The used theme was made by me, it's a derivative of Linux Mint's Y themes. I'm using that theme for 5 years already, never had any disappearing icons before. But still, I've attached it anyway, in case you need to test with it.

my-theme.zip

WM Theme: Mint-Y-Brownish-v4.4_for-Cinnamon_by-me (Window decoration: Cinnamox-Rhino) GTK Theme: Mint-Y-Brownish-v4.4_for-Cinnamon_by-me [GTK2/3] Icon Theme: Humanity-Dark

Logs: Insert log.txt here (if necessary)

IDK where to get telegram-desktop's logs, if any exist.

ilya-fedin commented 3 years ago

IDK where to get telegram-desktop's logs, if any exist.

~/.local/share/TelegramDesktop/log.txt

ilya-fedin commented 3 years ago

I can't reproduce that, works just fine in my environment.

rado84-github commented 3 years ago

I can see no errors in the log, so I'll have to wait until it happens again. As I said, it doesn't always happen.

ilya-fedin commented 3 years ago

@Aokromes can you add waiting for answer label so that it will be automatically closed if there won't be logs in 30 days?

rado84-github commented 3 years ago

It happened again a moment ago! As you can see from the screenshot, telegram is running and maximized but the tray icon missing. After killing telegram's process, this is the only error that makes sense in the log:

[2021.05.03 16:30:01] Native Notification Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.Notifications” on object at path /org/freedesktop/Notifications

I've attached the whole log text file as well.

log.txt Picture_created_03-05-2021_16-28-15

ilya-fedin commented 3 years ago

What's this red circle? Can you (install &) run d-feet, find Telegram at session bus (it will probably have 2-3 connections) and look at StatusNotifierItem value?

rado84-github commented 3 years ago

What's this red circle? Can you (install &) run d-feet, find Telegram at session bus (it will probably have 2-3 connections) and look at StatusNotifierItem value?

LOL, that's a traffic light, if take a closer look. Red light whenever there are new updates available, green light when there are none. The only thing related to telegram in d-feet is something called 1.999 and under "Matching rules" has this text: Picture_created_03-05-2021_17-09-44

Last moment edit: I had reported this to Cinnamon as well (bc I wasn't sure where the problem was) and just now they said it was a problem with their status notifier, so you can delete this issue, if you like.

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.