Chris Cannam wrote:
It only happens when you're dragging the selection rectangle -- that's probably how. The point is that it seems to provoke redraws of segments that are nowhere near the selection rectangle as well as those that are. In fact it seems to provoke redraws even if there are no segments in the rectangle and never have been.

Maybe this is by design and it's just much harder to constrain the refresh and get it right than it is to refresh everything each time. If it's a genuine tradeoff rather than a mistake, then maybe we just have to live with it.
No, there's some logic in CompositionModelImpl::setSelectionRect(), but it's obviously not perfect. It's bound to update more than needed at some point, for isntance it can happen if a segment is within the rect formed by the union of the selection rect and a newly selected/deselected segment. But updating segments even if no selection has ever occurred is a bug.



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to