# Lost ability to interact with closedCurves in preview

**URL:** https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134
**Category:** Support
**Tags:** markups
**Created:** [July 1, 2024, 9:44pm UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134 "2024-07-01T21:44:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [July 1, 2024, 9:44pm UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/1 "2024-07-01T21:44:23Z")

</div>

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).

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/f/4f21c75f37262222343a35e55a5cd9c6404b9ab3.jpeg)

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

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [July 3, 2024, 12:14am UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/2 "2024-07-03T00:14:54Z")

</div>

any comments on this issue?

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [August 28, 2024, 5:14am UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/3 "2024-08-28T05:14:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [August 28, 2024, 12:30pm UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/4 "2024-08-28T12:30:20Z")

</div>

@Sunderlandkyl any thoughts?

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [August 28, 2024, 12:57pm UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/5 "2024-08-28T12:57:30Z")

</div>

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”.

---

<div class="post-metadata">

### Author: ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)
#### Post date: [August 28, 2024, 1:57pm UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/6 "2024-08-28T13:57:33Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [August 28, 2024, 7:36pm UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/7 "2024-08-28T19:36:26Z")

</div>

> [@Sunderlandkyl](#):
>
> 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.

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.

---

<div class="post-metadata">

### Author: ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)
#### Post date: [October 30, 2024, 9:11pm UTC](https://discourse.slicer.org/t/lost-ability-to-interact-with-closedcurves-in-preview/37134/8 "2024-10-30T21:11:02Z")

</div>

PR created here that should fix the issue: [BUG: Fix issue preventing interacting with Markups curves by Sunderlandkyl · Pull Request #8021 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/pull/8021).
