Bug #1973
closed
The first autoopened message in non-focused window is marked read
Added by krigstask almost 9 years ago.
Updated over 7 years ago.
Description
If Azoth window isn't focused, user usually can't have read the newly arrived message.
- If there's an opened chat tab, and new message arrives there, it isn't marked as read (MaR).
- If there's an opened chat tab, message from another contact arrives and is auto-opened, it isn't MaR.
- But if no chat tabs are open, newly arrived message is auto-opened and MaR
In all described cases Azoth window isn't active/focused.
If Azoth window isn't focused, user usually can't have read the newly arrived message.
That's not so obvious, but I agree the described cases should manifest consistent behaviour.
If there's an opened chat tab, message from another contact arrives and is auto-opened
Is the tab automatically selected or is it opened in the background?
- Subject changed from [Murm] the first autoopened message in non-focused window is marked read to The first autoopened message in non-focused window is marked read
I guess it's not Murm's fault.
0xd34df00d wrote:
If Azoth window isn't focused, user usually can't have read the newly arrived message.
That's not so obvious but I agree the described cases should manifest consistent behaviour.
You mean that actual user could have read actual message in non-focused window? Sure, but Azoth considers messages read only if the window is focused, doesn't it? So yes, I'm all for more consistent behaviour.
If there's an opened chat tab, message from another contact arrives and is auto-opened
Is the tab automatically selected or is it opened in the background?
New tab is opened in the background (which is The Right Thing™).
- Category set to Plugins: Azoth
- Status changed from New to Assigned
- Assignee set to 0xd34df00d
- Target version set to 0.6.75
- Estimated time set to 2:00 h
Sure, but Azoth considers messages read only if the window is focused, doesn't it? So yes, I'm all for more consistent behaviour.
Me too, but an configuration option could be added for that (which I'm too lazy to do at the moment, though).
New tab is opened in the background (which is The Right Thing™).
This is actually already configurable :)
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Thanks for fixing that!
0xd34df00d wrote:
Sure, but Azoth considers messages read only if the window is focused, doesn't it? So yes, I'm all for more consistent behaviour.
Me too, but an configuration option could be added for that (which I'm too lazy to do at the moment, though).
Hm, like what? "Behave consistently"? (-:E
Or is there any way to determine was the message read?
New tab is opened in the background (which is The Right Thing™).
This is actually already configurable :)
As per #1364, requested by me? (-:E
So is there anything else remaining for this ticket?
I believe there isn't.
Usually you close issues yourself =)
- Status changed from Resolved to Closed
Sure! I just wanted to double-check I haven't missed anything.
Also available in: Atom
PDF