Introduce Freedesktop dbus notifications for Linux
Teams currently uses a custom notification which can't be controlled, and it breaks in tiling window managers such as Sway or i3. (Steals focus and position is always on the middle of the screen.)
Peter Roberts commented
I'm going back to the unofficial client because of this...
@Matt Styles I created an issue for the freezing bug here:
Yes, we would all prefer native notifications. But I would argue that if they leave non-native notifications as toggleable option then they should also the freezing bug with them.
I would also like to mention that the unofficial Teams client (created by just some guy not associated with Microsoft) uses native notifications and performs much better than the official client:
So we know it's more than possible to create a Teams client that doesn't lock up the entire desktop environment....
Matt Styles commented
The custom notifications are a big issue. Whenever one pops it locks up my whole computer for a second or so, and when I get multiple notifications that problem is multiplied, potentially freezing the computer for long periods. Please offer native notifications!
Correction to my latest comment. It seems inconsistent, maybe because of how the notifications are done (Such as title being changed after spawned?).
In other words, please just use dbus like every other application out there for Linux..
no_focus [title="Microsoft Teams Notification"]
for_window [title="Microsoft Teams Notification"] move absolute position 4812 px 1320 px
Can be adferd to your config to force it to not focus window and force a position. Probably needs some more tinkering to work on a multi monitor setup.
Yes, it looks pretty terrible with i3: https://docs.microsoft.com/answers/questions/3606/please-support-native-notifications.html
They are working on native notifications for MacOS, so I think there's some hope: https://microsoftteams.uservoice.com/forums/555103-public/suggestions/16941685-use-built-in-notifications-for-macos