Re: a window got lost, again.



Timo Korvola said:     (by the date of Wed, 16 Mar 2011 23:12:44 +0200)

> On Monday 14 March 2011 21:07:07 Janek Kozicki wrote:
> > once again, one of few "first" windows got lost. We have time to
> > investigate. I don't remember exactly what we have done last time.
> 
> Last time it seemed that the frame had gotten unmapped while the client 
> window was mapped. You could check with xwininfo whether windows 
> 0x3800024 and 0xc00103 are mapped and unmapped, respectively, and 
> whether get-window-by-id returns non-nil for either id.

There you go.
Notice the "Map State: IsUnviewable":

janek@atak:pts/26:~$ sawfish-client
sawfish 1.7.1, Copyright (C) 1999-2000 John Harper
sawfish comes with ABSOLUTELY NO WARRANTY; for details see the file COPYING

Enter `,help' to list commands.
user> (get-window-by-id 0x3800024)
()
user> (get-window-by-id 0xc00103)
()
user> %

janek@atak:pts/26:~$ xwininfo -id 0x3800024 -all

xwininfo: Window id: 0x3800024 "htop"

  Root window id: 0x2a0 (the root window) (has no name)
  Parent window id: 0xc00103 (has no name)
     1 child:
     0x380002f (has no name): ()  802x693+0+0  +4100+-3142

  Absolute upper-left X:  4100
  Absolute upper-left Y:  -3142
  Relative upper-left X:  2
  Relative upper-left Y:  18
  Width: 802
  Height: 693
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: StaticGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsUnviewable
  Override Redirect State: no
  Corners:  +4100+-3142  -218+-3142  -218-3649  +4100-3649
  -geometry 133x53+4098+-3160

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

  Someone wants these events:
      KeyPress
      KeyRelease
      EnterWindow
      LeaveWindow
      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: 4098, 440
      User supplied size: 802 by 693
      Program supplied size: 802 by 693
      Program supplied minimum size: 10 by 17
      Program supplied base size: 4 by 4
      Program supplied x resize increment: 6
      Program supplied y resize increment: 13
      User supplied size in resize increments:  133 by 53
      Program supplied size in resize increments:  133 by 53
      Program supplied minimum size in resize increments: 1 by 1
      Program supplied base size in resize increments:  0 by 0
      Program supplied window gravity: NorthWestGravity
  No zoom window size hints defined

  No window shape defined
  No border shape defined

janek@atak:pts/26:~$ xwininfo -id 0xc00103 -all              (śro,16 mar,22:58)

xwininfo: Window id: 0xc00103 (has no name)

  Root window id: 0x2a0 (the root window) (has no name)
  Parent window id: 0x2a0 (the root window) (has no name)
     18 children:
     0xc79ec3 (has no name): ()  16x16+788+2  +4886+-3158
     0xc79ec1 (has no name): ()  16x16+772+2  +4870+-3158
     0xc79ebf (has no name): ()  16x16+756+2  +4854+-3158
     0xc79ebd (has no name): ()  2x693+804+18  +4902+-3142
     0xc79ebb (has no name): ()  2x2+804+711  +4902+-2449
     0xc79eb9 (has no name): ()  802x2+2+711  +4100+-2449
     0xc79eb7 (has no name): ()  2x2+0+711  +4098+-2449
     0xc79eb5 (has no name): ()  2x693+0+18  +4098+-3142
     0xc79eb3 (has no name): ()  2x16+802+2  +4900+-3158
     0xc79eb1 (has no name): ()  2x18+804+0  +4902+-3160
     0xc79eaf (has no name): ()  2x18+0+0  +4098+-3160
     0xc79ead (has no name): ()  16x16+2+2  +4100+-3158
     0xc79eab (has no name): ()  16x16+18+2  +4116+-3158
     0xc79ea9 (has no name): ()  3x16+753+2  +4851+-3158
     0xc79ea7 (has no name): ()  3x16+34+2  +4132+-3158
     0xc79ea5 (has no name): ()  716x16+37+2  +4135+-3158
     0xc79ea3 (has no name): ()  802x2+2+0  +4100+-3160
     0x3800024 "htop": ("xterm" "XTerm")  802x693+2+18  +4100+-3142
        1 child:
        0x380002f (has no name): ()  802x693+0+0  +4100+-3142

  Absolute upper-left X:  4098
  Absolute upper-left Y:  -3160
  Relative upper-left X:  4098
  Relative upper-left Y:  -3160
  Width: 806
  Height: 713
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsUnMapped
  Override Redirect State: yes
  Corners:  +4098+-3160  -216+-3160  -216-3647  +4098-3647
  -geometry 806x713+4098+-3160

  Bit gravity: ForgetGravity
  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
      PointerMotionHint
      ButtonMotion
      Exposure
      VisibilityChange
      SubstructureRedirect
      FocusChange
  Do not propagate these events:
  Override redirection?: Yes

  No window manager hints defined

  No normal window size hints defined
  No zoom window size hints defined

  Window shape extents:  802x693+2+18
  No border shape defined



-- 
Janek Kozicki                               http://janek.kozicki.pl/  |


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]