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

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
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

CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
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: 7665
    • 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 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
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.
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
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: 9702
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline BlueHazzard

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