Clicking on a notification doesn't bring app to foreground
Bug #1430848 reported by
Philippe
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gala |
New
|
Undecided
|
Unassigned | ||
elementary OS |
New
|
Undecided
|
Unassigned |
Bug Description
When I click on a notification, it doens't bring the corresponding application to foreground.
For example, when Geary notifies me of a new email, clicking on the notification doesn't bring Geary's window to foreground (even though Geary is open). In plank, the blue "point" under Geary turns red, nothing else.
On Freya beta 2 (fresh install + updates since then).
description: | updated |
affects: | elementaryos → pantheon-notify |
affects: | pantheon-notify → gala |
To post a comment you must log in.
Okay so if I understand correctly (and I may not), we actually need the app to define it's default notification action as presenting the app and the app needs to pass a timestamp to the window manager so that mutter will allow the app as an exception to focus stealing prevention. Noise implements this currently. I believe the most relevant lines are between 587 and 595 here: http:// bazaar. launchpad. net/~elementary -apps/noise/ trunk/view/ head:/src/ LibraryWindow. vala
try {
} catch (GLib.Error err) {
}
});