Bug #64217 Mac Option key doesn't behave correctly in Workbench SQL editor
Submitted: 3 Feb 2012 0:34 Modified: 27 Jul 2012 8:08
Reporter: David Marwick Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.37 r8576 OS:MacOS (10.7.2)
Assigned to: CPU Architecture:Any
Tags: delete, editor, option key, osx, SELECT

[3 Feb 2012 0:34] David Marwick
Description:
On Mac OS X the Option key usually acts on 1 word at a time but that is not consistently supported in Workbench SQL Editor. Moving the cursor works OK but deleting and highlighting text does not.

Bugs:

1. Option-Delete only deletes 1 character instead of 1 word

2. Shift-Option-<arrow key> only selects 1 character instead of 1 word

This is inconvenient during SQL editing.

How to repeat:
1. Open Workbench SQL editor, type "foo bar".
2. Go to end of line, press Option-Delete. Observe only the last character "r" is deleted instead of "bar".
3. Press Shift-Option-LeftArrow. Observe only one character "a" is highlighted instead of "ba".

Suggested fix:
Make Option key behavior standard.
[3 Feb 2012 5:04] Valeriy Kravchuk
Thank you for the problem report.
[17 Feb 2012 5:07] Valeriy Kravchuk
Bug #64358 was marked as a duplicate of this one.
[10 May 2012 19:04] David Marwick
Can someone please provide an update on this issue? Thanks
[17 May 2012 15:06] Mike Reid
v5.2.40 was just released, and I can confirm that this issue was NOT addressed :(

Please tell us v5.2.41 will be out very soon with this issue fixed?
[25 Jul 2012 14:50] Mike Reid
v5.2.41 is out -- http://dev.mysql.com/downloads/workbench/

I am happy to report that this bug appears to have been squashed! :) Thank You × ∞
[27 Jul 2012 8:08] Philip Olson
Fixed as of Workbench 5.2.41, and here's the changelog entry:

On Mac OS X, the Option key did not behave like a standard Mac OX application. For example, Option + Delete  would delete one character instead of one word.
[19 Nov 2013 17:33] Mike Reid
This bug seems to have re-appeared in v6.0.8 (Duplicate of #64358)