6.0.0-alpha12
6/12/25

[#11427] Message seen flag not permanently set
Summary Message seen flag not permanently set
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org, slusarz (at) horde (dot) org
Requester jan (at) horde (dot) org
Created 09/16/2012 (4652 days ago)
Due
Updated 10/15/2012 (4623 days ago)
Assigned 10/02/2012 (4636 days ago)
Resolved 10/15/2012 (4623 days ago)
Github Issue Link
Github Pull Request
Milestone 6
Patch No

History
10/15/2012 10:47:15 AM Jan Schneider Comment #6 Reply to this comment
Indeed, I didn't experience this anymore recently.
10/15/2012 05:31:49 AM Michael Slusarz Comment #5
State ⇒ Resolved
Reply to this comment
This would not be an issue with the session closing, since the message 
is marked seen before we close the session.

Given the changes in the IMAP library and the keyboard navigation code 
since this was reported, that may have resolved this issue.  If you 
can reliably reproduce, please reopen the ticket.
10/02/2012 12:32:14 AM Michael Slusarz Comment #4
Assigned to Jan Schneider
State ⇒ Feedback
Milestone ⇒ 6
Reply to this comment
Can you try disabling closing session (disable session closing in 
IMP_Contents#_fetchData()) and see if that fixes this?
09/25/2012 06:49:16 AM Michael Slusarz Comment #3 Reply to this comment
My guess this has something to do with the recent changes closing the 
session when loading the message data.  But I have yet to be able to 
reproduce.
09/24/2012 09:08:05 AM Jan Schneider Comment #2 Reply to this comment
This is what I get from the backend exemplary:

POST:
add        1
flags        ["\\seen"]
msgload        {7}SU5CT1g294760,294770
token        d_UfLRPcj3hQYB0_tbW0zSA
uid        {7}SU5CT1g294779
view        SU5CT1g

294760 had already been loaded in the previous request. Response:

imp:viewport/data:

{"294779":{"flag":["unseen","personal"],"mbox":"SU5CT1g","uid":294779,"size":"2 KB","date":"23.09.2012","from":"An: webmaster@tip4all.de","subject":"Neue Ergebnisse"},"294774":{"flag":["unseen","personal"],"mbox":"SU5CT1g","uid":294774,"size":"2 KB","date":"23.09.2012","from":"An: webmaster@tip4all.de","subject":"Neue 
Ergebnisse"}}

Next poll response:
{"294779":{"flag":["unseen","personal"],"mbox":"SU5CT1g","uid":294779,"size":"2 KB","date":"23.09.2012","from":"An: webmaster@tip4all.de","subject":"Neue 
Ergebnisse"}}

And the message is marked unseen again.
09/16/2012 04:11:43 PM Jan Schneider Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Message seen flag not permanently set
Queue ⇒ IMP
Assigned to Michael Slusarz
Milestone ⇒
Patch ⇒ No
State ⇒ Assigned
Reply to this comment
This is not deterministic, so it's really hard to track down or 
reproduce, but since recently (around the time when the temporary 
session close during message preparation was added, though this could 
be coincidence), sometimes when I navigate through unseen messages, 
the message that I navigated away from, is turned unseen again.

Saved Queries