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: Sat, 16 Sep 2006 15:52:22 +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 #18, bug #17717 (project gnustep):

After tracing through the code I think I can see how this can happen ...

When an event arrives from the X server telling us that a window has been
resized, we add it to the gui event queue, and the resize is processed when
that event is reached by the gui processing the queue.

When an expose event arrives from the X server, it is processed immediately
..  which means that it is possible for us to be painting the exposed area
using a graphics context which has a shared memory image buffer corresponding
to the window before a resize.

I'm not sure whether the correct approach to fix this is:
a. add expose events to the gui event queue as a new event type, and process
them when the gui gets to that point in dealing with queued events or,
b. handle resize events (at least as far as renewing the gstate for the
window is concerned) immediately when the X event arrives.

Perhaps Fred or Adam (who know the backend/graphics code much better than I)
habve a view on this?



    _______________________________________________________

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]