After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 713165 - Messages appear unread then read when first switching to a folder
Messages appear unread then read when first switching to a folder
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: engine
master
Other All
: Normal normal
: 0.13.0
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-03 06:21 UTC by Jim Nelson
Modified: 2019-02-15 03:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Charles Lindsay 2013-11-21 20:18:59 UTC


---- Reported by jim@yorba.org 2013-06-03 11:21:00 -0700 ----

Original Redmine bug id: 7029
Original URL: http://redmine.yorba.org/issues/7029
Searchable id: yorba-bug-7029
Original author: Jim Nelson
Original description:

Charles has noticed this multiple times. The latest was reproduced something
like this:

  1. Leave Geary open
  2. Read messages in a folder via Gmail interface
  3. Wait an extended amount of time
  4. Return to Geary. Open the folder

At first Geary will show the messages as unread. Only after a moment do they
appear as read. No actual bug (the flag appear correctly after they're
updated), but a slight visual disturbance to the user.

The problem (I think) is that the background AccountSynchronizer only
synchronizes message contents but doesn't update their flags when examining
the folder; this was one step in helping with our 100% CPU problem a while
back. Thus, the database keeps up-to-date with messages (which appear
instantly when switching to the folder) but not their flags. They're updated
only when the client switches to the folder where a "full" normalization pass
is performed.

It probably makes sense for the background synchronizer to occassionally do a
full background normalization pass, to get the flags synchronized.

Related issues:
duplicated by geary - 7053: when switching folders, messages read in
another client s... (Duplicate)



---- Additional Comments From geary-maint@gnome.bugs 2013-10-03 17:53:00 -0700 ----

### History

####

#1

Updated by Charles Lindsay about 1 month ago

  * **Target version** changed from _0.4.0_ to _0.5.0_



--- Bug imported by chaz@yorba.org 2013-11-21 20:19 UTC  ---

This bug was previously known as _bug_ 7029 at http://redmine.yorba.org/show_bug.cgi?id=7029

Unknown milestone "unknown in product geary. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Michael Gratton 2019-02-15 03:08:58 UTC
Fixed by https://gitlab.gnome.org/GNOME/geary/merge_requests/107