Page 1 of 1

wxCrafter Tab Missing

Posted: Tue May 10, 2016 8:04 pm
by Lotharyx
Hi,

CodeLite 9.1.0 binary from codelite apt repo
Debian Jessie
gcc-4.9 selected for workspace

I've got a workspace with a few projects, all of which were created prior to installing the wxCrafter plugin. I have since installed the plugin, and am able to add a wxCrafter item to a project.

Problem is, there's no wxCrafter tab in the Workspace View, so I have very limited control over the wxCrafter feature (in particular, I cannot navigate among objects). Observe:
Here is an example, taken from the CodeLite WxCrafterHelloWorld tutorial page:
wxCrafter tab.PNG
By comparison, here's my workspace view:
no wxCapture Tab.PNG
I've restarted CodeLite after creating the wxCrafter content, but still no tab. The plugin is definitely enabled, and appears in the Plugins menu.

I've also tried adding a new project to the workspace, selecting the template for " wxWidgets GUI Application (wxFrame, using wxCrafter)", and the tab is still not visible.

How do I get the wxCrafter tab to show up?

Re: wxCrafter Tab Missing

Posted: Tue May 10, 2016 9:25 pm
by eranif
If its not there, then the plugin is not loaded.
I am not sure why though...

You can install the latest weekly (9.1.6 which includes wxCrafter), see this post:

http://forums.codelite.org/viewtopic.ph ... 336#p15027

Eran

Re: wxCrafter Tab Missing

Posted: Wed May 11, 2016 12:48 am
by Lotharyx
No joy. CodeLite 9.1.6 is showing the same behavior.

Now I remember doing something quite a while ago to suppress some tabs in the Workspace view because there were a whole lot of them, and I thought it was just disabling (unchecking) various plugins in the Plugin Manager, but now I've checked them all, restarted CodeLite, and there are still the same number of tabs. So it seems like it might be something I've done (but I don't know what); does that give any additional clues?

Update: After a series of either checking or unchecking all in the Plugin Manager, manually closing CodeLite and selecting "Exit without saving," followed by restarting CodeLite, and now I only have four tabs, regardless of how many plugins are enabled (my SFTP tab disappeared). Ack!

Update 2: I noticed that for just a very short moment as the application window is being initialized, all the tabs are visible (well, enough to make it go beyond the visible area), and then once the window is done setting itself up, we're back to only four tabs.

Re: wxCrafter Tab Missing

Posted: Wed May 11, 2016 1:00 am
by Lotharyx
Okay, so I deleted everything in ~/.codelite, prompting CodeLite to wizard me through initial setup on the next launch. Hey presto, the tabs were back to normal. But, as soon as I went to enable/disable another plugin, the tabs didn't stay in sync with the enabled plugins.

I have a hunch. I've noticed that when CodeLite restarts itself, it doesn't wait for one instance to finish shutting down before a new instance is started. Could some shutdown behavior of the old instance be stomping on whatever the new instance is trying to do? For example, the saving of the perspective?

Re: wxCrafter Tab Missing

Posted: Sun Aug 28, 2016 6:44 am
by DaveHarper
Lotharyx wrote:I have a hunch. I've noticed that when CodeLite restarts itself, it doesn't wait for one instance to finish shutting down before a new instance is started. Could some shutdown behavior of the old instance be stomping on whatever the new instance is trying to do? For example, the saving of the perspective?
Thanks for posting this. I'm just starting out and was trying to work my way through the "Hello World" tutorial but not having much luck as I also had no wxCrafter tab in the Workspace View. Following your suggestion I exited CodeLite, waited a couple of minutes and then restarted it. That worked and I now have the tab. This might have been the end of my efforts if I hadn't stumbled across your post.

Dave

Re: wxCrafter Tab Missing

Posted: Sun Aug 28, 2016 12:20 pm
by eranif
FYI:
Clicking on the 3 dots in the workspace view caption, will bring up a popup menu with list of possible tabs to display / hide
Enable wxCrafter from there (if the plugin is loaded, wxCrafter will be listed as an option)

If you don't have the captions enabled, hit Ctrl-F11 or from the menu: View->Toggle Minimal View

Eran