Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
disappearance of script plugin menu ?
LETARTARE:
Hello,
for Code::Blocks svn 10035
Compiled by MinGW32 TDM 4.7.1 with wxWidgets 2.8.12 and VISTA
If you disable a plugin (or upload a new)
by example :
--- Quote ---Plugins->manage plugins...->Koders query ->disable
--- End quote ---
The menu plugin scripts disappear :
--- Quote ---Plugins->Find broken files in project
Project->Create package distribution
--- End quote ---
You must restart 'Code::Blocks' to recharge the missing menus.
Can you check your version?
Best regards
BlueHazzard:
Same here...
i think this is a logik error: In the function
void MainFrame::PluginsUpdated(cb_unused cbPlugin* plugin, cb_unused int status) in main.cpp:883
the menu is recreated, but the scripting plugins are just missing...
This function gets called every time a binary plugin gets installed/de installed (the event cbEVT_PLUGIN_INSTALLED is fired)
greetings
stahta01:
Duplicated the missing "Find broken files in project" issue using self compiled CB SVN 9781.
Duplicated with release 13.12.
Duplicated with release 12.11.
Only saw the issue when deactivating a plugin; did NOT test any other way to cause problem.
Tim S.
LETARTARE:
Hello,
thank you for checking.
Pending the amendment, I propose a solution that avoids restarting 'C::B'.
Tie all plugin scripts in 'Settings->Scripting'.
If the problem occurs, then just do it 'Settings->Scripting' then click to confirm the scripts then ok.
Thank you again.
BlueHazzard:
( FYI: I fixed this bug in my sqrat port of c::b https://github.com/bluehazzard/codeblocks_sf/commit/ae676a8e5310adfcb7a9986ec6da8326104d86b3 /branch: cb_push_candidate)
I don't think that there is a easy fix in the current version of c::b (but i took only a little look)
greetings
Navigation
[0] Message Index
[#] Next page
Go to full version