bug-gnustep
[Top][All Lists]
Advanced

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

[bug #17717] Use "open panel" twice make it unusable


From: Richard Frith-Macdonald
Subject: [bug #17717] Use "open panel" twice make it unusable
Date: Fri, 15 Sep 2006 05:13:58 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3

Follow-up Comment #17, bug #17717 (project gnustep):

That IS very interesting ...

The size of the OpenPanel window is supposed to be 384x426 (this is the size
of the content view ... which should be the same as the size of the X
window).

So either something is resizing the panel (and the code is not noticing the
change and updating the buffer size to match) or the expose event is wrong. 
The code clips the resize rect to the window frame size ... so for it to send
bad coordinates and generate the X error, I guess the frame size must have
been increased ... suggesting that the window *has* been resized for some
reason, but the buffer size has not been updated.
It would be nice if you could add an NSLog() to report the frame size when
the expose event is cancelled, just to confirm this. 

The change in size (6 pixels) is odd though ... with WindowMaker, the title
bar of the window is 25 pixels high (including border) and the resize bar is
9 pixels (including border).  So there is no obvious relationship between the
change in size of the exposed rectangle and the window decoration :-(




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17717>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]