Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9802 (closed)

Opened 12 years ago

Closed 10 years ago

BUG: Multiple-selection using Cmd in Insight tree is out of sync with highlighted thumbnails

Reported by: spli Owned by: jburel
Priority: minor Milestone: Unscheduled
Component: Insight Version: 5.0.2
Keywords: n.a. Cc: mtbcarroll
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

  1. Open a dataset with multiple images. Click on the name of an image in the tree (left pane), the text will be highlighted to indicate it is selected and the corresponding thumbnail will also be highlighted.
  2. <CMD>-click the name of a different image in the tree to add it to the selection, the name will be correctly highlighted but the corresponding thumbnail won't.
  3. <CMD>-click the name of a third image in the tree, again the name will be highlighted but the corresponding thumbnail won't, however now the thumbnail from step <2> is highlighted.

There is a constant lag in the thumbnail highlighting.

I think I've tracked this down as far as a mousePressed event attached to the tree: BrowserUI.java:921
which on Linux/Mac? calls onClick(),
handleTreeSelection(),
paths = treeDisplay.getSelectionPaths()

My guess is that at this point treeDisplay hasn't registered the most recently clicked element since the mouse click event hasn't finished, so only returns the items previously selected.

tree.getSelectionPaths() is also called in
BrowserControl.java:337
and again is missing the most recently clicked element.

However this isn't completely reproducible, sometimes onClick() is called a second time at which point treeDisplay has been updated, so the thumbnails are correctly highlighted.

Moving the call to onClick() to
mouseReleased() as for Windows seems to correct this bug, but presumably will break the functionality that required the distinction between Mac/Linux? and Windows in the first place.

Attachments (3)

Screen Shot 2012-10-26 at 14.14.07.png (178.3 KB) - added by spli 12 years ago.
Two items selected in the tree, only one thumbnail highlighted
Screenshots 9802.jpg (90.0 KB) - added by rkferguson 11 years ago.
Screen Shot 2013-04-11 at 11.56.29.png (192.1 KB) - added by spli 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by spli

Two items selected in the tree, only one thumbnail highlighted

comment:1 Changed 11 years ago by mtbcarroll

Comments on https://github.com/openmicroscopy/openmicroscopy/pull/499 may be relevant: Jean-Marie notices a bug that arises from related aetiology.

Changed 11 years ago by rkferguson

comment:3 Changed 11 years ago by spli

  • Resolution set to fixed
  • Status changed from new to closed

It looks like Mark fixed this a while ago.

Changed 11 years ago by spli

comment:4 Changed 11 years ago by spli

  • Cc mtbcarroll added
  • Resolution fixed deleted
  • Status changed from closed to reopened

This has re-appeared again...

  • <CMD>-click multiple image names in the tree list, thumbnail highlighting is out of sync.
  • Click an image name, hold down <shift> and hit <DOWN-ARROW> to select multiple names usign the keyboard, thumbnail highlighting is again out of sync.

OS X 10.8, Insight.webstart, 4.4.6-1015-46d62c8-ice33-b215

comment:5 Changed 10 years ago by jburel

  • Resolution set to fixed
  • Status changed from reopened to closed
  • Version set to 5.0.2

tested with 5.0.3-rc2. I cannot see the issue. Closing the ticket.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65885 sec.)

We're Hiring!