# Bug: zoom in linked slices gets out of sync when using right-click+drag (again)

**URL:** <https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996>\
**Category:** Support\
**Created:** [April 18, 2022, 7:13am UTC](https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996 "2022-04-18T07:13:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DIV](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/div/32/12816_2.png) [@DIV](https://discourse.slicer.org/u/DIV)\
**Post date:** [April 18, 2022, 7:13am UTC](https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996/1 "2022-04-18T07:13:32Z")

</div>

I linked the slice views and when I **right-click+drag** to change the field of view (zoom), only the field of view of the slice where my mouse is is changed.

When I use **ctrl+scroll** all the linked slice views are synchronised and change together.

This unexpected behaviour happened in both

- version 4.13.0 revision 30748 built 2022-03-31
- version 4.13.0 revision 30784 built 2022-04-16

I assume that this is a bug, based on similar past reports:

- [Zoom in linked slices gets out of sync when using ctl+scroll](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-ctl-scroll/9994) (Jan. 2020)
- [Zoom in linked slices gets out of sync when using right-click+drag](https://discourse.slicer.org/t/zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag/21678) (Jan. 2022)

In previous versions using either **right-click+drag** or **ctrl+scroll** was equivalent: both methods changed the field of view of all linked slices.  
Indeed, the second linked post, above, indicates that a bug with the same symptoms was fixed in version 4.13.0; revision 30570; built 2022-01-29, so maybe this is a regression?

—DIV

P.S. I didn’t notice any indication in the online [User Guide for the user interface](https://slicer.readthedocs.io/en/latest/user_guide/user_interface.html#slice-views) that the behaviour is supposed to be different.

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [April 18, 2022, 10:35am UTC](https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996/2 "2022-04-18T10:35:09Z")

</div>

In 4.13.0-2022-04-12 r30779 / ed4845f I link the slice views and

- zoom in a single, selected slice by using right-click+drag
- zoom in all slices simultaneously by using ctrl + mouse wheel

---

<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:** [April 18, 2022, 11:17am UTC](https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996/3 "2022-04-18T11:17:34Z")

</div>

It looks like a bug to me. Can you please add it as an issue [here](https://github.com/Slicer/Slicer/issues) for milestone 5.0.1? Thanks!

---

<div class="post-metadata">

**Author:** ![DIV](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/div/32/12816_2.png) [@DIV](https://discourse.slicer.org/u/DIV)\
**Post date:** [April 19, 2022, 10:36am UTC](https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996/4 "2022-04-19T10:36:31Z")

</div>

Hello, Csaba.  
I’ve submitted the [bug report](https://github.com/Slicer/Slicer/issues/6318), but couldn’t see how to [associate that issue with the specified milestone](https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/associating-milestones-with-issues-and-pull-requests). Maybe that needs to be done by an administrator?  
—DIV

---

<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:** [April 19, 2022, 3:26pm UTC](https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996/5 "2022-04-19T15:26:34Z")

</div>

Thank you!

> [@DIV](#):
>
> Maybe that needs to be done by an administrator?

Probably needs at least triage rights. I added the milestone.

---

<div class="post-metadata">

**Author:** ![DIV](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/div/32/12816_2.png) [@DIV](https://discourse.slicer.org/u/DIV)\
**Post date:** [April 21, 2022, 1:20am UTC](https://discourse.slicer.org/t/bug-zoom-in-linked-slices-gets-out-of-sync-when-using-right-click-drag-again/22996/6 "2022-04-21T01:20:00Z")

</div>

Thanks.  
Andras has [reportedly fixed](https://github.com/Slicer/Slicer/issues/6318#issuecomment-1103283676) this now.
