Idle detection seems incorrect

Andrew Schneider 6 Reputation points
2020-01-10T17:36:02.27+00:00

I'm running the teams client on Linux (xcfe4 on xubuntu 18.04). It would seem there is some kind of issue with the idle detection in the client. I first noticed it because I couldn't get any notifications on my Android client. When the Android client is set to notify 'Always, even if active on desktop', I get notifications. If its set to 'Only when inactive on desktop' I never get any.

I checked the log, here's an example:

Fri Jan 10 2020 09:28:28 GMT-0700 (Mountain Standard Time) <7288> -- info -- Is foreground set to false   
Fri Jan 10 2020 09:28:28 GMT-0700 (Mountain Standard Time) <7288> -- event -- duration: 2.569000005722046, name: desktop_foreground_duration, vdiMode: 0, eventpdclevel: 2,    
Fri Jan 10 2020 09:31:05 GMT-0700 (Mountain Standard Time) <7288> -- info -- Machine has been idle for 0 seconds   
Fri Jan 10 2020 09:31:06 GMT-0700 (Mountain Standard Time) <7288> -- event -- eventData: s::;m::1;a::4, inactiveTime: 0, name: machineState, vdiMode: 0, eventpdclevel: 2,    
Fri Jan 10 2020 09:33:35 GMT-0700 (Mountain Standard Time) <7288> -- info -- Machine has been idle for 0 seconds   
Fri Jan 10 2020 09:36:05 GMT-0700 (Mountain Standard Time) <7288> -- info -- Machine has been idle for 0 seconds   
Fri Jan 10 2020 09:38:35 GMT-0700 (Mountain Standard Time) <7288> -- info -- Machine has been idle for 0 seconds   
Fri Jan 10 2020 09:41:05 GMT-0700 (Mountain Standard Time) <7288> -- info -- Machine has been idle for 0 seconds   
Fri Jan 10 2020 09:43:35 GMT-0700 (Mountain Standard Time) <7288> -- info -- Machine has been idle for 0 seconds   
Fri Jan 10 2020 09:43:54 GMT-0700 (Mountain Standard Time) <7288> -- info -- emit status indicator state change from Unknown to NewActivity   
Fri Jan 10 2020 09:43:54 GMT-0700 (Mountain Standard Time) <7288> -- info -- Added NewActivity (current state: Unknown -> NewActivity)   
Fri Jan 10 2020 09:43:54 GMT-0700 (Mountain Standard Time) <7288> -- info -- OS Platform:linux, Release value: 4.15.0-65-generic, Notification type: 17, sourceThreadId: 19:7029d2a8-32a0-4d53-bde5-32a667761daa_acb4d781-2811-47ae-b946-dfd32413a16d@unq.gbl.spaces, messageId: 1578674634231   

I stopped using my machine at 09:28 and didn't use it again until well after 09:43 when I received a message. I got no notifications on my Android client when that happened. You can see its saying it was idle for 0 seconds multiple times when in fact, it was idle.

For comparison, I was also running the linux Slack client at the same time. It correctly registers 'idleness' on my machine and appropriately forwards notifications.

Skype for Business Linux
Skype for Business Linux
Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.Linux: A family of open-source Unix-like operating systems.
456 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,081 Reputation points Microsoft Vendor
    2020-01-13T08:52:28.423+00:00

    Thanks for your feedback. I test this in my lab. The result is the same. It seems a bug.


  2. Tim Harman 1 Reputation point
    2022-02-08T21:39:02.613+00:00

    Thanks for sharing this. This is why I haven't been getting notifications on my Android phone, because I keep a Teams session live on my Linux desktop at home. I'll have to remember to sign it out all the time now. Alas.

    0 comments No comments