User forums > Using Code::Blocks
Keyboard shortcuts on Mac in Code Blocks 10.05 interfere with editing
afb:
--- Quote from: jim.clarke on June 05, 2010, 02:21:03 am ---There's still the issue that its idea of quitting includes crashing and sending a report to Apple, but I'll let Apple worry about that one.
--- End quote ---
You might want to send it here (i.e. BerliOS) instead, as I think they'll just ignore those.
Supposedly you can patch Crash Reporter to do that automatically, maybe a good idea...
afb:
--- Quote from: jim.clarke on June 05, 2010, 02:22:58 am ---As noted by afb, the cure was to disable keyboard shortcuts. That may prove annoying, but not fatal.
--- End quote ---
That's not the cure, more like a workaround. It still has shortcuts, just not user editable.
The cure is to teach keybindings to remember the "Cmd-" modifier as well as the others...
Main problem here is that the wxWidgets API is different on different wxWidgets platforms.
So wxACCEL_CMD doesn't even exist on other platforms, meaning it has to use a #define...
afb:
--- Quote from: afb on June 05, 2010, 10:22:47 am ---The cure is to teach keybindings to remember the "Cmd-" modifier as well as the others...
So wxACCEL_CMD doesn't even exist on other platforms, meaning it has to use a #define...
--- End quote ---
My bad, the keybinding is "Ctrl-" even on Mac OS X (although it maps to Command key)
And wxACCEL_CMD is used on all platforms, where as wxACCEL_CTRL is "XCtrl-" on Mac.
Now fixed, in r6333.
jim.clarke:
--- Quote from: afb on June 05, 2010, 10:22:47 am ---
--- Quote from: jim.clarke on June 05, 2010, 02:22:58 am ---As noted by afb, the cure was to disable keyboard shortcuts. That may prove annoying, but not fatal.
--- End quote ---
That's not the cure, more like a workaround. It still has shortcuts, just not user editable.
The cure is to teach keybindings to remember the "Cmd-" modifier as well as the others...
Main problem here is that the wxWidgets API is different on different wxWidgets platforms.
So wxACCEL_CMD doesn't even exist on other platforms, meaning it has to use a #define...
--- End quote ---
Sorry, "cure" was a poor word choice. However, it's as close to a cure as I can get: I'm considering using CodeBlocks as an IDE for students in an introductory programming course, and any more complicated fix is going to go wrong for too many of them. At least this non-cure gets us off the ground, so "thanks" was not a poor word choice.
afb:
--- Quote from: jim.clarke on June 05, 2010, 11:09:28 pm ---
--- Quote from: afb on June 05, 2010, 10:22:47 am ---That's not the cure, more like a workaround. It still has shortcuts, just not user editable.
The cure is to teach keybindings to remember the "Cmd-" modifier as well as the others...
--- End quote ---
Sorry, "cure" was a poor word choice. However, it's as close to a cure as I can get: I'm considering using CodeBlocks as an IDE for students in an introductory programming course, and any more complicated fix is going to go wrong for too many of them. At least this non-cure gets us off the ground, so "thanks" was not a poor word choice.
--- End quote ---
Nothing to be sorry about, just that disabling the plugin is a temporary fix that shouldn't be needed. But a permanent fix has been added to svn, and will be in next release (and in next "Nightly Build")
If you have any more experiences using Code::Blocks for students, please share. Maybe it could also need an "installer" that would only copy a selected number of plugins, like it does on Windows ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version