Bug 434965 - Read messages count doesn't disappear until you type something
Summary: Read messages count doesn't disappear until you type something
Status: REPORTED
Alias: None
Product: Ruqola
Classification: Applications
Component: frontend (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-26 10:29 UTC by Angel Docampo
Modified: 2021-03-26 12:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
unread messages counter doesn't disappear (2.48 MB, video/mp4)
2021-03-26 10:29 UTC, Angel Docampo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angel Docampo 2021-03-26 10:29:54 UTC
Created attachment 137074 [details]
unread messages counter doesn't disappear

SUMMARY
When you have new messages and read them, the unread messages counter isn't disappearing until you answer on the chat, which I found is not normal, as you have in fact read the messages.

STEPS TO REPRODUCE
1.  Say someone to chat while you are not in the same channel
2.  See how the unread counter shows you have unread messages
3. Enter the chat channel where you have unread messages

OBSERVED RESULT
Unread messages counter doesn't disappear and channel is still highlighted as if it had unread messages.


EXPECTED RESULT
Unread messages counter should disappear as soon as you enter the chat, or at least, as soon as you reach the end of the conversation, not just when you send a message back to the channel.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Laurent Montel 2021-03-26 10:55:08 UTC
We discussed with some users and we decided to keep as it.
For example if you go to vacation you come back 2 weeks after you will launch ruqola, you don't want to mark directly as read when you open channel.
You can press ESC if you want to mark as read.
Comment 2 Angel Docampo 2021-03-26 11:45:41 UTC
Well, if people looks nice this behaviour, I'm no one to say the contrary ;) but If I come back from holidays, I'm not gonna read 2 weeks of logs, only if I've been mentioned, I would jump to that message block.

I guess the best approach is what Mattermost or even RC does: when you click on a channel, it shows the first unread message and if the user wants to read everything, there is no need to scroll up to the red line, and there is a button to go to the last message and other to mark as read.

I think ruqola shows the newer message when you click on a channel, not the older unread, isn't it? 

Anyway, is nice to know the Esc hotkey trick.
Comment 3 Laurent Montel 2021-03-26 12:02:46 UTC
(In reply to Angel Docampo from comment #2)
> Well, if people looks nice this behaviour, I'm no one to say the contrary ;)
> but If I come back from holidays, I'm not gonna read 2 weeks of logs, only
> if I've been mentioned, I would jump to that message block.
> 
> I guess the best approach is what Mattermost or even RC does: when you click
> on a channel, it shows the first unread message and if the user wants to
> read everything, there is no need to scroll up to the red line, and there is
> a button to go to the last message and other to mark as read.
> 
> I think ruqola shows the newer message when you click on a channel, not the
> older unread, isn't it? 
> 
> Anyway, is nice to know the Esc hotkey trick.


Yep it shows the newer.
I want to implement "show last unread message" in the future
Comment 4 Angel Docampo 2021-03-26 12:44:35 UTC
(In reply to Laurent Montel from comment #3)
> Yep it shows the newer.
> I want to implement "show last unread message" in the future

You mean "first" unread message, I guess. That would be very useful, indeed!