[Xquartz-dev] geometry regression in 2.3.2-beta3

Jeremy Huddleston jeremyhu at apple.com
Tue Nov 11 21:02:09 PST 2008


It works for me:

~ $ emacs -geometry 80x61-0+0

~ $ emacs --version
GNU Emacs 22.3.1
Copyright (C) 2008 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

my xwininfo:

xwininfo: Window id: 0x800014 "emacs@<snip>"

   Root window id: 0x3bd (the root window) (has no name)
   Parent window id: 0x60000b (has no name)
      4 children:
      0x80002f (has no name): ()  516x793+0+65  +2844+365
         2 children:
         0x8000c3 (has no name): ()  18x13+0+780  +2844+1145
         0x8000c2 (has no name): ()  18x767+0+0  +2844+365
      0x80005f (has no name): ()  516x38+0+27  +2844+327
         1 child:
         0x800060 (has no name): ()  516x38+0+0  +2844+327
            15 children:
            0x8000e2 (has no name): ()  34x34+449+2  +3293+329
               1 child:
               0x8000e3 (has no name): ()  34x34+0+0  +3293+329
            0x8000e0 (has no name): ()  34x34+415+2  +3259+329
               1 child:
               0x8000e1 (has no name): ()  34x34+0+0  +3259+329
            0x8000de (has no name): ()  34x34+381+2  +3225+329
               1 child:
               0x8000df (has no name): ()  34x34+0+0  +3225+329
            0x8000dc (has no name): ()  34x34+347+2  +3191+329
               1 child:
               0x8000dd (has no name): ()  34x34+0+0  +3191+329
            0x8000da (has no name): ()  34x34+313+2  +3157+329
               1 child:
               0x8000db (has no name): ()  34x34+0+0  +3157+329
            0x8000d8 (has no name): ()  34x34+279+2  +3123+329
               1 child:
               0x8000d9 (has no name): ()  34x34+0+0  +3123+329
            0x8000d6 (has no name): ()  34x34+245+2  +3089+329
               1 child:
               0x8000d7 (has no name): ()  34x34+0+0  +3089+329
            0x8000d4 (has no name): ()  34x34+211+2  +3055+329
               1 child:
               0x8000d5 (has no name): ()  34x34+0+0  +3055+329
            0x8000d2 (has no name): ()  34x34+177+2  +3021+329
               1 child:
               0x8000d3 (has no name): ()  34x34+0+0  +3021+329
            0x8000d0 (has no name): ()  34x34+143+2  +2987+329
               1 child:
               0x8000d1 (has no name): ()  34x34+0+0  +2987+329
            0x8000ce (has no name): ()  34x34+109+2  +2953+329
               1 child:
               0x8000cf (has no name): ()  34x34+0+0  +2953+329
            0x8000cc (has no name): ()  29x34+80+2  +2924+329
               1 child:
               0x8000cd (has no name): ()  29x34+0+0  +2924+329
            0x8000ca (has no name): ()  34x34+46+2  +2890+329
               1 child:
               0x8000cb (has no name): ()  34x34+0+0  +2890+329
            0x8000c8 (has no name): ()  34x34+12+2  +2856+329
               1 child:
               0x8000c9 (has no name): ()  34x34+0+0  +2856+329
            0x800063 (has no name): ()  506x38+10+0  +2854+327
      0x800049 (has no name): ()  516x27+0+0  +2844+300
         6 children:
         0x80005e (has no name): ()  42x23+250+2  +3094+302
         0x80005d (has no name): ()  48x23+202+2  +3046+302
         0x80005c (has no name): ()  60x23+142+2  +2986+302
         0x80005b (has no name): ()  64x23+78+2  +2922+302
         0x80005a (has no name): ()  39x23+39+2  +2883+302
         0x800059 (has no name): ()  36x23+3+2  +2847+302
      0x800015 (has no name): ()  1x1+-1+-1  +2843+299

   Absolute upper-left X:  2844
   Absolute upper-left Y:  300
   Relative upper-left X:  0
   Relative upper-left Y:  22
   Width: 516
   Height: 858
   Depth: 24
   Visual Class: TrueColor
   Border width: 0
   Class: InputOutput
   Colormap: 0x21 (installed)
   Bit Gravity State: NorthWestGravity
   Window Gravity State: NorthWestGravity
   Backing Store State: NotUseful
   Save Under State: no
   Map State: IsViewable
   Override Redirect State: no
   Corners:  +2844+300  -0+300  -0-20  +2844-20
   -geometry 80x61-0-20

   Bit gravity: NorthWestGravity
   Window gravity: NorthWestGravity
   Backing-store hint: NotUseful
   Backing-planes to be preserved: 0xffffffff
   Backing pixel: 0
   Save-unders: No

   Someone wants these events:
       KeyPress
       KeyRelease
       EnterWindow
       LeaveWindow
       Exposure
       StructureNotify
       FocusChange
       PropertyChange
       ColormapChange
   Do not propagate these events:
   Override redirection?: No

   Window manager hints:
       Client accepts input or input focus: Yes
       Initial state is Normal State

   Normal window size hints:
       User supplied location: 0, 0
       User supplied size: 0 by 0
       Program supplied minimum size: 48 by 91
       Program supplied base size: 36 by 65
       Program supplied x resize increment: 6
       Program supplied y resize increment: 13
       User supplied size in resize increments:  0 by 0
       Program supplied minimum size in resize increments: 8 by 7
       Program supplied base size in resize increments:  6 by 5
       Program supplied window gravity: NorthWestGravity
   No zoom window size hints defined

   No window shape defined
   No border shape defined



On Nov 11, 2008, at 20:18, Tom Lane wrote:

> Jeremy Huddleston <jeremyhu at apple.com> writes:
>> What does 'xwininfo -all' say about this window?
>
> Attached.  I've since found that no set of position coordinates will  
> be
> honored :-( ... the size coordinates are fine, but the window ends up
> at top left no matter what the last two numbers are.
>
> (It's interesting that what's shown as the -geometry is +0+0 ...
> that's most certainly not what's in the environment...)
>
> Oh ... not sure if this is relevant, but I should probably mention
> that this is a remote client coming in via SSH proxying.  Again, all
> of this setup worked fine before beta3.
>
> Also, the force-to-upper-left behavior is affecting some but not all
> of the windows displayed by a Tcl application I use heavily.  Dunno
> what to make of that.
>
> 			regards, tom lane
>
>
> xwininfo: Window id: 0xc00013 "emacs at sss2.sss.pgh.pa.us"
>
>  Root window id: 0x1fd (the root window) (has no name)
>  Parent window id: 0x600047 (has no name)
>     1 child:
>     0xc00014 (has no name): ()  496x797+0+0  +0+22
>        1 child:
>        0xc00015 (has no name): ()  496x797+0+0  +0+22
>           6 children:
>           0xc00040 (has no name): ()  12x13+482+782  +482+804
>           0xc00041 (has no name): ()  12x13+482+782  +482+804
>           0xc0003e (has no name): ()  12x377+482+392  +482+414
>           0xc0003f (has no name): ()  12x377+482+392  +482+414
>           0xc0003c (has no name): ()  12x377+482+2  +482+24
>           0xc0003d (has no name): ()  12x377+482+2  +482+24
>
>  Absolute upper-left X:  0
>  Absolute upper-left Y:  22
>  Relative upper-left X:  0
>  Relative upper-left Y:  22
>  Width: 496
>  Height: 797
>  Depth: 24
>  Visual Class: TrueColor
>  Border width: 0
>  Class: InputOutput
>  Colormap: 0x21 (installed)
>  Bit Gravity State: NorthWestGravity
>  Window Gravity State: NorthWestGravity
>  Backing Store State: NotUseful
>  Save Under State: no
>  Map State: IsViewable
>  Override Redirect State: no
>  Corners:  +0+22  -944+22  -944-59  +0-59
>  -geometry 80x61+0+0
>
>  Bit gravity: NorthWestGravity
>  Window gravity: NorthWestGravity
>  Backing-store hint: NotUseful
>  Backing-planes to be preserved: 0xffffffff
>  Backing pixel: 0
>  Save-unders: No
>
>  Someone wants these events:
>      KeyPress
>      ButtonPress
>      ButtonRelease
>      EnterWindow
>      LeaveWindow
>      PointerMotion
>      Exposure
>      VisibilityChange
>      StructureNotify
>      FocusChange
>      PropertyChange
>      ColormapChange
>  Do not propagate these events:
>  Override redirection?: No
>
>  Window manager hints:
>      Client accepts input or input focus: Yes
>      Initial state is Normal State
>
>  Normal window size hints:
>      User supplied location: 940, 0
>      Program supplied size: 496 by 797
>      Program supplied minimum size: 16 by 4
>      Program supplied base size: 16 by 4
>      Program supplied x resize increment: 6
>      Program supplied y resize increment: 13
>      Program supplied size in resize increments:  82 by 61
>      Program supplied minimum size in resize increments: 2 by 0
>      Program supplied base size in resize increments:  2 by 0
>      Program supplied window gravity: NorthEastGravity
>  No zoom window size hints defined
>
>  No window shape defined
>  No border shape defined
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3221 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20081111/94d0372b/attachment.bin>


More information about the Xquartz-dev mailing list