Skip to content

fix!: unclash right mouse button in crop tool#562

Open
RobertMueller2 wants to merge 3 commits into
Satty-org:mainfrom
RobertMueller2:crop_rightclick_fix
Open

fix!: unclash right mouse button in crop tool#562
RobertMueller2 wants to merge 3 commits into
Satty-org:mainfrom
RobertMueller2:crop_rightclick_fix

Conversation

@RobertMueller2

@RobertMueller2 RobertMueller2 commented Jun 30, 2026

Copy link
Copy Markdown
Member

Closes: #560
Addresses complaint in #470

When using right mouse button for actions, in crop it may be counter-intuitive that right click resets crop.

For now, add Ctrl modifier to the right click. This is experimental because in the future tool related bindings/shortcut may become configurable.

Also add Ctrl+Left click to finish crop editing.

PR builds on #561, because that one offers a mouse-only way to apply and reset crop.

@RobertMueller2 RobertMueller2 added this to the 0.22.0 milestone Jun 30, 2026
@RobertMueller2 RobertMueller2 changed the title fix: unclash right mouse button in crop tool fix!: unclash right mouse button in crop tool Jun 30, 2026
Adds tool dismiss/commit buttons. Introduces handle_dismissed method for
tools.

The buttons only really work for crop and text right now.

Change text so Esc used handle_dismissed, enter is already available for
commit.
Closes: Satty-org#560
Addresses complaint in Satty-org#470

When using right mouse button for actions, in crop it may be
counter-intuitive that right click resets crop.

For now, add Ctrl modifier to the right click. This is experimental
because in the future tool related bindings/shortcut may be
configurable.

PR builds on Satty-org#561, because that one offers a mouse-only way to
apply and reset crop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--actions-on-right-click save-to-clipboard no longer works in crop mode

1 participant