Description:
This is a UI bug but it is extremely annoying.
MySQL Workbench 8.0.19 (latest version) on Windows 10
I go into Tools -> Manage Connections
I click into the "Connection Name" field and go to edit the Connection Name (or create a name for a New connection)
When I use the space bar (to put a space between words) the cursor jumps to the beginning of the field, thus I am unable to insert a space between words.
The connection name can take a space, you just have to paste it in from another source because of this UI bug.
(One, this can't be desired behavior; if you want to disallow spaces then do that but don't jump the cursor to the start of the field!)
(Two, this appears to happen only on a re-draw of the form. The very first load of this form appears to allow a space here, if you are adding a brand new connection. But after the form is re-drawn-- either for editing an existing connection or clicking the New button and starting to type)
How to repeat:
Tools -> Manage Connections
Click on an existing connection or the New button
Type a word
Hit spacebar
Cursor jumps to the beginning of the field to the left of the word you just typed
Expected behavior: a space appears where desired and cursor stays put for the next word
Suggested fix:
Don't do that, it's really stupid. Probably some sort of listener on the space key?