Page MenuHomePhabricator

Measurement view doesn't reset if image is deleted
Closed, ResolvedPublic

Description

  • Open an image
  • Open the measurement view
  • Click the draw line button but don't draw a line
  • Go to the data manager and delete the image you're working on
  • Go back to the measurement bundle

> the name of the old image is still visualized, you can still draw a line. If you don't draw a line and open a new image it becomes even more confusing.

Event Timeline

New remote branch pushed: bug-13779-Fix-ImageIsSelectedConditionInMeasurementBundle

Problem was checking for wrong properties in 'CheckForTopMostVisibleImage',
fixed by checking if image is available.

Problem still exists, since it is not possible to determine when a planar figure is in a "final state".
Querying Markus E und Michi for input.

Denying release fix flag. The solution for this bug should contain at least the possibility to remove a planar figure which is not initially placed or finished and to enable the planar figure buttons again.

New remote branch pushed: bug-13779-Fix-DeleteNodesInMeasurementBundle

Fixed problem by checking for existence of "initiallyplaced" property, and resetting Tool State if such a DataNode is found.

Fixed re-initialising button-toolbar to release pressed buttons, after deletion.

New remote branch pushed: bug-13779-planarfigure-update-on-delete-final

[ecaee7]: Merge branch 'bug-13779-planarfigure-update-on-delete-final'

Merged commits:

2012-12-07 13:14:53 Andreas Fetzer [e79599]
Removed some warnings in measurement view


2012-12-07 13:14:02 Andreas Fetzer [e41900]
Fixed crash when selecting planar figure in renderwindow

Remove an uninitialized PF from the list of tracked pfs


2012-12-06 13:52:34 Christian Weber [224675]
Reset buttonsstates when deleting data node


2012-12-06 11:56:37 Christian Weber [f49434]
Delete unfinished DataNodes when Base-Node is deleted during interaction