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: Yen-Ju Chen
Subject: [bug #17717] Use "open panel" twice make it unusable
Date: Sun, 24 Sep 2006 18:30:51 -0400
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7

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

I dump these information in -orderwindow:: (XGServerWindow.m):

  NSLog(@"orderWindow:otherwin:");
  NSLog(@"xframe %@", NSStringFromRect(window->xframe));
  NSLog(@"buffer %dx%d", window->buffer_width, window->buffer_height);
  NSLog(@"XSizeHints (%dx%d)", window->siz_hints.width,
window->siz_hints.height);

And I realize that window->xframe does change for no reason.
When window->xframe is bigger than
window->buffer_width*window->buffer_height, 
the problem occurs.

And luckly in metacity, window->xframe is actually 2 pixels 
less than window->buffer_widht*window->buffer_height during the exposure.
Therefore, this problem never happens to metacity.

So the solution would be to resize the buffer for every exposure
if the buffer is retained.


    _______________________________________________________

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]