Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector does not mark a room as "read" until the mouse moves #1681

Open
dakrone opened this issue Jun 21, 2016 · 4 comments
Open

Vector does not mark a room as "read" until the mouse moves #1681

dakrone opened this issue Jun 21, 2016 · 4 comments
Labels
A-Read-Marker Green line showing how far _you_ have read A-Read-Receipts P2 T-Enhancement

Comments

@dakrone
Copy link

dakrone commented Jun 21, 2016

I switch to the vector tab in Firefox using the keyboard, read the messages, and then switch away.

However, if I don't move the mouse, Vector doesn't actually mark the room as "read".

It would be great if vector could mark the particular room as "read" when I entered the tab so I don't have to wiggle the mouse.

@ara4n
Copy link
Member

ara4n commented Jul 31, 2016

looks like we should be able to use the focus/blur events on window for this (http://stackoverflow.com/questions/1760250/how-to-tell-if-browser-tab-is-active). This should be fairly easy to do.

@ara4n
Copy link
Member

ara4n commented Jul 31, 2016

i suggest the heuristic here is that the window needs to have been focused for at least a few hundred ms before it's declared 'read'.

@remram44
Copy link
Contributor

It seems that there is currently a "few hundred ms" delay while reading, which is way too slow and means that scrolling through the unread messages will leave some of them marked unread.

@MadLittleMods MadLittleMods added A-Read-Marker Green line showing how far _you_ have read A-Read-Receipts labels Jun 17, 2021
@MadLittleMods
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Read-Marker Green line showing how far _you_ have read A-Read-Receipts P2 T-Enhancement
Projects
None yet
Development

No branches or pull requests

5 participants