Unread email counts do not display until "said" folders are clicked to display correct counts

UNCONFIRMED
Unassigned

Status

UNCONFIRMED
13 years ago
3 years ago

People

(Reporter: mozilla.org, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Build Identifier: 2005120115

I am using TB with the Global account setting to randomly POP 20 email accounts, and then filters are in place to move email to necessary folders and sub-folders.
If email comes in and is moved by the filter to folder "X"; folder "X" will not be bolded nor show the count of unread emails with in this folder.
When you click on the folder to (assumed) read previously "marked read" emails the folder name goes to bold and the correct count of unread mail messages will change to a "(#)" count (where the # is the correct number of unread messages).

Another thing I have learned: I copy my profile folder from one PC to a USB thumb drive and then to another PC, and upon the 1st launch of the freshly copied data is when this occurs.
In order words: if I keep the email on one PC and shut off the PC, reboot the PC, etc, the error does not occur.  But, once I copy the files to another PC, the problem occurs every time.

Reproducible: Sometimes

Steps to Reproduce:
1. Use TB, copy files to USB drive, copy files to new PC, launch TB

Actual Results:  
* copy profile directory to USB drive
* copy profile directory to a PC
* launch TB and watch unread message counts not display in a folder with new messages


Expected Results:  
click on folder with unread messages, the count is then created when the folder is clicked

The unread message count should increment correctly under all circumstances

Comment 1

13 years ago
Related to/duplicate of bug 283756 or bug 261201?
(Reporter)

Comment 2

13 years ago
RE bug 283756:
* I do not have issues with the count when manually adding new emails or when existing emails are marked read
* Also, I only uses one Global Profile, and do not switch profiles or have any additional users of TB on any machines I use.

RE bug 261201:
* My folders are bolded or showing a count until I click on them
* I do not have any emails changed to read automatically.  The only time they get marked read is if I double click and open the email (or if I delete the unread message, then TB marks as read in the same process of moving the item to the "trash")

If anything, this is closest to #261201, but I will leave that to the developers to let me know if it is considered the same.

Comment 3

12 years ago
I have a similar issue, but I do not use the Global Folders. I use a 4 POP accounts, each feeding their own set of folders. The problem only occurs on one of the secondary accounts. When new mail arrives, sometimes but not always, the unread counter does not increment enough. When I then select the offending Inbox, the unread counter suddenly changes to the correct value.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3pre) Gecko/20070319 Thunderbird/2.0pre ID:2007031904

Comment 4

12 years ago
Also happening on a brand new profile.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 ID:2007032620

Comment 5

12 years ago
As a possible clue, when the counter goes wrong, I often notice I have just received mail that a filter has either classified as Junk or moved straight into my Deleted/Trash folder.
QA Contact: front-end

Updated

11 years ago
Blocks: 438257
Assignee: mscott → nobody

Comment 6

10 years ago
Sincere apologies if this is not the same bug. 

 4 - IMAP Folders
TB version 2.0.0.16 (20080708)
win xp sp2 and sp3

Happens in all accounts.

New mail is sorted according to filters.  The mails that are new do not bold the inbox, or any sub folders until the inbox or folder is clicked and opened.

This is about to be a deal breaker as I now have to open all of my subfolders to "find" new mail.

As background, this behviour just started happening.  It didn't happen when we used POP3 accounts and I don't recall it happening when we first switched to imap.  The IMAP accounts are also accessible using Horde Webmail although this is not our usual way of accessing the accounts.
d2_c2: it's not the same if those are sever side filters. If so, using "check this folder for unread" in the folder context menu should help. (There is also mail.check_all_imap_folders_for_new)

Comment 8

9 years ago
(In reply to comment #7)
> d2_c2: it's not the same if those are sever side filters. If so, using "check
> this folder for unread" in the folder context menu should help. (There is also
> mail.check_all_imap_folders_for_new)

Looking at the date of the last comment, this may not be the right place for this but I am hitting this exact issue in thunderbird 3.0.4 on Ubuntu 9.10. This is the first time I am using thunderbird.
I am connected to my mail server using IMAP. I have message filters to filter mail and move it to one of 3 subfolders. Sometimes the unread count of the folders is incremented correctly but most times I need to click on the folder and the unread message shows up.

I am using the firetray plugin as well. I noticed that the unread count of the inbox is incremented (I see this), then I suppose the filter is applied to the message and the message is moved from the inbox. This decrements the unread count on inbox (I see the increment and decrement happen quickly). However the new message does not appear as an unread message in any of the subfolders till the time I click on the subfolder.

I have checked "check this folder for unread" for all folders and have also set mail.check_all_imap_folders_for_new to true.

Thanks.

Comment 9

8 years ago
I have exactly the same problem in thunderbird 3.1.2. It's really annoying to click on all folders one by one whenever I get notification of new mail.

Comment 10

8 years ago
I set retention policy on many folders. The email count will not change unless I click on the folders. Thunderbird 3.1.5

Bryan

Comment 11

7 years ago
I have had this issue for months and was told compacting folders might sort it. 
It doesn't. 

It appears random. I have a lot of folders and subfolders and many rules to file email as it arrives. Every now and again some (not all) folders fail to show that they contain unread messages (the folder name is shown without bold emphasis and without an unread count until I select the folder, when both indications show).

THIS IS AN EXTREMELY SERIOUS BUG AS IT MEANS I AM LIABLE TO MISS IMPORTANT EMAILS UNTIL I HAPPEN TO BROWSE A FOLDER. THAT IS NOT ACCEPTABLE IN ANY EMAIL CLIENT.

I'm on Windows 7 SP-1 64bit

Here's my Thunderbird reporting info (Thunderbird > Help > Troubleshooting Information)

  Application Basics

    Name: Thunderbird
    Version: 6.0.1
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1
    Profile Directory: Open Containing Folder

              (Local drive)
    Application Build ID: 20110830105949
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig

  Mail and News Accounts
    account1:
      INCOMING: account1, , (none) Local Folders, plain, passwordCleartext

    account2:
      INCOMING: account2, , (pop3) mail.onetel.net.uk:995, SSL, passwordCleartext
      OUTGOING: smtp.virginmedia.com:465, SSL, passwordCleartext, true
      OUTGOING: smtp.virginmedia.com:465, SSL, passwordCleartext, false

    account3:
      INCOMING: account3, , (pop3) pop3.virginmedia.com:995, SSL, passwordCleartext
      OUTGOING: smtp.gmail.com:465, SSL, passwordCleartext, true
      OUTGOING: smtp.virginmedia.com:465, SSL, passwordCleartext, false

    account4:
      INCOMING: account4, , (pop3) mail.onetel.net.uk:110, plain, passwordCleartext
      OUTGOING: smtp.gmail.com:465, SSL, passwordCleartext, true
      OUTGOING: smtp.virginmedia.com:465, SSL, passwordCleartext, false
      OUTGOING: smtp.virginmedia.com:465, SSL, passwordCleartext, false

    account5:
      INCOMING: account5, , (pop3) pop.onetel.com:995, SSL, passwordCleartext
      OUTGOING: smtp.gmail.com:465, SSL, passwordCleartext, true

    account7:
      INCOMING: account7, , (pop3) pop3.onetel.net:995, SSL, passwordCleartext
      OUTGOING: smtp.gmail.com:465, SSL, passwordCleartext, true

    account8:
      INCOMING: account8, , (pop3) pop3.happybeing.com:995, SSL, passwordCleartext
      OUTGOING: smtp.gmail.com:465, SSL, passwordCleartext, true

    account10:
      INCOMING: account10, , (pop3) mail.thewebalyst.com:995, SSL, passwordCleartext
      OUTGOING: smtp.gmail.com:465, SSL, passwordCleartext, true

  Extensions

  Modified Preferences

    Name: Value

      accessibility.typeaheadfind.flashBar: 0
      extensions.lastAppVersion: 6.0.1
      font.name.monospace.el: Consolas
      font.name.monospace.tr: Consolas
      font.name.monospace.x-baltic: Consolas
      font.name.monospace.x-central-euro: Consolas
      font.name.monospace.x-cyrillic: Consolas
      font.name.monospace.x-unicode: Consolas
      font.name.monospace.x-western: Consolas
      font.name.sans-serif.el: Calibri
      font.name.sans-serif.tr: Calibri
      font.name.sans-serif.x-baltic: Calibri
      font.name.sans-serif.x-central-euro: Calibri
      font.name.sans-serif.x-cyrillic: Calibri
      font.name.sans-serif.x-unicode: Calibri
      font.name.sans-serif.x-western: Calibri
      font.name.serif.el: Cambria
      font.name.serif.tr: Cambria
      font.name.serif.x-baltic: Cambria
      font.name.serif.x-central-euro: Cambria
      font.name.serif.x-cyrillic: Cambria
      font.name.serif.x-unicode: Cambria
      font.name.serif.x-western: Cambria
      font.size.fixed.el: 14
      font.size.fixed.tr: 14
      font.size.fixed.x-baltic: 14
      font.size.fixed.x-central-euro: 14
      font.size.fixed.x-cyrillic: 14
      font.size.fixed.x-unicode: 14
      font.size.fixed.x-western: 14
      font.size.variable.el: 17
      font.size.variable.tr: 17
      font.size.variable.x-baltic: 17
      font.size.variable.x-central-euro: 17
      font.size.variable.x-cyrillic: 17
      font.size.variable.x-unicode: 17
      font.size.variable.x-western: 17
      mail.openMessageBehavior.version: 1
      mail.winsearch.firstRunDone: true
      network.cookie.prefsMigrated: true
      places.database.lastMaintenance: 1314971309
      places.history.expiration.transient_current_max_pages: 257378

  Graphics

    Adapter Description: NVIDIA Quadro FX 1800M
    Vendor ID: 10de
    Device ID: 0cbc
    Adapter RAM: 1024
    Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
    Driver Version: 8.17.12.7533
    Driver Date: 5-20-2011
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.1.7601.17563)
    WebGL Renderer: Google Inc. -- ANGLE -- OpenGL ES 2.0 (ANGLE 0.0.0.686)
    GPU Accelerated Windows: 2/2 Direct3D 10

Comment 12

7 years ago
This bug may be related to Bug 708618, where it is described with IMAP accounts.
(Reporter)

Comment 13

7 years ago
FWIW, I have been having this issue long before IMAP was common... and I still have it from time to time with and without IMAP being involved
Duplicate of this bug: 708618

Comment 15

5 years ago
Do you still see this when using a current version?
Flags: needinfo?(mozilla.org)
Whiteboard: [closeme 2014-01-15]

Comment 16

5 years ago
I am not seeing this issue any more, but when I originally commented I was using POP. I am now using IMAP. This means I can't really make any valid observation about my original set up.

Comment 17

5 years ago
I'm still seeing this issue using IMAP with Gmail.

Updated

5 years ago
Flags: needinfo?(mozilla.org)
Whiteboard: [closeme 2014-01-15]

Comment 18

3 years ago
I'm also still having this issue with company IMAP. Thunderbird 31.7.0 Xubuntu 15.04.

Comment 19

3 years ago
A temporary solution seems to be to right-click on each folder, then click on the checkbox "When getting new messages for this account, always check this folder". Still, it's very impractical to do this for every folder. Should this function be turned on by default? Thunderbird 31.7.0 Xubuntu 15.04 64-bit.

Comment 20

3 years ago
Same issue with gmail here. In 38.5.0 there is only "mail.server.default.check_all_folders_for_new" - hope it does the same.

Comment 21

3 years ago
A "Check all folders for new" option tends to cause performance issues for people with large numbers of folders, at least based on my experience with a similar choice in my ExQuilla addon. Even adding it as a user interface choice could generate lots of support issues with people who set this without understanding the performance implications.

Comment 22

3 years ago
How about enabling it by default for a limited amount of folders "mail.server.default.check_all_folders_for_new_max_by_default".
Additionally there could be a UI for that number and if there are more folders than this there could be a hint for the user. There could even be a priority on most viewed folders.

Comment 23

3 years ago
This is one of many cases where inherited folder properties would be the right solution. That would allow you fine control of exactly where this is implemented. Unfortunately nobody has come up with a decent UI for those, so they are rarely used. I hesitate to support some other solution.

Comment 24

3 years ago
ux-control key word?
You need to log in before you can comment on or make changes to this bug.