Code::Blocks Forums

User forums => Help => Topic started by: Snippy on February 08, 2015, 02:30:05 pm

Title: Collapsing menus in Management and tabs over editor are gone.
Post by: Snippy on February 08, 2015, 02:30:05 pm
I have the Win version.

The window called Management in the IDE: in the resources tab you are supposed to see your project(s) name with a little + or - next to it to drop down the menu to get to your files like main.c, right? I see the project name but the little + is gone and I can't get to my main.c or other files from here. In addition the little tabs above the editor are are gone (where you would see the filename). I don't recall changing anything, but I tried everything I know to do. I even tried resetting perspective and reinstalling but it's still like this. Can someone please tell me how to get it back to the way it was?
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: oBFusCATed on February 08, 2015, 03:58:52 pm
Can you show a screen shot, because I'm not sure what is the exact problem you're talking about?
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: Snippy on February 09, 2015, 03:37:26 am
Can you show a screen shot, because I'm not sure what is the exact problem you're talking about?

Sure. Click: http://s4.postimg.org/v9dzpmeez/CBShot.png

See the Management window? There's supposed to be a little + or - next to my project name (ProCB1). And right above the editor, about where #include is, there's supposed to be a tab with filename (main.c). It wasn't like this when I installed or on my old computer but something changed it.
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: ollydbg on February 09, 2015, 07:06:07 am
See the Management window? There's supposed to be a little + or - next to my project name (ProCB1).
If you don't have resources in your project, than it should be empty as shown in your screen shot.

Quote
And right above the editor, about where #include is, there's supposed to be a tab with filename (main.c). It wasn't like this when I installed or on my old computer but something changed it.
Do you configure to disable the tabs? Here is what in my C::B, see screen shot below:
(http://imagizer.imageshack.us/v2/846x587q50/673/VM3yh6.png)
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: Snippy on February 09, 2015, 07:58:53 am
If you don't have resources in your project, than it should be empty as shown in your screen shot.

There are multiple files in my project. C::B even opens the main.c file as it normally would when I open projects. And it's like this for every project now, not just this one.

Do you configure to disable the tabs? Here is what in my C::B, see screen shot below:

Mine doesn't have that option (see picture). But I did notice when changing the settings here the tabs appear for a moment before disappearing again. I tried every setting here but none fixed this.

(http://s24.postimg.org/jak7um24h/CBShot2.jpg) (http://postimg.org/image/jak7um24h/)

I will also say that I tried deleting the registry values to fix this after I uninstalled C::B. It wasn't like this when I first installed, so I don't know how that didn't reset everything do default, unless I missed some setting somewhere. If anyone knows how to reset C::B to default completely, please tell me. I think that may fix it.
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: ollydbg on February 09, 2015, 08:38:55 am
If you don't have resources in your project, than it should be empty as shown in your screen shot.

There are multiple files in my project. C::B even opens the main.c file as it normally would when I open projects. And it's like this for every project now, not just this one.
The files should be shown in the "Project" panel, not the "Resource" panel, see screen shot below.
(http://imagizer.imageshack.us/v2/324x226q90/913/RLSugX.png)



Quote
Do you configure to disable the tabs? Here is what in my C::B, see screen shot below:

Mine doesn't have that option (see picture). But I did notice when changing the settings here the tabs appear for a moment before disappearing again. I tried every setting here but none fixed this.

(http://s24.postimg.org/jak7um24h/CBShot2.jpg) (http://postimg.org/image/jak7um24h/)
I don't know. Maybe you should mention your C::B version, I'm using the latest nigihtly build: Nightly builds (http://forums.codeblocks.org/index.php/board,20.0.html)



Quote
I will also say that I tried deleting the registry values to fix this after I uninstalled C::B. It wasn't like this when I first installed, so I don't know how that didn't reset everything do default, unless I missed some setting somewhere. If anyone knows how to reset C::B to default completely, please tell me. I think that may fix it.
See this wikipage: 2 Q: Where does C::B's configuration file store? How do I make Code::Blocks portable? (http://wiki.codeblocks.org/index.php?title=FAQ-Settings#Q:_Where_does_C::B.27s_configuration_file_store.3F_How_do_I_make_Code::Blocks_portable.3F), I don't think C::B write some registry values.  :)
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: Snippy on February 09, 2015, 09:04:53 am
The files should be shown in the "Project" panel, not the "Resource" panel, see screen shot below.

Oh! Of course. I just had to scroll over to the projects panel.

I don't know. Maybe you should mention your C::B version, I'm using the latest nigihtly build: Nightly builds (http://forums.codeblocks.org/index.php/board,20.0.html)

13.12 rev 9501.

See this wikipage: 2 Q: Where does C::B's configuration file store? How do I make Code::Blocks portable? (http://wiki.codeblocks.org/index.php?title=FAQ-Settings#Q:_Where_does_C::B.27s_configuration_file_store.3F_How_do_I_make_Code::Blocks_portable.3F)

I found the config file in my appdata and deleted it. That solved the problem! Thank you!

I don't think C::B write some registry values.  :)

I found a registry folder called codeblocks. I don't know if it had anything useful in it though.
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: MortenMacFly on February 09, 2015, 09:28:29 am
I found a registry folder called codeblocks. I don't know if it had anything useful in it though.
This is from the NSIS installer (if you've used it). Its used to be able to un-install C::B (as needed by Windows). If you use a nightly or not install it using the installer there is zero registry usage.
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: Jenna on February 09, 2015, 08:51:54 pm
The checkbox in the settings does nothing for me (I did not even notice it before).
To hide (or show) the tabs I check (or uncheck) "View-> Hide editor tabs".
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: oBFusCATed on February 10, 2015, 09:12:52 am
The option in the settings is added by Morten recently, more specifically:
Code
rev 10070:
    - relay-outing some of the settings dialogs
    - fixed some assertions in wx30 wrt XRC files

@Morten: Is this added by mistake or you've forgotten to add the code that connects the ui to the settings?
Title: Re: Collapsing menus in Management and tabs over editor are gone.
Post by: MortenMacFly on February 10, 2015, 10:32:04 am
@Morten: Is this added by mistake or you've forgotten to add the code that connects the ui to the settings?
Added by mistake - its something experimental. Feel free to remove.