openmicroscopy/openmicroscopy — pull request #510 by mtbc (2012-11-29 15:56:22+00:00)
Title: Fix trac #9802 and comment on PR #499: improve tree viewer event handling

Fix https://trac.openmicroscopy.org.uk/ome/ticket/9802 and JM's comment on https://github.com/openmicroscopy/openmicroscopy/pull/499 by making the tree viewer browser UI more tolerant of receiving a tree selection event after the corresponding mouse events. The approach isn't ideal, but avoids rewriting BrowserUI more substantially, and mostly avoids trying to access or rely on Swing event-firing and -dispatch internals.

As well as the specific test plans that each above link mentions, in testing generally try selecting and multi-selecting in the tree to make sure that thumbnail highlights and right-panel metadata display keep up with tree node selections.