Skip to content

Feature request: Cmd/Ctrl-Click to set Active Label from crosshair target voxel #208

@sambuchl

Description

@sambuchl

Summary
Add a fast way to set the Active Label directly from the image pane: in Crosshair mode, Cmd (macOS) / Ctrl (Win/Linux) + Click on a voxel sets that voxel’s label as the Active Label.

Current

  • Set Active Label by either:
    • Clicking a label in Segmentation Labels (left panel)
    Image - Pressing l to open the label menu and selecting a label. Image

Problem

  • With many labels (e.g., hundreds of cysts in PKD), switching via panel/menu is slow and breaks flow.

Proposed:

  • Gesture: In Crosshair mode, Cmd/Ctrl + Click on a voxel.
  • Result: Label under cursor becomes the Active Label.
  • Background/no label: Set Active Label = 0 (Clear label).
  • Scope: Read-only; applies to the active segmentation layer; must not conflict with existing shortcuts.

Acceptance Criteria:

  • Cmd/Ctrl + Click on a labeled voxel sets that label as Active Label.
  • Clicking background sets Active Label = 0 (Clear label).
  • Works in 2D views without breaking existing shortcuts.

Bonus/Feature Nice-to-Haves:

  • Feedback: Brief status/toast: “Active Label: <name/id>”.
  • If available, exposing a shortcuts listing in Preferences would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions