Hi,
in a mcclim application with incremental redisplay and lots of objects there is a noticeable irregular flicker when dragging some objects even for parts of the screen, which aren't invalidated by the dragging. I checked the code and verified that my redraw routine is not doing any redraw on these parts. It seems clim's work behind the scenes replaying output records is responsible for that.
Is there a more or less straightforward way to implement double buffering on the pane without taking mcclim apart?
Yours, Orm
Orm Finnendahl o.finnendahl@inm.mh-freiburg.de writes:
in a mcclim application with incremental redisplay and lots of objects there is a noticeable irregular flicker when dragging some objects even for parts of the screen, which aren't invalidated by the dragging. I checked the code and verified that my redraw routine is not doing any redraw on these parts. It seems clim's work behind the scenes replaying output records is responsible for that.
Is there a more or less straightforward way to implement double buffering on the pane without taking mcclim apart?
Without checking too closely, there is a :double-buffering t initarg to pane creation, which has in the past worked...
Cheers,
Christophe
Hi List,
Am Wednesday, den 21. March 2012 um 13:37:00 Uhr (+0000) schrieb Christophe Rhodes:
Without checking too closely, there is a :double-buffering t initarg to pane creation, which has in the past worked...
Cool, that works, thanks Christophe! The backend on my machine seems buggy, however: When I click into the blank area or after releasing mouse buttons the pane gets filled with a couple of scattered rectangular excerpts from the rest of the xscreen. Moving the mouse restores the screen to its correct appearance. Should I report that somewhere or is there anything I could do about it (If it's the backend: I'm by no means an expert on backends)?
Yours, Orm