Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Keybinder v2 notes/problems
Pecan:
--- Quote from: oBFusCATed on March 27, 2020, 09:59:29 am ---If the problem existed in 17.12 then not fixing it in 20.xx is not a regression. If problem wasn't there and it exists now then it is a regression. The idea of this is if the software got worse and not better.
--- End quote ---
In my view, the software has gotten better. It saves all the users' defined key bindings, even when CB gets re-built and/or wxWidgets changes the way it assigns menu ids.
Version 17.12 bailed out when there were more than three bindings that had no matching menu ids.
oBFusCATed:
I don't deny this. I don't know if it is worth it to do rebuilds.
Pecan:
--- Quote from: oBFusCATed on March 27, 2020, 07:19:46 pm ---I don't deny this. I don't know if it is worth it to do rebuilds.
--- End quote ---
Since it was you that was annoyed about losing your bindings, it might suggest that others are as interested in saving them as you are.
I know I'd appreciate it, I'm tired of losing bindings everytime I have to do a major build.
But I understand that we all have limited contribution time.
oBFusCATed:
Hm, now I've lost the keybindings for prev/next bookmark (alt-pgup/pgdown).
Any idea why this might have happened?
Currently using rev 12002. No idea how this has happened. I don't remember removing them manually. :(
Looking in the config the keys for these menu entries are empty.
Would it be possible to store only bindings different from the default? Or somehow manually set by the user?
oBFusCATed:
I've lost my local bindings once more. Rev 12012 at the moment.
Would it be possible to implement storing only non-default bindings (the ones I've actually set (only 3 at the moment))?
It will make debugging this a bit easier.
When are keybindings applied? Can the plugin change bindings in the middle of the execution?
Would it be possible to print an error when reading the bindings fails?
My C::B is crashing a lot, so it might be corrupting the files, but I'm finding about this corrupting late.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version