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 497727 - gdk_spawn_on_screen ignores the screen parameter
gdk_spawn_on_screen ignores the screen parameter
Product: gtk+
Classification: Platform
Component: Backend: X11
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Reported: 2007-11-17 19:21 UTC by Jean-François Wauthy
Modified: 2010-12-22 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Jean-François Wauthy 2007-11-17 19:21:15 UTC
Please describe the problem:
gdk_spawn_on_screen ignores the screen parameter if envp contains a DISPLAY variable. In this case, the application is shown on the screen described by DISPLAY.

I understand this behavior but the current documentation of GDK says:
"the child process is spawned in such an environment that on calling gdk_display_open() it would be returned a GdkDisplay with screen as the default screen". Therefore I expect the launched application to be started on the required screen regardless of the presence of a DISPLAY variable with a different value in envp.

Steps to reproduce:

Actual results:

Expected results:

Does this happen every time?

Other information:
Comment 1 Matthias Clasen 2010-12-22 19:01:40 UTC
The gdk_spawn api is gone.