At 04:10 PM 8/5/99 +0900, SL Baur wrote:
I can duplicate this on Unix. However, there is more strange
I have a fix for this.
behavior. If I run the `update-tab-in-gutter' with part of the
XEmacs
frame obscured, the gutter gets continually updated until the frame is
brought to the front. Hitting C-g does not appear to stop it.
*sigh*. There is a problem under X in that it is asynchronous and expose
events can get generated while you are handling expose events (this can't
happen under windows AFAIK) so the gutter display code gets an expose event
and starts to redraw the gutter area, this involves unmapping any widgets
that are there currently, this generates an expose event and we go round in
an endless loop of flicker. I have worked round this be recording exposures
that I know we are going to get for unmapping subwindows. Unfortunately, if
the subwindow is partially obscured then the expose event parameters will
not match the subwindow parameters. I can make the check less strict, but I
think this *might* mean we sometimes lose expose events in odd cicumstances.
i.e. currently the code matches the size of the subwindow to that of the
expose event. I could change the code to test for overlaps instead.
> Hmmn, I need to fix up split-window handling.
Yes. Here's another wierd effect. (Observed with both Athena Widgets
and Motif Widgets).
After doing C-x C-b do C-x o and C-x 1 (so that the only buffer shown
is the *Buffer List* buffer). The bottom boundary line disappears and
only the *scratch* button is shown. After doing M-: (update-tab-in-gutter)
the *Buffer List* button is shown and the dividing line comes back.
I have a fix for this.
How is this supposed to work with split-windows? If I click on a
gutter button that has a displayed window but the text cursor is in
another window in the same frame, should the text cursor be moved?
I'm not sure. Split windows are hard and I haven't figured out what should
happen. I guess thats the value of beta testers :)
I'm not sure I like this or not yet, but it looks kind of cool and
it
might be more useful than the largely useless toolbar.
Hey, speak for yourself :)
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd