News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

disappearance of script plugin menu ?

Started by LETARTARE, January 18, 2015, 11:01:31 AM

Previous topic - Next topic

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 :
QuotePlugins->manage plugins...->Koders query ->disable
The menu plugin scripts disappear :
QuotePlugins->Find broken files in project
Project->Create package distribution

You must restart 'Code::Blocks' to recharge the missing menus.

Can you check your version?

Best regards

CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

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

#2
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

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.
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

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

MortenMacFly

Quote from: BlueHazzard on January 22, 2015, 11:05:00 PM
( FYI: I fixed this bug in my sqrat port of c::b  https://github.com/bluehazzard/codeblocks_sf/commit/ae676a8e5310adfcb7a9986ec6da8326104d86b3 /branch: cb_push_candidate)
Good spot. Reminds me: What is the status of this branch and who is actively monitoring it? I did it once but it conflicted with my own changes so I had dropped it that time.

Do you have a "ToDo" / "Open Items" list? What is the meaning of your different GIT branches? Whats the one to start with?

This work really shouldn't get lost...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]