Bug #1973
closedThe first autoopened message in non-focused window is marked read
100%
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.
Updated by 0xd34df00d almost 9 years ago
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?
Updated by 0xd34df00d almost 9 years ago
- 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.
Updated by krigstask almost 9 years ago
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™).
Updated by 0xd34df00d almost 9 years ago
- 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 :)
Updated by 0xd34df00d almost 9 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset main|99dd9273102de443dc7167c3ee4c586f6828faf0.
Updated by krigstask almost 9 years ago
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
Updated by 0xd34df00d over 7 years ago
So is there anything else remaining for this ticket?
Updated by krigstask over 7 years ago
I believe there isn't.
Usually you close issues yourself =)
Updated by 0xd34df00d over 7 years ago
- Status changed from Resolved to Closed
Sure! I just wanted to double-check I haven't missed anything.