[WORKBENCH-14] Drag / Drop not working in the Mac version of the i2b2 Workbench Created: 26/Oct/16  Updated: 06/Oct/17  Resolved: 06/Oct/17

Status: Done
Project: i2b2 Workbench
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.01

Type: Bug Priority: Major
Reporter: Janice Donahoe Assignee: Taowei David Wang
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: WB Release 2.0.01
Sprint: WB Release 2.0.01

 Description   
Currently, the drag / drop function is not working in the Mac version of the i2b2 Workbench. It appears users are able to "drag" an item but it will not "drop" in the designated location.

Example:

You can drag a concept from the Navigation view, but when you try to drop it into the panel nothing happens.

 Comments   
Comment by Taowei David Wang [ 24/Jul/17 ]
Drag and Drop (DnD) does not work on Mac because of the following reasons:

Symptoms:
This DnD issue seems to only affect plugins that uses the AWT-SWT bridge, an outdated library which our Query, Timeline, and Analysis plugins rely on. Users experience functional DnD when Query tool is the only one running. However, if another plugin (e.g. Timeline) that uses AWT-SWT bridge is also running, then Query tool no longer accepts drops.

Causes:
Apple switched JRE shipped with Mac from an Apple-version to the standard Oracle version. DnD worked earlier because Apple had fixes in it to enable it to work. Now with the new Oracle-managed JRE, it is unclear whether Oracle will fix this issue for Mac or not in the future.

Resolution:
Having no promised resolution in the future and the need to support the i2b2 workbench in Mac, Shawn has decided on July 19th, 2017 that we
   1) stop building native Mac i2b2 workbench.
   2) only ship i2b2 workbench in a Linux VM for Mac users.
   3) continue shipping native i2b2 workbench for Windows.

Generated at Fri Apr 26 07:41:19 UTC 2024 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.