Bug #99338 Can't add space in Connection Name

Submitted: 23 Apr 2020 18:44 Modified: 11 May 2020 6:02
Reporter: S Adamson Email Updates:
Status: Won't Fix Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.19, 8.0.20 OS:Windows (Microsoft Windows 10 Pro)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[23 Apr 2020 18:44] S Adamson
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?
[11 May 2020 6:02] MySQL Verification Team
Hello S Adamson,

Thank you for the report and feedback.
Observed this on Win10 with WB 8.0.20.

regards,
Umesh
[14 Sep 18:05] Omer Barnir
Posted by developer:

This issue applies to the legacy MySQL Workbench 8.x implementation that is no longer supported or maintained.
MySQL Workbench 26.7 is a complete rewrite using a new technology stack and does not use the affected legacy implementation.
Therefore, this issue is not applicable to the current MySQL Workbench product and as such is closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.