Details
Description
(Originally reported by [~geoff.barton])
The overview panel allows the viewport position to be adjusted by dragging a red box representing the viewport's location. When dragging the box, the speed at which it is redrawn depends on whether the overview panel is overlapping the alignment panel (and possibly others - I'm still investigating the exact behaviour).
If the overview does not overlap any other panels, the repaint is fast when dragging the box, regardless of the size of the overview panel. If the overview overlaps the alignment, the repaint becomes quite slow.
It appears that repaints of the overlapped panels are directly triggering the paintComponent method in the overview. The resulting build-up of repaint calls seems to be causing the observed slowdown.
The overview panel allows the viewport position to be adjusted by dragging a red box representing the viewport's location. When dragging the box, the speed at which it is redrawn depends on whether the overview panel is overlapping the alignment panel (and possibly others - I'm still investigating the exact behaviour).
If the overview does not overlap any other panels, the repaint is fast when dragging the box, regardless of the size of the overview panel. If the overview overlaps the alignment, the repaint becomes quite slow.
It appears that repaints of the overlapped panels are directly triggering the paintComponent method in the overview. The resulting build-up of repaint calls seems to be causing the observed slowdown.