I found a problem with the feature flasher (for flashing feature from
the info view) if the user has multiple maps open. To reproduce:
1) Create two maps and open both of them
2) Add the same layer to both maps.
3) Use the info tool and click on a feature.
4) In the Information view click on the feature to cause it to flash.
This works okay.
5) Click on the feature again to start the flashing, but before it
finished flashing (you have to be quick) open the other map you created
(hiding the current one).
At this point if you go back to the first map the feature will be
highlighted in dark yellow and feature flashing will no longer work on
any maps.
I tracked this down to a problem with the AnimationUpdater in that it
never allows the animation to finish if the map is hidden while it is
still running. This in turn cause additional problems.
From what I can determine there are two potential solutions to this
problem:
1) allow the animation to finish playing even after the map is hidden
2) stop & clean up the animation and remove it when the map is hidden
Any comments? I will provide a fix if I can get some guidelines on when
to cleanup the animations if the maps are hidden.
Emily
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel