Details
Description
When changing the way lots of sequence features are displayed on an alignment for which an overview window is shown, the overview sometimes becomes a blank rectangle, and the Jalview process load becomes very high.
This can occur most frequently with lots of disorder predictions for sequences in a large alignment. All features are rendered with graduated colourschemes and transparent, and if each feature type is shown one after another, the overview must be redrawn each time. The overview redraw threads queue up and run, which takes a long time, and only when the last one finishes will the overview window be redrawn again.
Solution: Need to create an alignment view worker for redrawing the overview which is managed in the same way as other derived data calculations. At most, only one redraw thread needs to be operational, all others should be cancelled as soon as the alignment view is updated again.
This can occur most frequently with lots of disorder predictions for sequences in a large alignment. All features are rendered with graduated colourschemes and transparent, and if each feature type is shown one after another, the overview must be redrawn each time. The overview redraw threads queue up and run, which takes a long time, and only when the last one finishes will the overview window be redrawn again.
Solution: Need to create an alignment view worker for redrawing the overview which is managed in the same way as other derived data calculations. At most, only one redraw thread needs to be operational, all others should be cancelled as soon as the alignment view is updated again.