Bug #1079

avatar

Unread counter counts from old session after /shutdown

Added by Lex Black 3373 days ago. Updated 3368 days ago.

Status:New Start:08/29/2015
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-
Complexity:

Found in Version:

Votes: 0

Description

Kinda a follow-up on #1064 (and I did it recognize it back then, but forgot to add a report)

Starting a new smuxi-server session sets the "Last read"-line into the old session. If someone was talking this also sets the unread counter.

1440881524.png - I joined at 21:23 as Narrat, but the red line points to the last session (234.5 KB) Lex Black, 08/29/2015 11:10 PM

History

Updated by Mirco Bauer 3373 days ago

avatar

That the last seen message is remembered even across engine/session restarts is a feature though. What is wrong in this situtation? That you could read the unseen messages while Smuxi wasn't running? :-D

Updated by Lex Black 3372 days ago

avatar

Ah, ok.
I suppose I'm kinda "If I didn't read it back then, I don't want to be bothered with it on next start".
But as it is a feature (and after I checked for it explicitly and indeed no issue and behaves like you explained) this can be closed.

Updated by Lex Black 3369 days ago

avatar

Now I had a situation, where it didn't work like it expected.
My last message before quiting was on next start presented as an unread message.

Updated by Mirco Bauer 3369 days ago

avatar

That can happen when the frontend loses the connection unexpectedly from the engine. Was that the case? It only updates the last seen message when switching away from a chat or on clean disconnect/quit.

Updated by Lex Black 3368 days ago

avatar

IIRC I wrote the message and without window switching issued /shutdown

Updated by Mirco Bauer 3368 days ago

avatar

Oh /shutdown, yes this is probably a corner-case and with that a bug. The engine is shutting down and the frontend disconnects but doesn't quit. If this is reproducible it should be fixed. Thanks for the intel!

Updated by Mirco Bauer 3368 days ago

avatar
  • Subject changed from Unread counter counts from old session to Unread counter counts from old session after /shutdown

Also available in: Atom PDF