Pressing Enter in the Add Glyphs dialog

A question about pressing Enter in the Add Glyphs dialog.

Enter — select the text
Opt-Enter — enter a new line
Cmd-Enter — confirm adding glyphs

What is the purpose of the first option, and why just pressing Enter isn’t designed to enter a new line?

I wonder about that too. The single enter bites me every time.

And isn’t it more common to have shift+enter for new lines in other applications, where the default enter is used by a different function?

  • Return confirms the selection when choosing form the completion menu. Not sure why it selects all when no menu is currently open.
  • OptionReturn inserts a new line as is the standard for Mac apps.

I mostly use spaces in that dialog to separate glyph names; that shows more glyph names for the same dialog size as compared to using line breaks.

This input filed is a text field and those have special handling for the “enter” key. I’ll see if I can prevent that.

1 Like

Me too, normally. My issue is more about long recipes. Usually I prepare the long list of recipes in some outer automation. But when there’s just 2-5 lines, I do it directly in the Add Glyphs dialog. And when the recipe line is long enough (like a composition from 3+ components), I prefer to separate each recipe by new line to visually confirm that there’s no typo mistake.

I fixed it.

3 Likes

(post deleted by author)

Side note. Technically, Mac keyboard layouts differentiate between Return :right_arrow_curving_left:︎ and Enter ⌤. Return is the key typically above your right Shift key, the one you press for typing a newline/paragraph. On a MacBook keyboard, fn-Return gives you Enter. On an extended keyboard, Enter is the one in the number pad. In most cases they do the same thing, though some apps differentiate between them.

1 Like

This is a good clarification. Sorry, I called it incorrectly, so it would lead to some confusion. So, what I initially meant is the Return key above the right Shift key.

Georg, what the new behaviour will be after the fix? New line? I’m interesting about Return key from default short keyboards.

Woah, Rainer! I did not know that, and I can confirm:

I use an external keyboard (with only one enter key), fully customizable. I just remapped the key from the ordinary “enter” to the num pad “enter” and indeed now just pressing my “enter” key triggers the OK of the dialog.

before:

after:

Thanks! That is an incredible insight. And geek trivia :green_heart:

there are several places with dialogs with text field. When the text field accepts entering newline, the “OK” shortcut is Cmd+return (e.g. the “Replace Feature” dialog in Font info) . I fixed that the text field actually accepts the return and enters a newline.

1 Like