Page MenuHomePhabricator

Toolbuttons stick in pressed state
Closed, WontfixPublic

Description

If a toolbutton is clicked without prior activation of the corresponding view, it is not properly released and no click event is send.

Related Objects

StatusAssignedTask
ResolvedNone
WontfixNone

Event Timeline

Sascha, do you know what is meant? Otherwise, Klaus, could you describe the problem?

Sascha should know the bug.

It is easily reproducible by:

  • loading any image
  • activating MITK-Diffusion Imaging
  • selecting the image in the data storage
  • activating any view but not the controls directly under the data storage
  • clicking on the second button from the left (it is supposed to toggle texture interpolation on and off)

If you look at the render windows, you will see that the button only works upon the second click, not on the first one.

Resetting all bugs without active assignee flag to "CONFIRMED". Change status to IN_PROGRESS if you are working on it.

Seems to work for me (On Windows Vista x64). Maybe somebody else test this, and close the bug if the test works for them as well.

bug confirmed on linux (ubuntu 11.4)

It works for the 'Reinit'-Button which is located in the same view. The single difference in my opinion was the 'IsCheckable()' status of the button. But switching off this property for the TextureInterpolation button didn't change anything.

Somehow this happens only to datanodes that were generated by some algorithm. Files loaded from disk seem to work fine.

No I correct, this bug occurs if a different view is active before the selection is made in the datamanager. Then the click-events never gets to the visualization-property view.

this is weird, even removing all setCheckable and setChecked from the code and removing the property from the ui-xml does not resolve the problem? This takes too much time, this bug will once more be tolerated for the release.

kislinsk added a project: Bulk Edit.
kislinsk removed a project: Bulk Edit.