Jump to content

'o' key line/shape toggle after Ctrl-Z


adante
 Share

Recommended Posts

This is the most ridiculously petty thing to ask about but I"m genuinely curious about the following behaviour:

 

If I'm in shape mode and draw a shape, then Ctrl-Z to undo it, then press o, it will toggle to line mode.

 

If I'm in line mode and draw a line, then Ctrl-Z to undo it, then press o, nothing happens. I have to press o again to toggle to shape mode.

 

I'm just curious why this is the case. I spend a lot of time annotating pictures with rectangles and lines in paintdotnet and am often in the wrong mode and inadvertently draw a line when I want a rectangle (or vice versa). So my behaviour is to Ctrl-Z and hit o to toggle. However I have to be mindful of which mode I'm transitioning from/to in order to  remember the number of o's to press.

 

I guess it also begs the followup question: is there a explicit and distinct hotkey for the line mode or one for shape mode?

Link to comment
Share on other sites

The shortcut keys for tools aren't toggles, they're "chords."

 

So the shortcut key for Shapes isn't 'o', but rather 'o o'. The second 'o' must be within a second or so of the first one. It doesn't matter which tool you have active.

 

It's done this way so that the chord is context-free: it doesn't change depending on which tool you have active, it's always the same.

  • Like 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

6 hours ago, Rick Brewster said:

The shortcut keys for tools aren't toggles, they're "chords."

 

So the shortcut key for Shapes isn't 'o', but rather 'o o'. The second 'o' must be within a second or so of the first one. It doesn't matter which tool you have active.

 

It's done this way so that the chord is context-free: it doesn't change depending on which tool you have active, it's always the same.

 

Ahh gotcha! Thanks, that will save me a lot of time.

 

Might be worth renaming the tooltip to o, o perhaps.

 

Link to comment
Share on other sites

The same applies to the move tools:

 

:MoveTool: Move Pixels Tool (M)

 

:MoveSelectionTool: Move Selection Tool (MM)

 

and the selection tools:

 

:Selection: Square Selection Tool (S)

 

:LassoSelectTool: Lasso Selection Tool (SS)

 

:EllipseSelectTool: Circle Selection Tool (SSS)

 

:MagicWandTool: Magic Wand Tool (SSSS)

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

In the documentation, I referred to these keyboard combinations like this;

 

Tool Shortcuts

Rectangle Select

S

Lasso Select

S x 2

Ellipse Select

S x 3

Magic Wand Tool

S x 4

Shapes

O x 2

Move Selected Pixels

M

Move Selection

M x 2

(of course it's laid out much better than that! :lol: ) See  https://www.getpaint.net/doc/latest/KeyboardMouseCommands.html

Link to comment
Share on other sites

2 hours ago, Ego Eram Reputo said:

In the documentation, I referred to these keyboard combinations like this;

 

Tool Shortcuts

Rectangle Select

S

Lasso Select

S x 2

Ellipse Select

S x 3

Magic Wand Tool

S x 4

Shapes

O x 2

Move Selected Pixels

M

Move Selection

M x 2

(of course it's laid out much better than that!)

 

If I correctly remember.....

Once you have selected Shapes tool by O X 2, it's 'A'. 'A' is chord to select Shapes.

i.e.

 

Rectangle Shape

A

Rounded Rectangle

A x 2

Ellipse Shape

A x 3

Rhombus

A x 4

Trapezoid

A x 5

And so on...  

Rl7un0O.png

Link to comment
Share on other sites

  • 1 month later...

Sorry if I wasn't clear, I more meant the tooltips when you hover. For example, when I sit my cursor over the shapes key I get this:

 

image.png.b1f88251af630075306b2385b02c6a85.png

 

I feel like 'o o' or 'o x 2' might be more appropriate? Just a suggestion anyway.

 

Thanks for a great product! 

Link to comment
Share on other sites

Rick has a note flagged to look at changing the tooltips where multiple key presses are required. Stay tuned....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...