The tray icon should update its state that a notification was shown even in the case Franz is hidden in the background.

I need to keep Franz's window open otherwise I can see only system notification but no tray icon update.

I have 3 services - Slack & WhatsApp & Hangouts.
Unfortunately I don't know at this time whether the issue is present for WA&HG as well but definitely for Slack.
I had this issue also in beta18.
OS: Arch 4.19.8
DE: KDE Plasma 5.14.4-2
After updating to Franz 5.0.0_beta.21-1 all is working again.
The issue is still present in beta.22.
Funny thing, now it's broken for me, again.
Last time I double-checked it with two reminders.
Reminder played its sound, tray got updated.
Now the tray icon doesn't get updated and only updates itself when I open Franz.
4.19.8-arch1-1-ARCH (same as before)
KDE Plasma 5.14.4-2 (same as before)
Franz 5.0.0_beta.22-1 (new version, up from 21-1)
same here, version 5.1.0 (5.1.0.1334)
OS: macOS 10.14.4 (18E226)
I changed from KDE Plasma to Xfce, still not showing up.
Linux: 5.0.9-arch1-1-ARCH
Panel: xfce4-panel 4.12.2-1
Franz: 5.0.1-1
@adlk @DominikGuzei have you got any chance to investigate this problem?
I've experimented a bit, and this seems to only happen for Slack. I get the tray icon dot for messages from Gitter while Franz is hidden, but not for Slack.
I think possibly Slack has some kind of "power saving" feature where it won't update the DOM when it's in the background, meaning Franz doesn't see any unread message badge when it checks for one.
It might be possible to trick Slack into thinking that it's in the foreground, but that might have other side effects, like marking messages in the selected channel as read.
Yes,
Slack uses a lot of lazy loading:
https://slack.engineering/making-slack-faster-by-being-lazy-88da4481baa7
https://www.infoq.com/presentations/slack-scalability/
I just noticed this some weeks ago (although these articles are a lot older),
because when I opened a Slack Workspace in a background tab,
I had to tab into it to actually load it.
But only 3 folks posted/commented in here,
two with Arch and one with MacOS,
so seems to be not that big of an issue
or a problem with Slack?
Most helpful comment
I've experimented a bit, and this seems to only happen for Slack. I get the tray icon dot for messages from Gitter while Franz is hidden, but not for Slack.
I think possibly Slack has some kind of "power saving" feature where it won't update the DOM when it's in the background, meaning Franz doesn't see any unread message badge when it checks for one.
It might be possible to trick Slack into thinking that it's in the foreground, but that might have other side effects, like marking messages in the selected channel as read.