After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731101 - Wayland - clicking on some notifications doesn't display the application window (Geary, Evolution, Terminal...)
Wayland - clicking on some notifications doesn't display the application wind...
Status: RESOLVED DUPLICATE of bug 766284
Product: gtk+
Classification: Platform
Component: .General
3.12.x
Other Linux
: High normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 741571 775626 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-06-02 10:59 UTC by Allan Day
Modified: 2017-08-25 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allan Day 2014-06-02 10:59:18 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.
Comment 1 Robert Schroll 2014-06-02 20:06:52 UTC
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.
Comment 2 Yosef Or Boczko 2014-06-02 20:18:25 UTC
The same problem here (GNOME 3.13.x, geary from git master).
Comment 3 Maksim Kraev 2014-06-18 06:12:08 UTC
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
Comment 4 Jim Nelson 2014-12-15 20:19:02 UTC
*** Bug 741571 has been marked as a duplicate of this bug. ***
Comment 5 Richard J Turner 2015-01-06 11:59:04 UTC
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?
Comment 6 Jim Nelson 2015-01-06 20:49:27 UTC
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.
Comment 7 Jim Nelson 2015-01-06 21:06:17 UTC
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.
Comment 8 Jan Niklas Hasse (Account disabled) 2016-05-18 07:28:13 UTC
Someone found out which Gtk/Shell issue it is? It's still happening for me with GNOME Shell 3.18.5.
Comment 9 Richard J Turner 2016-05-18 11:40:05 UTC
Yeah, it's still happening for me using Shell and Evolution 3.20.2 too.
Comment 10 Anass Ahmed 2016-11-24 13:08:42 UTC
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!
Comment 11 Andy 2016-12-06 15:57:21 UTC
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.
Comment 12 Andy 2016-12-08 09:13:20 UTC
(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.
Comment 13 Alexandre Franke 2016-12-08 10:45:03 UTC
*** Bug 775626 has been marked as a duplicate of this bug. ***
Comment 14 François Guerraz 2017-08-10 19:40:35 UTC
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.
Comment 15 Anass Ahmed 2017-08-10 19:42:16 UTC
I think this is related to this bug: https://bugzilla.gnome.org/show_bug.cgi?id=766284
Comment 16 Daniel Boles 2017-08-25 11:51:04 UTC

*** This bug has been marked as a duplicate of bug 766284 ***