# Keystrokes from Editor to Segment Editor

**URL:** <https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557>\
**Category:** Feature requests\
**Tags:** segmentation\
**Created:** [June 22, 2017, 8:57pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557 "2017-06-22T20:57:30Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [June 22, 2017, 8:57pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/1 "2017-06-22T20:57:30Z")

</div>

Would it be possible to transfer all Keystrokes from the Editor:  
[https://www.slicer.org/wiki/Documentation/Nightly/Modules/Editor](https://www.slicer.org/wiki/Documentation/Nightly/Modules/Editor)  
to the SegmentEditor  
[https://www.slicer.org/wiki/Documentation/Nightly/Modules/SegmentEditor](https://www.slicer.org/wiki/Documentation/Nightly/Modules/SegmentEditor)  
?

Thanks in advance

---

<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:** [June 22, 2017, 9:16pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/2 "2017-06-22T21:16:06Z")

</div>

The Segment editor has more shortcuts and they are optimized for blind one-handed use. See complete list here: [http://slicer.readthedocs.io/en/latest/user\_guide/module\_segmenteditor.html](http://slicer.readthedocs.io/en/latest/user_guide/module_segmenteditor.html)

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [June 23, 2017, 6:12am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/3 "2017-06-23T06:12:53Z")

</div>

Thanks for the hint 😉

I’ll try out and give some feedback.

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [June 28, 2017, 7:56am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/4 "2017-06-28T07:56:11Z")

</div>

Works great. Thank you.

I think there is only a bug that the view is reset to the default view if you use the Segment Editor for the first time or switch between different Segmentations?

---

<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:** [June 28, 2017, 9:05am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/5 "2017-06-28T09:05:26Z")

</div>

Actually, I think it is a feature, not a bug. Can you describe what you did, what you wanted to happen, and what happened instead?

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [July 27, 2017, 10:17am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/6 "2017-07-27T10:17:29Z")

</div>

For example:

- I use Segment Editor and segement the hip joint in the coronal plane (View: “Green slice only”)
- I use the shift key to move the other planes Red and Yellow to the same position.
- Now I change view to “Red slice only”.
- IMO the Red slice should be somewhere in the hip joint now, but it is in the default position.

This works in the “Four-Up” view. But it doesn’t work if I switch between "Green / Red / Yellow slice only"  
The slice position is always reset to default, if I change between different Views.

Kind regards

---

<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:** [July 27, 2017, 3:23pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/7 "2017-07-27T15:23:28Z")

</div>

When you switch between layouts the slice position should not change. This seems to be a bug - I’ll look into this.

---

<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:** [July 27, 2017, 5:02pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/8 "2017-07-27T17:02:28Z")

</div>

I’ve fixed the problem, it’ll work correctly in the nightly version that you download tomorrow or later.

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [July 28, 2017, 9:18am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/9 "2017-07-28T09:18:24Z")

</div>

Thank you! Works fine.

By the way. I forgot to mention that the “Subject Hierarchy” Button is not working for me.

And may it be possible to store the last settings of the Segment Editor in the mrml file somehow?  
For example the last segmentation, master volume, segment, view, zoom, pan, …

Kind regards

---

<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:** [July 28, 2017, 1:37pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/10 "2017-07-28T13:37:06Z")

</div>

> Subject Hierarchy” Button is not working for me

`Subject Hierarchy` module has been merged with `Data` module. In menu: `Edit` / `Application settings`, `Modules` section, `Favorite Modules` list (at the bottom) you need to:

1. Remove the old `Subject Hierarchy` shortcut (click on the shortcut then click `Remove`)
2. Create new shortcut: drag-and-drop the `Data` module from the list above into the `Favorite Modules` (you can adjust order of shortcuts with left/right arrow buttons)

> And may it be possible to store the last settings of the Segment Editor in the mrml file somehow?  
> For example the last segmentation, master volume, segment, view, zoom, pan, …

All these settings are already stored in the scene file and restored when you load the scene.

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [July 28, 2017, 2:32pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/11 "2017-07-28T14:32:28Z")

</div>

> In menu: Edit / Application settings, Modules section, Favorite Modules

Thank you, works fine.

> All these settings are already stored in the scene file and restored when you load the scene.

This doesn’t work for me. If I open scene file and select the Segment Editor the view is set to default.

---

<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:** [July 28, 2017, 4:49pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/12 "2017-07-28T16:49:11Z")

</div>

There may be some unnecessary reset of views, Ill see if Incan reproduce it. In the meantime, you can try if it works well if you switch to Segment editor, Close scene (even if you haven’t loaded any data yet), and then load your scene.

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [July 29, 2017, 10:03am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/13 "2017-07-29T10:03:58Z")

</div>

> [@lassoan](#):
>
> In the meantime, you can try if it works well if you switch to Segment editor, Close scene (even if you haven’t loaded any data yet), and then load your scene.

This seems to work.

Thanks a lot & kind regards

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [December 6, 2017, 10:52am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/14 "2017-12-06T10:52:35Z")

</div>

> [@MMMPPPMMM](#):
>
> If I open scene file and select the Segment Editor the view is set to default.

> [@lassoan](#):
>
> There may be some unnecessary reset of views, Ill see if Incan reproduce it.

This bug is still present in the latest nightly build. Would be great if this could be fixed.

Maybe another small bug, that I’ve recognized in the Segment Editor:  
If “Show 3D” is deactivated through the button, the button of “Show 3D” is still in active mode.

Thanks in advance

---

<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:** [December 6, 2017, 3:05pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/15 "2017-12-06T15:05:43Z")

</div>

> [@MMMPPPMMM](#):
>
> This bug is still present in the latest nightly build. Would be great if this could be fixed.

I cannot reproduce this. Could you capture a video of your screen, upload it somewhere, and post the link here?

> [@MMMPPPMMM](#):
>
> If “Show 3D” is deactivated through the button, the button of “Show 3D” is still in active mode.

Deactivate using which button?  
What do you mean by “still in active mode”?

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [December 7, 2017, 11:00am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/16 "2017-12-07T11:00:12Z")

</div>

> [@lassoan](#):
>
> I cannot reproduce this. Could you capture a video of your screen, upload it somewhere, and post the link here?

Here a video after starting slicer:  
[https://streamable.com/aj1dl](https://streamable.com/aj1dl)

---

<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:** [December 8, 2017, 4:59am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/17 "2017-12-08T04:59:45Z")

</div>

I’ve changed the segment editor widget to not reset slice view when switching master volume (when switching to Editor module). The new version will be available in the nightly build that you can download on Saturday or later.

---

<div class="post-metadata">

**Author:** ![MMMPPPMMM](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MMMPPPMMM](https://discourse.slicer.org/u/MMMPPPMMM)\
**Post date:** [December 9, 2017, 9:36pm UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/18 "2017-12-09T21:36:35Z")

</div>

Thank you!  
Works fine.

---

<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:** [March 21, 2023, 2:54am UTC](https://discourse.slicer.org/t/keystrokes-from-editor-to-segment-editor/557/19 "2023-03-21T02:54:24Z")

</div>


