GNOME Bugzilla – Bug 731101
Wayland - clicking on some notifications doesn't display the application window (Geary, Evolution, Terminal...)
Last modified: 2017-08-25 11:51:04 UTC
0.6 with GNOME 3.12 on Fedora 20 - when I click on a new mail notification, I would expect the application window to appear (and be focused). What actually happens is that there's a delay and then I get a separate notification which says "Geary is ready". I then have to click the second notification to actually get to the app. Clicking the new mail notification should display the app window.
FWIW, it's working as expected for me on Gnome 3.10 on Ubuntu 14.04. I recall have a problem with focusing windows a year or two ago, but I can't recall the details or how we fixed it at the moment.
The same problem here (GNOME 3.13.x, geary from git master).
Arch, Gnome 3.12, Geary 0.6, the notification "Geary is ready" appears instead of Geary window, clicking on "Geary is ready" focuses Geary window
*** Bug 741571 has been marked as a duplicate of this bug. ***
I have exactly the same problem using Evolution, but only since GNOME 3.12. Does that imply that this is actually a Shell bug, not bugs in Geary and Evo?
I've wondered something similar. I can't prove it because, like a good Heisenbug, I only encounter this when I'm not trying to reproduce it.
I did a little work just now and was able to reproduce this with some debug enabled. When the notification is clicked, Geary calls gtk_window_present_with_time(GDK_CURRENT_TIME), but the main window is not being presented. Some times when it occurs I get a second notification, "Geary is ready". I have to suspect this is a GTK+ or Shell issue.
Someone found out which Gtk/Shell issue it is? It's still happening for me with GNOME Shell 3.18.5.
Yeah, it's still happening for me using Shell and Evolution 3.20.2 too.
Under Wayland, the scenario is worse. It doesn't focus the Geary window nor displays that notification to click on it and bring it to focus!
Before Gnome 3.22 (with X) it worked fine for me, now after my Fedora 25 upgrade it stopped working. Clicking a notification will just dismiss it, the target window will not be activated, no matter if on the same workspace or not.
(In reply to Andy from comment #11) > Clicking a notification will just dismiss it, the target window will not be > activated, no matter if on the same workspace or not. I just realized that this is the case for some notifications. My Terminal notifications will not activate the window, but Franz's for example will.
*** Bug 775626 has been marked as a duplicate of this bug. ***
This is still an issue on modern gnome/wayland setup (on arch linux). Clicking on notifications from non-wayland applications (such as firefox in XWayland) works as intended though.
I think this is related to this bug: https://bugzilla.gnome.org/show_bug.cgi?id=766284
*** This bug has been marked as a duplicate of bug 766284 ***