Closed Bug 1225387 Opened 9 years ago Closed 8 years ago

Don't show "Firefox is ready" after clicking on a libnotify alert

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1236153

People

(Reporter: lina, Unassigned)

Details

I'm not sure if this applies to all libnotify backends that support actions, or just Fedora. This may be something that we can't work around.

Steps to reproduce:

1. Open the Web Console on a page with notification permissions.
2. Enter `setTimeout(() => new Notification("hello", { body: "world" }), 3000)`.
3. Switch to another app, so that Firefox is in the background.
4. Click the "hello" notification once it's shown.

Expected: The tab that sent the notification is focused.

Actual: The notification changes to "{Page Title} - Firefox is ready," with the branding icon. Clicking again focuses Firefox.

I can't reproduce this with a simple GTK app (source: https://gist.github.com/kitcambridge/5f1c90471faa82f95e3e), but my example is probably wrong. FWIW, if I launch the app from the Terminal, I see "./notify - Command completed" once the app exits.
Bug 1236153 has some more context and links to the GNOME bug, so duping this out.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.