No notifications on 3.0 beta 4 and above

Bug #485272 reported by Igor Korobka
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Thunderbird Indicator
Fix Released
Medium
ikus060

Bug Description

I'm using TB 3 beta 4 with libnotify popups extension 0.1.3 with ubuntu 9.10 x86.

     I can't see notification on new mail arrives. In fact with enabled libnotify popups extension I can't see neither default TB notifications nor libnotify popups. Same behavior on enabled or disabled "show alerts" option in TB.

What is interesting "send test notification" button in plugin preferences works fine and shows libnotify notifications.

Error console haven't any error entries that tied with this extension.

Related branches

Revision history for this message
Ruben Verweij (ruben-verweij) wrote : Re: [Bug 485272] [NEW] Can't see notifications on TB 3 beta 4

Thank you for your bug report.
Could you please check whether there is a preference
"libnotifypopups.showFolder"? There were some problems with that which
should be fixed now. If the preference does exist this'll require some
more investigation.

Revision history for this message
Igor Korobka (igokoro) wrote : Re: Can't see notifications on TB 3 beta 4

Thanks for your attention!

Preference "libnotifypopups.showFolder" exists and was set to true. Setting it to false fixed problem with native thunderbird notifications, after that I can set "libnotifypopups.showFolder" again to true and native notifications works fine.

But I still can't see any libnotify notifications.

Revision history for this message
Maia Everett (linneris) wrote :

Same here. My Thunderbird build is from the ubuntu-mozilla-daily PPA:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6pre) Gecko/20091119 Shredder/3.0.1pre

Revision history for this message
Maia Everett (linneris) wrote :

My libnotifypopups.showFolder setting is set to false, which is the default.

Revision history for this message
Vlad Lungeanu (drvladl) wrote :

Same here, with TB 3 beta 4 (downloaded from mozilla.org), libnotify 0.1.3, and Kubuntu 9.10. The test notifications look fine, the e-mail notifications do not appear.

libnotifypopups.showFolder does exist. I tried with it set both to true and to false, with no effect.

Maybe I should mention that I do not use the global inbox (the General account), but a dedicated inbox for my account.

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

Thanks all for your reports.
I will look into this, maybe TB 3 uses a different system for watching a folder for changes.

Changed in libnotify-mozilla:
assignee: nobody → Ruben Verweij (ruben-verweij)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Igor Korobka (igokoro) wrote :

Same situation after upgrade to TB RC1.

Revision history for this message
Andrew (and471) wrote :

I am on Shredder version 3.0.1pre and I can confirm the behavior exhibited above.

Is any progress happening? Is any help needed?

summary: - Can't see notifications on TB 3 beta 4
+ No notifications on 3.0 beta 4 and above
Revision history for this message
Andrew (and471) wrote :

When I start the extension, I get the error in the Error Console:

Error: mailSessionContractID is not defined
Source File: chrome://libnotifypopups/content/overlay.js
Line: 87

Revision history for this message
Andrew (and471) wrote :

Then when I receive an email, I get the thunderbird notification (not libnotify) and the error:

2009-11-29 10:50:27 gloda.datastore ERROR got error in _asyncTrackerListener.handleError(): 19: constraint failed

Revision history for this message
Andrew (and471) wrote :

I tried this again and got a slightly different error

2009-11-29 10:52:21 gloda.datastore ERROR got error in _asyncTrackerListener.handleError(): 19: PRIMARY KEY must be unique

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

Thanks for your efforts.
I committed a (possible) fix. Could you please test it? The code is in the branch linked to this report. If you need any help with testing, please let me know.

Changed in libnotify-mozilla:
status: Triaged → Fix Committed
Revision history for this message
Andrew (and471) wrote :

I now get this error on startup (in error console)

Error: uncaught exception: [Exception... "Not enough arguments [nsIMsgFolderNotificationService.addListener]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://libnotifypopups/content/overlay.js :: anonymous :: line 89" data: no]

The notifications are still thunderbird's

Thanks for persevering though :-)

Revision history for this message
Andrew (and471) wrote :

I had a chat with Standard8 on IRC and he pointed me to this file
http://mxr.mozilla.org/comm-central/source/mailnews/base/src/nsMessengerOSXIntegration.mm

He said the code in the nsMessengerOSXIntegration::Init() section (second-half) is the stuff to be looking at.

Ruben could you see if you could relate this back to Javascript?

Changed in libnotify-mozilla:
status: Fix Committed → Confirmed
Revision history for this message
ikus060 (ikus060-renamed) wrote :

Hi Ruben,

Before I invest any effort on this problem, did you made any progress with thunderbird 3.0 ? I plan to install it this week-end. I will have some time to develop a fix to be compatible with 2.0 and 3.0.

Regards,

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

Okay, gladly, I haven't made any progress.
I will assign this to you.

Changed in libnotify-mozilla:
assignee: Ruben Verweij (ruben-verweij) → ikus060 (ikus060)
Revision history for this message
Ikus-Soft (ikus-soft) wrote : Re: [Bug 485272] Re: No notifications on 3.0 beta 4 and above

Almost everything work just fine with Thunderbird 3.0. There was a
constants missing in overlay.js. That about it.

Here the modified files. (I try to push it on launchpad, but my bazaar
config is mess up and I don't have time to waste on it).

On 09-12-11 09:26 AM, Ruben Verweij wrote:
> Okay, gladly, I haven't made any progress.
> I will assign this to you.
>
> ** Changed in: libnotify-mozilla
> Assignee: Ruben Verweij (ruben-verweij) => ikus060 (ikus060)
>
>

Revision history for this message
Thomas Sibley (thomas-sibley) wrote :

Patrik-- I find that using your new files with trunk doesn't make the plugin work for me in TB 3.0. Test notifications work fine, but none are sent on new mail.

Revision history for this message
Ikus-Soft (ikus-soft) wrote :

Well, I didn't use the trunk but the 1.3 version. Possible it make a
difference. Look in the Error Console to see if there is any JavaScript
Error and plz report them here.

Thomas Sibley wrote:
> Patrik-- I find that using your new files with trunk doesn't make the
> plugin work for me in TB 3.0. Test notifications work fine, but none
> are sent on new mail.
>
>

Revision history for this message
Thomas Sibley (thomas-sibley) wrote :

Nothing in the error console. I tried using your updated files in the
0.1.3 release, and still no notifications. This error appears in the
error console, but as I understand it, gloda is unrelated to this plugin:

2009-12-12 23:14:54 gloda.datastore ERROR got error in
_asyncTrackerListener.handleError(): 19: constraint failed

On 12/12/2009 10:52 PM, Patrik Dufresne wrote:
> Well, I didn't use the trunk but the 1.3 version. Possible it make a
> difference. Look in the Error Console to see if there is any JavaScript
> Error and plz report them here.
>
> Thomas Sibley wrote:
>
>> Patrik-- I find that using your new files with trunk doesn't make the
>> plugin work for me in TB 3.0. Test notifications work fine, but none
>> are sent on new mail.
>>
>>
>>
>

Revision history for this message
Dario (dario-21-06) wrote :

Patric, the new file that you upload works. Thanks for make it works.

Revision history for this message
Vitali Kulikou (sabotatore) wrote :

Patric, latest changes work for me. Thanks!

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

Patrik: I committed your changes to trunk.
Could someone please test if they work?

Changed in libnotify-mozilla:
status: Confirmed → Fix Committed
Revision history for this message
Andrew (and471) wrote :

It definitely works!! Only thing I have to do is uncheck Preferences > General > Show an Alert, otherwise I get two alerts. All I need now is the libindicate support :-)

version 3.0.1pre

Thankyou Patric

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

Good job indeed Patrik!
You can look at this bug report for experimental indicator applet
support: https://bugs.launchpad.net/bugs/429395
Andrew schreef:
> It definitely works!! Only thing I have to do is uncheck Preferences >
> General > Show an Alert, otherwise I get two alerts. All I need now is
> the libindicate support :-)
>
> version 3.0.1pre
>
> Thankyou Patric
>
>

Revision history for this message
Thomas Sibley (thomas-sibley) wrote :

After seeing that it worked for everyone else, I poked around the source myself. I found the problem and fixed it, submitted as bug #496313 with the attached patch.

Revision history for this message
farchumbre (farchumbre) wrote :

hI,
I can't find the overlay.js and install.rdf files that need to be replace in my system.
I am using ubuntu 9.10 with thunderbird 3.0.1pre.
Under which folder should I find them?

thanks

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

This bug has been fixed in release 0.1.4-beta.

Changed in libnotify-mozilla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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