Pinta icon indicating copy to clipboard operation
Pinta copied to clipboard

ESC should Deselect

Open JellyJoe198 opened this issue 1 month ago • 4 comments

Description After selecting some pixels, pressing the escape key on the keyboard should deselect.

Additional context Currently, the best way I've found to deselect all is to use the rectangle or ellipse select tool (press s if it isn't already in use), then click anywhere on the canvas. This feels unintuitive especially coming from other editors such as Paint.NET, MS Paint, and even xpaint which all have ESC to deselect.

I didn't know about the "Deselect All" button at the top until I was searching the issue tracker for something else (I don't use any of the buttons in that section anyway but that is a topic for a different discussion). But I prefer to use my left hand to press buttons on the keyboard so I don't have to break context to move my mouse all the way to the top of the screen.

Tested on Pinta 3.0.4 from Flathub

JellyJoe198 avatar Nov 13 '25 02:11 JellyJoe198

I see that this was mentioned in #1732. I will add that this should be context specific, i.e. ESC should exit the current task. So if you're editing text, ESC would finish editing the text, then pressing ESC again would deselect.

I'm not going to use Ctrl+Shift+A to deselect.

JellyJoe198 avatar Nov 13 '25 03:11 JellyJoe198

Yeah, at the very least I agree that supporting Esc to deselect while you're in a selection tool would be reasonable We'd need to audit how Esc is being used in other tools to see whether it's possible to have it be context-specific

cameronwhite avatar Nov 13 '25 04:11 cameronwhite

or ctrl+D, which is the Other deselect bind for Paint.NET

notquitehadouken avatar Nov 20 '25 08:11 notquitehadouken

Circumstantially, I would prefer removing selection to require 2 escapes. In cases where the tool didn't release yet, or the handles are still there, I would prefer that to be removed with escape first.

kevincrans avatar Dec 01 '25 11:12 kevincrans