RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.67k stars 10.66k forks source link

Presence indicator in the profile element stuck at away status #33789

Open Gummikavalier opened 3 weeks ago

Gummikavalier commented 3 weeks ago

Description:

Presence indicator in user profile element / menu gets stuck in Away status after idling for the predefined time.

This does not concern actual status visible to other users.

This happens very often but not always. I haven't been able to pinpoint exact way to reproduce reliably.

Steps to reproduce:

  1. Set the status to Online from the top left profile menu.
  2. Do not use the browser; wait that idle timeout turns the user status from Online to Away status
  3. Focus back on the browser and write couple of messages to any channel

Expected behavior:

Away status should change back to Online.

Actual behavior:

When you focus to RC browser window, status may flash very briefly (tens of milliseconds) into green but after that remains orange at Away status.

(The user's presence status is correct when checked by other users. The issue is purely local.)

Server Setup Information:

Client Setup Information

Additional context

Happens in both old and new preview UX.

Also happens in RC 7.0.0 rc.3.

reetp commented 6 days ago

Also happens in RC 7.0.0 rc.3.

Is it in v7.0.0 ?

If so I'll refer it to the team (though you have EE so have you contacted them internally?)

Gummikavalier commented 6 days ago

Yes, I checked now on our test system (RC 7.0.0) and I'm still seeing this too.

Yup, we do have EE but I quite often prefer GitHub because it may trigger answers from other RC maintainers too, which has been helpful in some obscure issues through the years.

Gummikavalier commented 2 days ago

I made a custom CSS change (cleanup), set the away timeout to one minute and follow the situation with RC 7.0.0 in production.

Screenshot from 2024-11-15 20-53-45