Bug #18848 2012-12-28 12:07
cirix
Ctrl+Alt = AltGr in CodeBlocks, editor almost unusable
When using the Windows version of either CodeBlocks 10.05, or the new 12.10, the AltGr key (on a Hungarian keyboard) is treated as the same as Ctrl+Alt together.
There are many keyboard shortcuts in CodeBlocks, which use Ctrl+Alt, for example Ctrl+Alt+G for "find function". However, many characters used in programming can be accessed with AltGr combinations on a Hungarian keyboard: AltGr+F = [, AltGr+G = ], AltGr + B = {, AltGr + N = } etc. So in 10.05, a ] character cannot be typed, as AltGr+G = Ctrl+Alt+G triggers the "go to function" menu item.
In the new version 12.10, many new keyboard shortcuts with Ctrl+Alt modifiers appeared, which render the default install of the editor completely unusable. At least five shortcuts have to be turned off, before one can type a simple, hello world like application.
- Category
- Application::Editor
- Group
- Platform:Windows
- Status
- Closed
- Close date
- 2013-03-12 13:46
- Assigned to
- mortenmacfly
History
(also wikipedia states that ctrl+alt should not be used for keyboard shortcuts: http://en.wikipedia.org/wiki/AltGr_key#Control_.2B_Alt_as_a_substitute)
You can use the keyboard shortcuts plugin to re-assign to whatever you want them to be. This should work for you.
We'll try to consider this in future releases.
Although I use the Hungarian keyboard layout as well the same is true for Czech and Slovak layouts.
(And after this comment I hope that the search for keyboard layout will find this bug:) )
@mortenmacfly: finding all the shortcuts takes considerable amount of time. At least there should be a quick option to disable Ctrl+Alt shortcuts.
But as it is a bad practice to use Ctrl+Alt shortcuts as fast reconsideration (before many users get used to the new shortcuts) would be nicer.
This bug is already fixed in trunk.