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 632213 - 'activated' signal should give us a timestamp
'activated' signal should give us a timestamp
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Class: GtkApplication
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-10-15 12:34 UTC by Guillaume Desmottes
Modified: 2018-02-10 04:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2010-10-15 12:34:42 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
Comment 1 Matthias Clasen 2010-10-30 02:12:30 UTC
I'm moving this to GApplication, since that is where activate lives.
Comment 2 Allison Karlitskaya (desrt) 2010-11-01 01:22:28 UTC
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?
Comment 3 Guillaume Desmottes 2010-11-02 08:26:47 UTC
Oh nice, I didn't know that. It would be nice to properly document this.
Comment 4 Matthias Clasen 2018-02-10 04:37:13 UTC
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.