View Issue Details

IDProjectCategoryView StatusLast Update
0005381SOGoWeb Mailpublic2021-09-07 18:59
Reporterdaniel.bub Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.2.0 
Fixed in Version5.3.0 
Summary0005381: Unread Mail Counter not refreshing
Description

The unread mail counter for the inbox is not decreasing, when opened in the Web Mail UI and unread messages in the inbox are read on another device. The messages will appear unread, while the indicator beside the folder in the navigation pane still shows the old counter. Also when clicking the refresh folder button. Only a refresh of the page will reload the counter.

Steps To Reproduce
  1. Open the Inbox with unread mails in it in the Web Mail UI. (Primary device) The counter beside the Inbox folder should correctly indicate the number of unread mails.
  2. On a second device mark the unread mails as read.
  3. On the primary device, the Inbox should refresh, based on the configured interval, and the mails should no longer be highlighted as unread in the content section. In the navigation pane, the folder will still indicate the old amount of unread messages.
Tagsangularjs, gui, inbox, mail, mailcow, sogo-2.0

Activities

Christian Mack

Christian Mack

2021-09-02 06:00

developer   ~0015429

What have you set for "Refresh view" in "Preferences" (= cog wheel) --> "General" ---> "General"?
What have you set for " Fetch count of unseen messages for all mailboxes" in "Preferences" --> "Mail" --> "General"?

daniel.bub

daniel.bub

2021-09-02 07:29

reporter   ~0015430

"Refresh view" ["Preferences" --> "General" ---> "General"] = 1 minute
"Fetch count of unseen messages for all mailboxes" ["Preferences" --> "Mail" --> "General"] = off

francis

francis

2021-09-03 17:57

administrator   ~0015435

I can't reproduce the issue. Do you have any JavaScript error in your console?

daniel.bub

daniel.bub

2021-09-06 08:52

reporter   ~0015437

There is no error in the JS console.

The screenshot bellow shows the situation: The inbox doesn't contain any unread messages any longer, but the counter doesn't reflect that.

screenshot.png (17,802 bytes)   
screenshot.png (17,802 bytes)   
rof

rof

2021-09-07 08:35

reporter   ~0015438

We have the same problem and there is no message in the console. Our settings differ (Refresh: 5min, Fetch count: on), but maybe it's the browser (Firefox) or the imap-server (dovecot)?! We didn't have the problem in older versions. Maybe it's the performance improvements (https://github.com/inverse-inc/sogo/commit/a9c6f09273e83bb7d270569b84784c739b5b8ae1 or https://github.com/inverse-inc/sogo/commit/0599922016dabeb5890277e12e36fcef6312250d)?

Related Changesets

sogo: master 2d25e180

2021-09-07 14:57

francis


Details Diff
fix(mail(js)): update unseen count when reaching zero

Fixes 0005381
Affected Issues
0005381
mod - UI/WebServerResources/js/Mailer/Account.service.js Diff File

Issue History

Date Modified Username Field Change
2021-09-01 14:56 daniel.bub New Issue
2021-09-01 14:56 daniel.bub Tag Attached: angularjs
2021-09-01 14:56 daniel.bub Tag Attached: gui
2021-09-01 14:56 daniel.bub Tag Attached: inbox
2021-09-01 14:56 daniel.bub Tag Attached: mail
2021-09-01 14:56 daniel.bub Tag Attached: mailcow
2021-09-01 14:56 daniel.bub Tag Attached: sogo-2.0
2021-09-02 06:00 Christian Mack Note Added: 0015429
2021-09-02 07:29 daniel.bub Note Added: 0015430
2021-09-03 17:57 francis Note Added: 0015435
2021-09-06 08:52 daniel.bub Note Added: 0015437
2021-09-06 08:52 daniel.bub File Added: screenshot.png
2021-09-07 08:35 rof Note Added: 0015438
2021-09-07 18:58 francis Changeset attached => sogo master 2d25e180
2021-09-07 18:58 francis Assigned To => francis
2021-09-07 18:58 francis Resolution open => fixed
2021-09-07 18:59 francis Status new => resolved
2021-09-07 18:59 francis Fixed in Version => 5.3.0