Bug 440611 - [regression in Plasma 5.22] Telegram doesn't indicate messages in system tray
Summary: [regression in Plasma 5.22] Telegram doesn't indicate messages in system tray
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.22.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-04 21:33 UTC by Nick Stefanov
Modified: 2022-01-09 08:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Stefanov 2021-08-04 21:33:27 UTC
SUMMARY
Since a week or two Telegram doesn't indicate messages in system tray icon and one can't understand if there are new messages. I tried different versions but this does not help. The same version (the latest) is working without problems on Cinnamon, Gnome 3 and Xfce.

STEPS TO REPRODUCE
1. Start Telegram and wait to receive a message.
2. 
3. 

OBSERVED RESULT
Theres' no counter for received messages or some sign there are new messaged.

EXPECTED RESULT
Receive message counter in the system tray icon as it was in the past.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Comment 1 Felipe Kinoshita 2021-08-04 23:55:19 UTC
Can't confirm, telegram status icons are working fine here...
Comment 2 Nick Stefanov 2021-08-05 07:21:44 UTC
Plasma version?
Here you can see I have 17 messages but nothing in the tray icon:
https://i.imgur.com/9UFQ6fn.png
Comment 3 Nate Graham 2021-08-05 15:02:05 UTC
The System Tray icon is controlled by the app; no KDE code is involved here. So the problem is caused by a recently-introduced regression in Telegram itself, or a configuration issue on your side. Nothing we can do here, sorry.
Comment 4 Nick Stefanov 2021-08-05 15:25:04 UTC
Nope, I downgraded and tried different versions which used to work. For example I installed version 2.8 and it was working fine before, but now I have issues with it as well. I've tried even older versions that which I had no issuies with before, but now don't wotk either.
Comment 5 Nate Graham 2021-08-05 15:32:14 UTC
Like I said, there is no KDE code involved in how Telegram draws its own system tray icon. If Telegram itself is not at fault, the only other thing it could be is that you have installed an icon theme or a Plasma theme that overrides the standard icon with one that does not show a counter. Either way, a downstream issue. Nothing KDE can fix here, sorry.
Comment 6 Nick Stefanov 2021-08-05 16:07:34 UTC
I didn't install other theme or icons pack. I have backup with working Telegram systray icon. I restore fom it an then, without toching anything else, I just upgrade my system and the problem appears.
Comment 7 Nick Stefanov 2021-08-28 15:34:51 UTC
Hello, 
I installed Kotatogram - a Telegram fork. The problem is also present for this application either. So I think it's not a Telegram problem. If I downgrade Plasma, it fixed the problem.
Comment 8 Nate Graham 2021-08-28 16:43:02 UTC
Which Plasma version did you downgrade to where the tray icon showed up as you expected?
Comment 9 Nick Stefanov 2021-08-28 17:27:11 UTC
With 5.21 it's working ok. I can take a screenshot with Kotatogram not having notifications too.
Comment 10 Nate Graham 2021-08-30 15:38:24 UTC
How did you install the app? Is it a distro-packaged app, or is it a Snap or Flatpak app instead? or some other means?
Comment 11 Nick Stefanov 2021-08-30 16:20:42 UTC
Both are distro-packaged apps. But it isn't the app version. I downgraded to the lower version possible to no avail. It used to work without any problems with v.2.6 for example (newest is 2.9.2) but now, when I downgrade to that version, it doesn't help and the problem is here. I even restored from backup to be sure it's not my system borked but the problem persists.
Comment 12 Nate Graham 2021-08-31 15:35:22 UTC
OK, thanks. To make sure I understand, the problem is that Telegram doesn't have a system tray icon, right?
Comment 13 Nick Stefanov 2021-08-31 18:06:48 UTC
It have system tray icon but doesn't indicate that you have new messages. On the sys tray icon there have to be a circle with digits which shows the number of your unread messages.

Here you can see I have 17 messages but nothing in the tray icon:
https://i.imgur.com/9UFQ6fn.png
Comment 14 Nick Stefanov 2021-10-18 09:26:07 UTC
Plasma 5.23 - the bug is still here.
Comment 15 Nick Stefanov 2021-10-29 08:01:46 UTC
Plasma 5.23.2 - the bug is still here. Does anyone really care? You even didn't ask me for a log or something :( I'll be happy to colaborate.
Comment 16 Felipe Kinoshita 2021-10-29 12:13:39 UTC
Your icon theeme doesn't look like breeze, could you try switching to breeze?
Comment 17 Nick Stefanov 2021-10-29 12:21:18 UTC
@Felipe Kinoshita Thank you for your reply!
Unfortunately changing the theme doesn't help:

https://i.imgur.com/7TYUmrS.png
Comment 18 Felipe Kinoshita 2021-10-29 12:45:12 UTC
As you can see here: https://i.imgur.com/O2p9Eah.png it works just fine for me, if we can't reproduce your issue we won't be able to solve it
Comment 19 Nick Stefanov 2021-10-29 13:13:04 UTC
It doesn't work for you too. Yes, with default breeze icons it shows a point but not a circle with number of unread messages. It's like that on every other DE and it used to work just the same on Plasma until 5.21.
Comment 20 Nick Stefanov 2021-10-29 13:47:33 UTC
It should be like that:
https://i.imgur.com/aD9CU6L.png

And it was on Previous Plasma versions too.
Comment 21 Nick Stefanov 2021-11-06 14:13:11 UTC
It's like that even on Windows... Plasma is the only DE with the wrong behaviour. And it used to work ok on it but recent updates broke it...
Comment 22 Nick Stefanov 2021-11-16 12:22:19 UTC
Plasma 5.23.3 - the bug is still here.
Comment 23 Nick Stefanov 2022-01-09 08:30:50 UTC
It fixed itself somehow.
Comment 24 Felipe Kinoshita 2022-01-09 08:33:13 UTC
nice!