Project

General

Profile

Bug #1973

The first autoopened message in non-focused window is marked read

Added by krigstask over 4 years ago. Updated over 3 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.

#1

Updated by 0xd34df00d over 4 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?

#2

Updated by 0xd34df00d over 4 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.

#3

Updated by krigstask over 4 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™).

#4

Updated by 0xd34df00d over 4 years ago

  • Estimated time set to 2.00 h
  • Target version set to 0.6.75
  • Assignee set to 0xd34df00d
  • Status changed from New to Assigned
  • Category set to Plugins: Azoth

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

#5

Updated by 0xd34df00d over 4 years ago

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

Updated by krigstask over 4 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

#7

Updated by 0xd34df00d over 3 years ago

So is there anything else remaining for this ticket?

#8

Updated by krigstask over 3 years ago

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

#9

Updated by 0xd34df00d over 3 years ago

  • Status changed from Resolved to Closed

Sure! I just wanted to double-check I haven't missed anything.

Also available in: Atom PDF