Giter Site home page Giter Site logo

Wrong number of unread messages about firetray HOT 11 OPEN

foudfou avatar foudfou commented on August 19, 2024
Wrong number of unread messages

from firetray.

Comments (11)

foudfou avatar foudfou commented on August 19, 2024

Hi, would it be possible to narrow down the problem ? Is there a reproductible situation where you read the last unread message, and the count doesn't get to zero ?
Also do you see any errors in the console (Tools > Error console) ?
Do you have pop3 accounts ?

from firetray.

cowst avatar cowst commented on August 19, 2024

Thanks for the reply.
First of all, I tried with to toggle any other account and it removes the "extra" unread message as well.
It did not happen anymore though, and I cannot reproduce it.
My accounts are all IMAP.
If it happens again, I will check the error console.

from firetray.

cowst avatar cowst commented on August 19, 2024

hi, i just had it again.
2 messages in the gmail inbox, they normally are unread also in Archives->account name (equivalent to Gmail All mails) and recently also Important folder.
however, when you read them in the inbox, they get read also in other folders.
so, i read the 2 messages in the inbox, but 2 were unread in Archives. i went into the folder and they got read, but i still have the counter at 2, and i cannot see unread messages anywhere.
if i (de)select any account, the counter resets to 0.

In error console i have errors, but are mostly of this kind:
Warning: Error in parsing value for 'background'. Declaration dropped.
Source File: https://a248.e.akamai.net/assets.github.com/stylesheets/bundle_github.css?99766cdb718bb9086adb2a9afccc6a0e735e5f3b
Line: 1

from firetray.

kxenator avatar kxenator commented on August 19, 2024

I can confirm the same behaviour. Sometimes I have no unread messages, but the counter shows 1 or 2 unread messages. The counter drops back to 0 when I get a new message and this message get read.

from firetray.

foudfou avatar foudfou commented on August 19, 2024

Hi, I tried the following scenario:

  1. declare in TB a Gmail account with:
  2. set Imap server directory (server settings > advanced) to "[Gmail]"
  3. subscribe to the "Important" folder
  4. send 2 message to this account
  5. I see 2 unread messages in "Inbox" and "Important", Firetray v0.4.0a5 (with default preferences) displays "4"
  6. I read both in "Inbox". Firetray displays "2"
  7. I switch to the "Important" folder. Msg1 is displayed as read, msg2 is displayed as unread. Firetray displays "1" (as TB does for the "Important" folder)
  8. I "read" msg2 in "Important". TB and Firetray display "0".

I can't seem to reproduce the bug. Could you provide a list of steps so I can reproduce the bug ?
I also tried to play with the mail.imap.use_status_for_biff (general config) and Use IDLE command (advanced server config), without luck. I found this thread interesting:
http://forums.mozillazine.org/viewtopic.php?t=659463

from firetray.

foudfou avatar foudfou commented on August 19, 2024

Would the folder option "When getting new messages from this account, always check this folder" help in your situation ?
Check also mail.check_all_imap_folders_for_new and mail.server.default.check_all_folders_for_new (https://bugzilla.mozilla.org/show_bug.cgi?id=289208).
Please note also that, by default, Firetray-0.4.0a5 skips folder of type "Archive" when counting unread messages.

from firetray.

shoalcreek5 avatar shoalcreek5 commented on August 19, 2024

In the 0.3.5 version which I downloaded, I've had a similar issue show. When adding an imap account from Gmail, TB 9 automatically subscribed to the Account>Gmail>Spam folder. The add-on automatically counted the emails in this folder even though the option to not count "Spam" folder emails was checked. I won't file a separate bug report because I can easily work around by unsubscribing the Spam folder and I am otherwise thrilled with the functionality of this extension, but I wonder if what I noticed may not somehow be related to the reported issue.

from firetray.

kxenator avatar kxenator commented on August 19, 2024

OK, I checked what shoalcreek5 wrote and it seems that my problem with wrong number of unread messages is also connected with the Spam folder of my Gmail account. Messages in the Spam folder are counted even if it's not set to include this folder in the settings of the add-on.

from firetray.

 avatar commented on August 19, 2024

I think I have a similar issue, might even be the same. I don't really see an unread count, but my tray icon remains indicating I have unread messages and the "title" of the icon says "New messages !". I do have both POP3 (2) and IMAP (1) accounts, my only Junk folder is empty, and the Error panel of the console is empty. (Warnings have all sorts of CSS warnings, nothing seemingly serious.)

OS is Ubuntu 11.10, 64 bit, Thunderbird is 11.0, Firetray is version 0.4.1

from firetray.

kxenator avatar kxenator commented on August 19, 2024

How to reproduce it:

  1. add a Gmail account to TB
    (DON'T set Imap server directory (server settings > advanced) to "[Gmail]")
    So you have the following folders: Inbox, Drafts, ... and also [Gmail]/Inbox, ..., [Gmail]/Spam and so on
  2. "send" 2 messages to your Spam folder in Gmail account (for example through web interface)
  3. You should have indicated 2 unread messages
  4. read them
  5. still 2 unread messages indicated

Workaround: do what foudfou suggested -> 2. set Imap server directory (server settings > advanced) to "[Gmail]". Now it behaves as expected. Unread messages in Spam folder are not even indicated.

from firetray.

foudfou avatar foudfou commented on August 19, 2024

Is this issue still occurring with the last builds (say 1ec5ccf) ?

@kxenator, I tried to reproduce your scenario, but it doesn't occur for me. For point 2., on the web interface, I signal as spam some new unread messages in my Inbox, so they are sent to the [Gmail]/Spam folder. But I don"t get additional unread messages in the tray icon count. Did I miss something ?

First of all, TB recognizes [Gmail]/Spam as a junk folder, so Firetray doesn't count new/unread messages in it, unless you have selected Junk in the Included special folders option. Then this [Gmail]/Spam folder is for me relatively well in sync with the IMAP server.

I suspect Gmail's special folders like Important, All messages, Professional could be somehow related to the issue. But I need a reproducible scenario...

from firetray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.