Closed
Bug 805523
Opened 12 years ago
Closed 12 years ago
toast notification clicks not working
Categories
(Firefox Graveyard :: SocialAPI, defect)
Tracking
(firefox18+ verified, firefox19 verified)
VERIFIED
FIXED
People
(Reporter: mixedpuppy, Unassigned)
References
Details
(Whiteboard: [Fx18][testday-20121221])
The toast notification api allows a url for the click handler. It works in beta, doesn't work in aurora, on windows.
Reporter | ||
Updated•12 years ago
|
Whiteboard: [Fx18]
Comment 1•12 years ago
|
||
This is actually a regression from bug 795065 - openUILink now insists on having the second param (aEvent) passed or things fail. However, as bug 808001 already wants to change this to openUILinkIn, I won't bother trying to get the regression fixed but just upload a patch to bug 808001.
status-firefox18:
--- → affected
tracking-firefox18:
--- → ?
Depends on: 808001
OS: Mac OS X → All
Hardware: x86 → All
Comment 2•12 years ago
|
||
fixed via bug 808001
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Comment 3•12 years ago
|
||
(for branches, bug 814264 would also fix this)
Updated•12 years ago
|
status-firefox19:
--- → affected
tracking-firefox19:
--- → +
Comment 5•12 years ago
|
||
Bug 814264 was approved today, so this should be resolved in FF18 soon.
Comment 6•12 years ago
|
||
Fixed on 18 by bug 814264 (needs verification!).
Comment 8•12 years ago
|
||
(In reply to Anthony Hughes, Mozilla QA (:ashughes) from comment #7) > Is there a way to force a toast to appear so I can verify this? The best way is to have firefox shut down and arrange for a message (eg, a chat) to be sent to you, then start firefox. The message that was sent while FF wasn't running should appear as a toast on startup.
Reporter | ||
Comment 9•12 years ago
|
||
the demo provider has a button to send a notification. I haven't tried it in a while, since the osx builds I have no longer have notifications :(
Comment 10•12 years ago
|
||
Testing with Firefox 18.0b2 this didn't work as expected.
1. Activated Social API
2. Quit Firefox
3. Had Shane send me a message with a URL in it
4. Started Firefox
> Red "1" appeared over the messages button
> Clicking the message opened a chat panel where I could click the link and open a new tab
> No toast notification appeared
I tried this a couple times with the same result. I have "Show desktop notifications" enabled.
Comment 11•12 years ago
|
||
I spoke with Shane about this offline and he mentioned that Facebook's implementation should send a notification when the sidebar is hidden for anything that would normally populate the activity stream. Following his suggested steps:
1. Activate Social API
2. Hide the sidebar
3. Have someone post a link to my wall
> Toast notification appears but clicking it did nothing
Following Shane's advice, I will now try with the demo provider.
Comment 12•12 years ago
|
||
I just remembered - my repro was wrong - instead of having someone send a message via facebook, have someone comment on one of your wall posts...
Comment 13•12 years ago
|
||
With Firefox 18.0b2, when trying the demo provider I can't click the link. I get the following errors in error console: social.notification-create-error: TypeError: event is undefined WorkerAPI: topic doesn't have a handler: 'social.notification-action' With Firefox 19.0a2 2012-12-04 this works fine. I suppose it's possible that this missed 18.0b2 and will be fixed in 18.0b3.
Comment 14•12 years ago
|
||
It looks like beta2 was built from changeset number 117166 and bug 814264 was changeset number 117198, so yeah, it looks like it missed b2.
Comment 15•12 years ago
|
||
It looks like is fixed on 18b4. I had verified only on Windows 7 x64 and Ubuntu x86. Can someone verify for Mac OS to set this as verified fixed please, because I don't have access at Mac OS today?
Comment 16•12 years ago
|
||
Thank Mario, I confirm this is working in 18.0b5 on Mac OSX 10.7.
Status: RESOLVED → VERIFIED
Whiteboard: [Fx18] → [Fx18][testday-20121221]
Updated•5 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•