Bug 16710 - Option --display is ignored
Summary: Option --display is ignored
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-libs
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Owen Taylor
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-22 02:18 UTC by Michal Jaegermann
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-07 22:12:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2000-08-22 02:18:40 UTC
'gnome-terminal' claims to have an option '--display=DISPLAY'.
If another display is present then

   gnome-terminal --display=:0.1

(also with obvious variants of this display specification) still opens a
terminal window on a display :0.0.  At the same time 'xterm', 'rxvt' and
'kvt' called with an option '-display :0.1'  do open their windows on a
requested display.  Only this command:
  
   DISPLAY=:0.1 gnome-terminal

makes a terminal window to show up on a desired screen.

Once multidisplay arrangements will become more popular a priority
of this bug will be considerably higher.

  Michal
  michal

Comment 1 Elliot Lee 2001-02-02 01:28:33 UTC
Confirmed. This is a generic gnome-libs bug, not gnome-terminal.

Comment 2 Owen Taylor 2001-02-07 17:24:49 UTC
This is really a bug in gnome-libs, but some changes to GTK+
that are in CVS and scheduled for GTK+-1.2.9 will make the
problem go away.

Once I get a package for GTK+ into the distribution with
these fixes, I'll close the bug.

Comment 3 Elliot Lee 2001-02-07 22:12:17 UTC
After debugging gnome-libs, it appears to construct a completely valid argc/argv
and pass it to gtk_init(), and yet gdk did not pick it up. The same behaviour
happens with a standalone gtk+ application.It would seem that gtk+ is at fault
w/o any help from gnome-libs.

Comment 4 Owen Taylor 2001-07-17 22:30:00 UTC
Was fixed in GTK+-1.29, which was in 7.1

Mon Jan 29 18:33:24 2001  Owen Taylor  <otaylor>

        * gdk/gdk.c (gdk_init_check): Handle --display= forms
        of options taking arguments. Fix some memory leaks with
        repeated arguments. (#28842, Sam Hunter)




Note You need to log in before you can comment on or make changes to this bug.