# HG changeset patch # User Chris Cannam # Date 1558018202 -3600 # Node ID 160e6d0101415de369128c100516ce3e76aac223 # Parent 98157ea8a3d287531851521d6386fda7a8b6b174 Avoid showing progress bars for dormant layers. They'll typically be duplicates, e.g. in the vect app you can get many dormant layers all reporting the alignment completion at the same time. (Maybe it would be better just to reject progress bars for alignment in dormant layers? Hm) diff -r 98157ea8a3d2 -r 160e6d010141 view/View.cpp --- a/view/View.cpp Fri May 10 15:50:51 2019 +0100 +++ b/view/View.cpp Thu May 16 15:50:02 2019 +0100 @@ -1757,6 +1757,16 @@ if (i->first == object) { found = true; + + if (i->first->isLayerDormant(this)) { + // A dormant (invisible) layer can still be busy + // generating, but we don't usually want to indicate + // it because it probably means it's a duplicate of a + // visible layer + cancel->hide(); + pb->hide(); + continue; + } // The timer is used to test for stalls. If the progress // bar does not get updated for some length of time, the