# Zoom in linked slices gets out of sync when using ctl+scroll

**URL:** <https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994>\
**Category:** Support\
**Created:** [January 29, 2020, 12:35pm UTC](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994 "2020-01-29T12:35:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felipe\_Silveira](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/felipe_silveira/32/5677_2.png) [@Felipe\_Silveira](https://discourse.slicer.org/u/Felipe_Silveira)\
**Post date:** [January 29, 2020, 12:35pm UTC](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994/1 "2020-01-29T12:35:09Z")

</div>

Hi, I noticed that if I have a couple of slice views linked and try to zoom in/out using ctrl+scroll only the slice view in focus is changed. If I later zoom in using right click, all views get synced up again.  
Is this a bug or a expected behavior?

I’m using the nightly 4.11.0 vesion from January 10th on linux.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 29, 2020, 5:29pm UTC](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994/2 "2020-01-29T17:29:09Z")

</div>

Thanks for reporting this. It is a bug that we will fix soon - I’ve added it to the issue tracker: [https://issues.slicer.org/view.php?id=4720](https://issues.slicer.org/view.php?id=4720)

---

<div class="post-metadata">

**Author:** ![fbordignon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fbordignon/32/5269_2.png) [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Post date:** [April 28, 2020, 2:21pm UTC](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994/3 "2020-04-28T14:21:54Z")

</div>

Hi guys, I’ve noticed the improvement in this issue, but I believe there is a undesired behavior when I use the ctrl+scroll zoom on linked slices. The action zooms in and out centering the window on the mouse position, but on the other linked slices the zoom is relative to the center of the respective slice.  
Example: If I position the mouse on top of the head and perform ctrl+scroll, I expect all linked slices to zoom in centering on the top of the head. What happens is depicted bellow. I am zooming on the rightmost slice where the red cross is and the approximated presumed mouse position in RAS is the red cross. Top row is before zooming, bottom row is after zooming. Always with ctrl+zoom

 ![headzoom](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/4/349b844a73eef94ec9c549579267c69499ba638b.jpeg)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 28, 2020, 3:16pm UTC](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994/4 "2020-04-28T15:16:12Z")

</div>

This could be a nice improvement. Would you be interested in trying to implement this change? We can point you to the relevant part of the code.

---

<div class="post-metadata">

**Author:** ![fbordignon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fbordignon/32/5269_2.png) [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Post date:** [April 28, 2020, 5:33pm UTC](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994/5 "2020-04-28T17:33:43Z")

</div>

I can try. Cannot promise a deadline, but it would be nice to give it a go.

---

<div class="post-metadata">

**Author:** ![fbordignon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fbordignon/32/5269_2.png) [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Post date:** [May 26, 2020, 5:44pm UTC](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994/6 "2020-05-26T17:44:59Z")

</div>

@lassoan can you point me to the directions of how to implement this change? Thank you very much.
