~adj/comment-test-tracker#143: 
Drag-and-Drop Bug in JavaFX

I have now reproduced a drag-and-drop issue with the TLC Merchantile BIQ. Steps (for my future self as much as anything):

  • Copy Colonist; name it Colonist II
  • Click on Alcoholic Drinks; stats still update
  • Drag Colonist II up between Pharmaceuticals and TVs
  • Click elsewhere; stats stuck on Colonist II
Status
REPORTED
Submitter
bitbucket:QuintillusCFC
Assigned to
No-one
Submitted
6 years ago
Updated
4 years ago
Labels
No labels applied.

~adj 4 years ago

This was due to not updating the (Swing) unit list in this case. Which might seem unnecessary... but the reordering code updates both. And even if it weren't for that, the stealth targets/legal unit telepad lists were not updated properly.

This is another data point in favor of separating the JavaFX and Swing code completely. The complexity of the Unit Tab still counters that for now, however.

~adj 4 years ago

Also note that the D&D part of the bug only happened when you attempted to reorder the last unit, which had been added after scenario start. The telepad/stealth parts would happen regardless of reordering it, however.

~adj 4 years ago

Fixed.

Register here or Log in to comment, or comment via email.