refresh problem when resizing split panes

2012-01-24 Thread Riccardo Mottola
Hi, when resizing split panes we have some sort of refresh problem where the "grey" of the moving bar just erases what's in the view. I can verify this in Grr and its reading panes but also in Vespucci when viewing pages with frames. Riccardo ___ D

Re: refresh problem when resizing split panes

2012-01-24 Thread Eric Wasylishen
Hi Riccardo, I get this too with GSUseGhostResize YES. It's not clear to me how the ghost resize code in NSSplitView is supposed to work. Is that code expecting NSHighlightRect to be a bitwise XOR where drawing the same rect twice gives you the original image back? NSHighlightRect doesn't appear

Re: refresh problem when resizing split panes

2012-01-24 Thread Fred Kiefer
I had almost forgotten about this old problem, as we no longer use XOR operations directly in the normal GNUstep code. There are at least to different issues here. First the Cocoa documentation states that NSCompositeHighlight gets mapped to NSCompositeSourceOver just as we do in the cairo back

Re: refresh problem when resizing split panes

2012-01-25 Thread Eric Wasylishen
Great, that sounds like an excellent plan. Should be only half an hour's work or so - but it should wait until after the freeze. Eric On 2012-01-24, at 3:35 PM, Fred Kiefer wrote: > I had almost forgotten about this old problem, as we no longer use XOR > operations directly in the normal GNUstep

Re: refresh problem when resizing split panes

2012-02-18 Thread Fred Kiefer
I just implemented this. Please test it on the different backends. You will only see this behaviour when GSUseGhostResize is set to YES! It turns out that it doesn't look to great in the NSSplitView test in GSTest. The problem there is that middle grey will result in middle grey again :-( On