Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Keybinder v2 notes/problems

<< < (6/15) > >>

Pecan:

--- Quote from: Pecan on February 27, 2020, 05:30:06 pm ---
--- Quote from: Pecan on February 25, 2020, 09:05:21 pm ---
--- Quote from: oBFusCATed on February 23, 2020, 02:08:13 pm ---Today I've had the ctrl-w stop working and tried to rectify the situation, but then I've got this message "KeyBinding file corrupted. Please delete". What should I delete?

See the attached config file.

--- End quote ---

You must be using an old version of keybinder. That event was fixed a few revision ago.
That message does not exist anymore.

--- End quote ---

I've been able to re-create this problem. Am now working on it.
It's caused by using a <personality>.cbKeyBinder20.conf file from one build on a different build. The menu id's don't match.

--- End quote ---

Fixed SVN 11974

oBFusCATed:
Is there any reason you're storing random numerical ids?
Isn't it possible to use the menu item label (before translation) as an identifier instead?

Pecan:

--- Quote from: oBFusCATed on March 07, 2020, 08:29:32 pm ---Is there any reason you're storing random numerical ids?
Isn't it possible to use the menu item label (before translation) as an identifier instead?

--- End quote ---

Numerical id's are used by tradition from the original KeyBinder code suggested to me in 2005. And they're also used by the code from CodeLite.

I'll look into the possiblity of using only the Menu tree paths instead.

But that, I think, will take a lot of time. Duplicate menu labels and translated menu labels will cause many problems to solve.

To use menu labels will require a rewrite.

oBFusCATed:
For the record, today I've upgraded to this version and I've seen zero problems. I'll wait a day or two and the last un-picked keybinder commits are going to the release branch. 8)

oBFusCATed:
I've lost all my shortcuts again. I'm on 11979.
See the config file attached.

Does the plugin logs when it fails to set a shortcut? I don't see any error/warning messages.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version