Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

new mail not shown when minimized in 0.4.1 (pop3) #20

Closed
bldegroot opened this issue Mar 19, 2012 · 8 comments
Closed

new mail not shown when minimized in 0.4.1 (pop3) #20

bldegroot opened this issue Mar 19, 2012 · 8 comments
Labels

Comments

@bldegroot
Copy link

Hi,

I've been using firetray for ages and have been very happy with it. I just changed to thunderbird 10 and needed to upgrade firetray accordingly, to 0.4.1. Since then, the icon does not indicate any more when there is new mail in the minimized state, even though firetray is set up this way. I'm using linux and pop3 email, and thunderbird is set up to check every minute for new email, and download messages from the server when pressing "get mail". Previous versions (up to 0.3.5) used to faithfully show the number of new messages on the server, but the new version only shows that there is new email after pressing "get mail", which defeats the purpose, as I'd like to be notified by the icon when and how much new email has arrived on the server. I am not sure if this is a thunderbird or a firetray issue, but any ideas on how to resolve it would be greatly appreciated!

@foudfou
Copy link
Owner

foudfou commented Mar 19, 2012

Hi, thanks for reporting.
Are we talking about new or unread messages ?
If new, then FireTray only allows to display a biff. See KNOWN BUGS

If unread, then this looks like a bug indeed.
Do you confirm you have the following options set in the mail preference pane: "new messages", "display new message count" ?
Are there errors in the JS-Console (Tools>Error Console) ?

@bldegroot
Copy link
Author

Hi, thanks for the quick reply!

We're talking about new messages. I'd be totally OK with just a biff/icon change, but this does not happen upon arrival of a new email. The icon only changes to "new mail" after pressing "Get Mail" (if there is new mail), whereas instead I would like the icon to show me when new mail arrives (which is how it used to work with previous versions). This happens irrespective of whether I use a custom icon or not.

The error console shows a number of issues, one of which looks directly related to FireTray:
WARN: firetray: Messaging already initialized.
resource://firetray/FiretrayMessaging.jsm

@foudfou
Copy link
Owner

foudfou commented Mar 19, 2012

The warning you get in the JS console is normal.

I just tested with: TB 10, FireTray 0.4.1, preference "new messages" and "display new message count" selected, a Gmail account accessed by POP, "check for new mail every 1 minute", "Automatically download new messages" set, and TB minimized to tray.
New mail is detected without pressing "Get Mail".

You could try to start TB with a different profile thunderbird -P and install FireTray only.
Also, make sure the server is not ignoring too frequent pop requests (try with pop delay = 15 minutes or longer).
Other than that, you may want to build with debug enabled and see if no ERRORs show up.
Could you also provide further informations ? For testing, could I get a POP account like yours ?

@bldegroot
Copy link
Author

Hi,

thanks for checking. I think the critical difference between your test setup and my setup is the "Automatically download new messages" option which I have switched off. My guess is that in your case new mail is actually only detected when downloading it to the client (in my case like I wrote it also switches to "New Mail" as soon as the new mail is downloaded, which in my case is after pressing "Get mail") and not when it arrives on the server.

It might very well be a flaw in Thunderbird rather than Firetray. Unfortunately I won't be able to arrange for a POP account on our email provider, but I'd bet it's reproducible when switching off "Automatically download new messages". I'll try to provide info gathered with a debug version tomorrow.

thanks again for a great addon and for great support!

@foudfou
Copy link
Owner

foudfou commented Mar 20, 2012

  1. FireTray 0.3 would listen to all notifications related to intPropertyChanged (thus receiving BiffState), whereas 0.4 does filter appropriately (well tries to)
  2. it looks like pop users should set "Automatically download new messages"

Now, I'd rather try to stick to TB's behaviour: the folder isn't actually marked as having new messages (yellow ball/flash on the folder icon, bold text) if messages aren't actually downloaded. And I'd suggest you just set Automatically download new messages (messages which will be downloaded anyway sooner or later, won't they ?). Is that an acceptable solution ? Does it work for you ?

@bldegroot
Copy link
Author

Hi,

thanks for the suggestion. Unfortunately it won't be a solution for me as I use the pop3 client simultaneously with 2 IMAP clients (phone and 2nd computer). The pop3 client is the machine where the email is stored eventually but I don't want it to download emails automatically as that would prevent access from the other machines. I haven't gotten around running the debug version but as I understood now it seems that the current behaviour is by design rather than a bug?

cheers

@foudfou
Copy link
Owner

foudfou commented Mar 20, 2012

How about setting "Leave messages on server" for the pop3 account ?

@bldegroot
Copy link
Author

Unfortunately not my favorite, as it would require a manual server cleanup frequently, to prevent it from overrunning.. I guess I'll go back to TB9 with firetray 0.3 for now until I come up with a better solution.

thanks again!

@foudfou foudfou closed this as completed Apr 8, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants