indicator not working, bubbles are displayed

Bug #624942 reported by AllesMeins
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Thunderbird Indicator
Incomplete
Undecided
Unassigned

Bug Description

On my system the addon displays only the "black bubble" but the envelop does not turn green on new mails. I did some digging, the problem are the following lines:

var num = folder.getNumNewMessages(true);
this.logger(this.checkFolder(folder));
if(num > 0 && this.checkFolder(folder)) {

num always stays 0, therefor no indicator is sent. I changed it to folder.getNumUnread(true); - this works a little better, but is always "one step behind". Meaning it returns the number of unread messages before the new messages arrived. This might be a hint why getNumNewMessages() is not working - probably it returns an old number as well.

I'm using
Ubuntu 10.04 on AMD64
Thunderbird 3.0.6
libnotify-mozilla revision 49

Revision history for this message
Ruben Verweij (ruben-verweij) wrote :

Thanks for your bug report. I specifically want to test for *new* messages because that's what the messaging menu is for (see the specs at the Ubuntu wiki). I have included a call to folder.updateSummaryTotals(true) to force an update of the number. Could you please test with the latest trunk version to see whether it works for you? Thanks in advance!

Changed in libnotify-mozilla:
status: New → Incomplete
Revision history for this message
AllesMeins (spam-startrekarchiv) wrote :

I'm afraid it didn't work. The bubble is displayed, the envelop stays black...

[tbindicator]: Bubble for new message!
[tbindicator]: handleNewMailReceive
[tbindicator]: not displaying message
[tbindicator]: Indicator for new message!
[tbindicator]: not displaying message
[tbindicator]: true

Thats all the error-log displays. "confirm send indicator" is not in the log, so I guess that folder.getNumNewMessages(true); still returns 0.

libnotify-mozilla revision 51

Revision history for this message
thomas (thomas-heuer) wrote :

Since this plugin just displays the old Thunderbird notifications in another style (black bubbles instead of little windows), it is useless. There is no indication of nothing. The importance of this bug shouldn't be "Undecided", since - according to the plugin-name - indicating something mail-related was the goal.

It would be nice if you could state somewhere, that this plugin isn't compatible with TB 3.x - so following users didn't need to read through all your bugs and questions too.

Setup:
TB 3.1.7
Ubuntu 10.10
Thunderbird Indicator 1.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.