Bug #66131 'ctrl + /' does not un/comment text
Submitted: 31 Jul 2012 22:35 Modified: 7 Sep 2012 6:19
Reporter: Bogdan Fürst Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.41 OS:Windows (Microsoft Windows 7 Ultimate Edition (build 7600), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[31 Jul 2012 22:35] Bogdan Fürst
Description:
select text and press 'ctrl + /'   does not un/comment text when slovene keyboard

proposition: what if shortcut label in menu item would show [ctrl + /] instead of [ctrl + Divide]?

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Users\AI\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Ultimate Edition (build 7600), 64-bit
CPU: 8x Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz, 6.0 GiB RAM
Active video adapter (0): ATI Radeon HD 5800 Series
Installed video RAM: 1024 MB
Current video mode: 1920 x 1200 x 4294967296 colors
Used bit depth: 32
Driver version: 8.980.0.0
Installed display drivers: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Current user language: Slovenian (Slovenia)

How to repeat:
set win7 keyboard layout to Slovene;
run workbench;
select text in editor;

press [ctrl + divide on numeric keyboard] or [ctrl + shift + 7] or [ctrl + '_'] -> text is not un/commented
[16 Aug 2012 19:02] Armando Lopez Valencia
Thanks for your report Bogdan.
Reproduced as comented by the reporter, error displayed by WB after press Ctrl+/
See attachment for details.
Verified in:
Windows7x64
WB 5.2.42 rev9752.
[16 Aug 2012 19:03] Armando Lopez Valencia
Evidence

Attachment: 66131.JPG (image/jpeg, text), 38.61 KiB.

[7 Sep 2012 6:19] Philip Olson
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:

 With the Slovenian keyboard layout chosen, pressing "Control" + "/" would
 not toggle commenting. 

Thank you for the report.
[4 Oct 2012 8:54] hed hodo
very good. thank you.
[10 Jun 2014 23:06] Nabil Bani
Here is the solution:
I have been trying to figure this out for quite sometime now. First off, comment/uncomment works with divide and not forward slash. Divide is the "forward slash" that exists in full size keyboard (i.e: you desktop keyboard has the extra number pad...) so use that forward slash. Use the same thing if you have a full size keyboard if you have one in your laptop.

Now, For those who does not have a full size keyboard on their laptop (like me). Instead hold Ctrl + Fn (function key) + 0. 
NOTE: You can trigger divide key if you use function + 0. If you have non-English keyboard then use button that has a divide key "Forward Slash".

I hope this helps.