OS: Fedora 30.
WX: 3.0.4-8 [https://apps.fedoraproject.org/packages/wxGTK3-devel]
Build: from SVN.
Last known working version: 11678.
Current version: 11738 [the OS and WX versions did not change between my last working builds and now]
Hello, in the new versions of Code::Blocks, the keyboard shortcut plugin do not work for me properly. When I start Code::Blocks, even with a fresh "*/config/codeblocks" i get this entry in the logs:
Preserving older key bindings failed. Will create key bindings from current menu structure.
After startup, there is also a dialog about conflicting keybindings (that I did not set), I fix the issue by removing the repeat bindings and setting other bindings I use, everything works fine, but only for that instance, the settings are never saved to file (like before), and the cycle repeats. I know I can silence the warning, but that does not solve the problem.
Thank you!
I have the same problem.
OS: Linux Mint 19.1
WX: 3.0.4
Until I can fix this, in "Home/yourUsername/.codeblocks", please rename cbKeyBinder10.ini to cbKeyBinder10.ini.bak and delete cbKeyBinder20.conf. Then rerun your CodeBlocks.
Last edit: pecan 2019-06-14
Would one of you please zip up your .codeblocks config folder and attach it here.
I need something to recreate the problem.
Not having a codeblocks folder in config, which lead to Code::Blocks creating one can produce the repeating binding warning dialog and not saving issue, in my case. A fresh configuration folder is included.
Note: instances of my username is changed to "person", you may have to change them to yours, not sure.
"default.conf": line 1353.
"codesnippets.ini": line 2.
Thank you!
@147317.
Thanks !
Could you elaborate on your comment about no CodeBlocks folder in your %appdata% ?
I removed my CodeBlocks config folder from my windows %appdata% folder (for me c:\Users\Pecan\AppData\Roaming\CodeBlocks).
But when I restart codeblocks, a virgin folder immediately appears.
So what do you mean by the statement above: "Not having a codeblocks folder in config," ?
I also noticed that you have no "default.cbKeyBinder20.conf" in the ziped file you attached. Did you disable KeyBinder plugin at some point ? Or is some automatic process on your system deleting it on purpose (such as an over protective virus protector?)
Just trying to run down the possibilities and find some clues. And thanks for the help.
@147317.
Stupid me... I now see you're refering to Linux. Not Windows.
So yes, I've managed to recreate the problem you've described on Linux.
Thanks
Last edit: pecan 2019-06-15
Fixed head revision 11741
Thank you very much! *bow*