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 15:55:17 -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 #31, bug #17717 (project gnustep):

I think the size of XWindowBuffer is never updated even with the latest
backend.
Here is a short track:

1. 2006-09-24 12:42:07.330 Ink[2963] rect {x = 1; y = 6; width = 390; height
= 426}, rectangle (0, 0, 390, 426)

A new Expose event goes into XGServerEvent (the new patch).
rect = [self _XWindowRectToOSWinRect:...];
Both the rect and rectangle has the right size, 390x426.

2. 2006-09-24 12:42:07.377 Ink[2963] -_exposeRect: (sx, sy) = (384, 426),
rect = {x = 0; y = 0; width = 390; height = 426}
2006-09-24 12:42:07.378 Ink[2963] sx 384, sy 426, x 0, y 0, w 390, h 426

-exposeRect: in XWindowBuffer is called with NSRect (390x426).
But the sx, sy are still 384x426, which is the size when it is created in 
-windowBufferForWindow:depthInfo:

3. 2006-09-24 12:42:07.383 Ink[2963] X-Windows error - BadValue (integer
parameter out of range for operation)
          on display: :0.0
                type: 0
       serial number: 2365
        request code: 143

Error occurs when XShmPutImage() is called.

I don't see the +windowBufferForWindow:depthInfo: is called
when new expose event occurs. Maybe that's the bug.

PS. Now, it works with XWindowBufferUseXShm 0.
PPS. It is not associated with left-mouse down. 


    _______________________________________________________

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]