teams-for-linux
teams-for-linux copied to clipboard
Tray Icon not displaying unread messages
Hi, Sometimes the tray icon does not display the notifications (unread messages) until I click on the Team Window to put it in foreground, then all notifications are shown. This is a random issue.
Could be linked to this error displayed in the console: (teams-for-linux:134654): libnotify-WARNING **: 09:42:42.489: Failed to connect to proxy
I'm using v1.0.24 on Ubuntu 20.04 and XFCE. Thanks.
Same issue here actually and its a big problem for me. I also randomly don't get notifications if Teams is running in the background. When I put the Teams window into the foreground for some time, the notifications are displayed.
At least for me, this is a new issue that I started seeing about 1.5 weeks ago. The likely trigger is probably a change on the Microsoft side (changes in the HTML or the scripts).
Do you have any idea how I could debug this issue?
I believe this is a limitation on electron and how it handles the "focus". Basically the browser still think is in focus when you got it minimised. Can you confirm this is basically what you are seeing? Basically, you would get notifications for the channel you are in, as it thinks you are "seeing it"
Hi @IsmaelMartinez, I know this limitation, the workaround is to leave the Chat panel before minimizing Teams. My issue happened even when the Chat panel is not opened. And I confirm what @chrihoff said: "I started seeing about 1.5 weeks ago".
Thanks @IsmaelMartinez for your ideas.
Meanwhile, I also started Teams in my browser (chromium) and noticed the exact same behaviour. I would expect the title of the browser tab to change to show e.g. "(1)" in the beginning of the window title if there is one new notification / message from someone. But this only happened once I put the browser tab in focus. The title didn't change as long as the browser tab was running in the background. In that sense, it is very similar to the problem I am now seeing with Electron.
Yesterday, I even saw the same problem with the official teams client from Microsoft for Linux: notifications were sporadically only visible after the Teams app was in focus.
Since I have observed the issue now on so many different clients (browser, teams-for-linux and the official Linux client), I am starting to suspect that its a new MS Teams issue. For now, I have enabled the developer preview of Teams (Settings -> About -> Developer Preview) to see if maybe the problem was fixed there.
if it happens on the browser, then is MS issue. Apologies but little we can do from here :/ (Not the 1st time something liek this happens)
@jftempo @chrihoff what I found is that it's related to icon theme. Not sure how to fix.
Duplicate of #506
I can confirm that the tray icon works as expected both on the Flatpak and .deb version for me
System: Pop!Os 22.04 Gnome 42.4 on X11
It might be system specific? Post your combination of OS, version, Desktop environement with version and Display manager... it might be helpfull for the devs :)
What I found is interesting. It has something to do with the binary name. teams-for-linux
some how conflicts with icon theming. As far as I know this and #506 can't be fixed unless the binary name is changed.
It's not related to flatpak.
Closing due inactivity. Ping if required reopen
FYI, thanks to the recent update to a newer Electron version I was for the first time able to see an unread message indicator on the tray icon on KDE, using the Tela icon theme and the Flatpak version of teams-for-linux. :)
FYI, thanks to the recent update to a newer Electron version I was for the first time able to see an unread message indicator on the tray icon on KDE, using the Tela icon theme and the Flatpak version of teams-for-linux. :)
Lifetime achievement :laughing:
FYI, thanks to the recent update to a newer Electron version I was for the first time able to see an unread message indicator on the tray icon on KDE, using the Tela icon theme and the Flatpak version of teams-for-linux. :)
Also now other DEs started crying :rofl: