Lost ability to interact with closedCurves in preview

In the latest previews, I cannot seem to highlight a curve by hovering over it, if the curve is drawn on a model. This breaks the ability to add points to the curve in selected regions.

In the latest stable (5.6.2) this works as intended (see the screenshot that the color of the curve has changed to reflect active state).

In the latest preview, this functionality works, but only if the curve is not on a model. Is this behavior change intentional?

any comments on this issue?

Following on this, with more detail. The issue persists on all preview versions I tried on mac. It doesn’t require a model. To replicate:

  1. In 3D views, draw an S-shaped on curve using 5-6 control points
  2. Move the pointer across the curve slowly and notice that every time the pointer is close the curve, it get highlighted as expected
  3. Now turn curve 90 degree so you are looking it from the profile. Now try the same movement with pointer, and notice that curve is impossible to highlight. Note that control points doesn’t seem to get affected from this.
  4. Bring back the curve to the original position, and notice that you cannot interact with it anymore (at least not easily and consistently).

This is vanilla Slicer, no extensions installed.

@lassoan @pieper

@Sunderlandkyl any thoughts?

I just tried it with yesterday’s preview on Windows, and the behavior is the same as what @muratmaga described for Mac. What is strange is that sometimes the interaction is restored after a ot of changing view, rotating, etc, but for some curves the hover highlight is broken for good (for the same Slicer session). So it is quite undeterministic, except for the part that hover does not work if viewing a curve “from the profile”.

1 Like

I think there is some pattern to the behavior. If you place a curve on the view plane in the 3D view, then you can still interact at any point along the curve with the curve. If the camera is rotated it is only possible to interact with the curve where it intersects with the view plane.

Curves placed on 3D models are also not interactable except where they intersect with the view plane.

I think this means that it may be related to picking and/or interaction distance.
I’ll start looking into the issue.

2 Likes

This isn’t the case in 5.6.2 though. Try my workflow with 5.6.2 and trying to interact with the curve in the profile view has no complications.

PR created here that should fix the issue: BUG: Fix issue preventing interacting with Markups curves by Sunderlandkyl · Pull Request #8021 · Slicer/Slicer · GitHub.

3 Likes