Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: Azoth
Target version:
Start date:
01/31/2016
Due date:
% Done:

100%

Estimated time:
2:00 h
Reported in:
master

Description

If Azoth window isn't focused, user usually can't have read the newly arrived message.

  1. If there's an opened chat tab, and new message arrives there, it isn't marked as read (MaR).
  2. If there's an opened chat tab, message from another contact arrives and is auto-opened, it isn't MaR.
  3. 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.

Actions #1

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?

Actions #2

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.

Actions #3

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™).

Actions #4

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 :)

Actions #5

Updated by 0xd34df00d almost 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #6

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

Actions #7

Updated by 0xd34df00d over 7 years ago

So is there anything else remaining for this ticket?

Actions #8

Updated by krigstask over 7 years ago

I believe there isn't.
Usually you close issues yourself =)

Actions #9

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.

Actions

Also available in: Atom PDF