On Tuesday 13 December 2005 16:26, Guillaume Laurent wrote: > > Other update requests which are buffered along with the one for the > segment request, and are then processed altogether when the repaint > occurs. I've looked at *CompositionModelImpl::eventAdded() and > CompositionView::slotUpdate*(*const* QRect& rect), and both do what they > should, so it's definitely some other wider update request. It used to > be the one from setPointerPosition(), but you fixed that so I really > don't know.
No, it's something else. As I said I added a trace in viewportPaintEvent() on the redrawn rect that is computed by checkScrollAndRefreshDrawBuffer(), and it showed that the whole screen was redrawn with every pointer move (supposing I call slotSegmentsDrawBufferNeedsRefresh() in setPointerPosition when recording). But looking at the traces of slotUpdate(), they don't show any global update request : rosegarden: CompositionView::slotUpdate() rect [-200,384 - 196x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 198x24] - valid : true rosegarden: CompositionView::slotUpdate() rect [-200,384 - 198x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 200x24] - valid : true rosegarden: CompositionView::slotUpdate() rect [-200,384 - 200x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 201x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 203x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 204x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 205x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 206x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 207x24] - valid : true rosegarden: CompositionView::viewportPaintEvent() r = [0,0 - 959x520] rosegarden: CompositionView::slotUpdate() rect [-200,384 - 208x24] - valid : true So that would point to something wrong in checkScrollAndRefreshDrawBuffer(), but that's surprising. -- Guillaume. http://www.telegraph-road.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel