GNOME Bugzilla – Bug 632213
'activated' signal should give us a timestamp
Last modified: 2018-02-10 04:37:13 UTC
The GtkApplication::activated signal should contain a timestamp telling us when the other instance has been launched. That could be use to call gtk_window_present_with_time () in the main instance to avoid focus stealing. I think we should also have the screen and the workspace but that's bug #623289
I'm moving this to GApplication, since that is where activate lives.
GtkApplication takes care of this for you -- it sets the GDK current event time to the value from the other side (using the normal startup notification stuff). Did you have something else in mind?
Oh nice, I didn't know that. It would be nice to properly document this.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.