Closed
Bug 380142
Opened 18 years ago
Closed 18 years ago
Growl doesn't support click notification
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: raccettura, Assigned: sdwilsh)
Details
Attachments
(2 files)
Bug 362685 implemented Growl.
When using nsIAlertsService and specifying an alertListener for the showAlertNotification() method, one would expect a callback if the alert is clicked. None is sent.
I've attached a testcase. On Windows it functions correctly. On Mac OS X, the callback never happens.
Reporter | ||
Comment 1•18 years ago
|
||
Note: you may need to set signed.applets.codebase_principal_support to true to see the testcase, or view it locally. Otherwise expect an error.
Assignee | ||
Comment 2•18 years ago
|
||
Ok, so when I'm running the testcase, I get this:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIAlertsService.showAlertNotification]" nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location: "JS frame :: https://bugzilla.mozilla.org/attachment.cgi?id=264230 :: <TOP_LEVEL> :: line 25" data: no]
I'm slightly confused as to what's up with that - and maybe me tree is out of date. I know this worked at some point because I was using a very similar test case. :/
Assignee | ||
Comment 3•18 years ago
|
||
Ok, looks to me like it isn't even working (at least on my tree) right now. This could be do to local changes for the localization bug. I take it it still displays the notification, just doesn't support the click back?
Reporter | ||
Comment 4•18 years ago
|
||
Correct. Notification appears perfectly (though I'd wish it would hang a second or two longer).
The problem here is that click back never fires.
Assignee | ||
Comment 5•18 years ago
|
||
(In reply to comment #4)
> Correct. Notification appears perfectly (though I'd wish it would hang a
> second or two longer).
We can easily fix this. Click on the apple icon, go to system preferences, and click on Growl. From there, click the display options tab, and you'll find a slider for duration.
> The problem here is that click back never fires.
>
So, clearly I've broken something in my tree that I'll have to fix. If you don't mind, I'd like you to try one more thing so I can try to pinpoint what is wrong. What happens if you remove that if statement and just alert the subject, data, and topic in the observer?
Reporter | ||
Comment 6•18 years ago
|
||
3 alerts fired on windows, 0 on mac when clicked.
Assignee | ||
Comment 7•18 years ago
|
||
Alright, it seems to be a build issue. I'm betting you have a debug build that it doesn't work in? I just downloaded a static build, and it works like a charm. Looks like I need to build it different based on if we have a debug build or not.
Reporter | ||
Comment 8•18 years ago
|
||
No, just a nightly I downloaded. I'll check tomorrow for the build date.
Assignee | ||
Comment 9•18 years ago
|
||
Sorry, different issue. On a debug build notifications aren't even displayed. :(
And clickbacks are not working for me on a nightly. This bug is most annoying.
Assignee: nobody → sdwilsh
Reporter | ||
Comment 10•18 years ago
|
||
Just in case it's worth anything, it is an Intel Mac, latest Growl, nothing fancy going on here.
Reporter | ||
Comment 11•18 years ago
|
||
Yup. Just tested on Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a5pre) Gecko/20070514 Minefield/3.0a5pre
They appear correctly, but no clickbacks.
Assignee | ||
Comment 12•18 years ago
|
||
Fixed with Bug 378527.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•18 years ago
|
||
Thanks Shawn. I'll test it tomorrow.
Reporter | ||
Comment 14•18 years ago
|
||
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a5pre) Gecko/20070515 Minefield/3.0a5pre
Still no go using testcases in this bug.
Assignee | ||
Comment 15•18 years ago
|
||
You've got to be kidding me!?!? Ug, I wonder if this is a difference with static and dynamic builds. I probably won't be able to look at this until this weekend.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 16•18 years ago
|
||
Re-downloaded, deleted profile. It worked. No idea what to think here.
Anyway, thanks for the quick fix.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•