Author Topic: disappearance of script plugin menu ?  (Read 2382 times)

Offline LETARTARE

  • Regular
  • ***
  • Posts: 370
  • L'ami de l'homme.The friend of man.
disappearance of script plugin menu ?
« on: January 18, 2015, 11:01:31 am »
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
The menu plugin scripts disappear :
Quote
Plugins->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

C::B  : svn11656, wxwidgets2.8, wx3.0.3 plugins : QtPregen-2.4.3-sdk138
1-Vista Business Pack 2 32bits :  TDM-GCC- 4.9.2, TDM-GCC-5.1.0.3
2-OpenSuse-42.3-Leap 64bits :  g++-4.8.5,
=> !! The messages are translated by GOOGLE !!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2360
Re: disappearance of script plugin menu ?
« Reply #1 on: January 22, 2015, 01:51:18 am »
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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6535
    • My Best Post
Re: disappearance of script plugin menu ?
« Reply #2 on: January 22, 2015, 03:08:38 am »
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.
« Last Edit: January 22, 2015, 03:21:19 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline LETARTARE

  • Regular
  • ***
  • Posts: 370
  • L'ami de l'homme.The friend of man.
Re: disappearance of script plugin menu ?
« Reply #3 on: January 22, 2015, 04:20:00 pm »
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.
C::B  : svn11656, wxwidgets2.8, wx3.0.3 plugins : QtPregen-2.4.3-sdk138
1-Vista Business Pack 2 32bits :  TDM-GCC- 4.9.2, TDM-GCC-5.1.0.3
2-OpenSuse-42.3-Leap 64bits :  g++-4.8.5,
=> !! The messages are translated by GOOGLE !!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2360
Re: disappearance of script plugin menu ?
« Reply #4 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)
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9493
Re: disappearance of script plugin menu ?
« Reply #5 on: January 23, 2015, 09:22:02 am »
( 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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2360