Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on January 03, 2006, 10:49:09 am

Title: Projects layout stange on first run of C::B
Post by: MortenMacFly on January 03, 2006, 10:49:09 am
After a fresh re-install of my system I ran C::B (compiled rev. 1648 from SVN) on a completely "blank" system. The projects window appears to be strange as one can see on the picture attached bellow. The second run was normal, so I assume it has something to do with the initial values of this panel (or sizer window?).
I believe this has been discussed at some point but if I search for "projects" or "layout" in the forums I get tons of messages... :? - so please excuse if it has been answered already.
Morten.
(http://img435.imageshack.us/img435/1816/projectsissue5bq.png) (http://imageshack.us)

Edit: Added link to image.
Title: Re: Projects layout stange on first run of C::B
Post by: MortenMacFly on January 03, 2006, 10:49:56 am
I cannot upload the screenshot by now because of an error: "The upload folder is full. Contact the admin..." of the forum. I'll do this later.
Title: Re: Projects layout stange on first run of C::B
Post by: tiwag on January 03, 2006, 11:01:09 am
this is a known bug and appeared the first time with using wx262 ...
Title: Re: Projects layout stange on first run of C::B
Post by: MortenMacFly on January 03, 2006, 11:26:04 am
this is a known bug and appeared the first time with using wx262 ...
Alright then, so it's nothing new - and yes! I am using wx262 the first time by now. I didn't realize that this might be related... :oops:
Title: Re: Projects layout stange on first run of C::B
Post by: rickg22 on January 03, 2006, 05:15:03 pm
Question - does this bug appear in the class browser?

The class browser uses a class of mine (wxSplitPanel). The project tree used it too, but it was removed for some reason i don't remember (not saving config i think).
Title: Re: Projects layout stange on first run of C::B
Post by: grv575 on January 03, 2006, 11:10:35 pm
It doesn't happen for the symbols (class browser) tab.  Only the projects tab.
Title: Re: Projects layout stange on first run of C::B
Post by: rickg22 on January 04, 2006, 01:30:40 am
Interesting! Yiannis, perhaps we should use the Split panel again? I have the idea that somewhere between 2.6.1 and 2.6.2 the method to check if the window is split or not, has been changed and that's what made my split panel not load the config correctly - but i haven't had the time to check.
Title: Re: Projects layout stange on first run of C::B
Post by: mandrav on January 04, 2006, 08:49:23 am
Interesting! Yiannis, perhaps we should use the Split panel again?

Well, Rick, the opened files tree does use the split panel. The class browser does not...
Title: Re: Projects layout stange on first run of C::B
Post by: mandrav on January 04, 2006, 09:01:02 am
Btw, don't bother with this any more. I will make the open files list a separate dock so the split panel won't be needed anymore and the user could put the list anywhere he/she likes ;)
Title: Re: Projects layout stange on first run of C::B
Post by: killerbot on January 04, 2006, 09:09:09 am
yes, I favor that.  :P
Title: Re: Projects layout stange on first run of C::B
Post by: MortenMacFly on January 04, 2006, 10:41:35 am
I will make the open files list a separate dock so the split panel won't be needed anymore[...]
Sound like a very good idea to me! :P
Morten.
Title: Re: Projects layout stange on first run of C::B
Post by: rickg22 on January 04, 2006, 05:42:21 pm
YAY! :)
Title: Re: Projects layout stange on first run of C::B
Post by: Game_Ender on January 05, 2006, 06:21:57 pm
Btw, don't bother with this any more. I will make the open files list a separate dock so the split panel won't be needed anymore and the user could put the list anywhere he/she likes ;)

Not untill we use a docking toolkit that supports tabs.  On Rev 1658 In Linux (and probably windows but I haven't checked) I can't put the watches tab back where it was in RC2, in a tab with Project Files and Symbols.  I would like this flexibility, I use eclipse, which does this and it is very nice to have.
Title: Re: Projects layout stange on first run of C::B
Post by: mandrav on January 05, 2006, 06:28:20 pm
Btw, don't bother with this any more. I will make the open files list a separate dock so the split panel won't be needed anymore and the user could put the list anywhere he/she likes ;)

Not untill we use a docking toolkit that supports tabs.  On Rev 1658 In Linux (and probably windows but I haven't checked) I can't put the watches tab back where it was in RC2, in a tab with Project Files and Symbols.  I would like this flexibility, I use eclipse, which does this and it is very nice to have.

As has been said, this is the only fancy feature wxAUI is still missing. But, as I heard, it's in its roadmap ;) so just read my sig :)
Title: Re: Projects layout stange on first run of C::B
Post by: David Perfors on January 06, 2006, 11:04:34 am
Yiannis, when I enable the open files, the title of the window is "Disassembly", could that be changed?
Title: Re: Projects layout stange on first run of C::B
Post by: Ceniza on January 06, 2006, 11:15:05 am
Yiannis, when I enable the open files, the title of the window is "Disassembly", could that be changed?

http://forums.codeblocks.org/index.php?topic=647.msg14284#msg14284 (http://forums.codeblocks.org/index.php?topic=647.msg14284#msg14284)
http://forums.codeblocks.org/index.php?topic=1862.msg14371#msg14371 (http://forums.codeblocks.org/index.php?topic=1862.msg14371#msg14371)
Title: Re: Projects layout stange on first run of C::B
Post by: mandrav on January 06, 2006, 11:19:20 am
Yiannis, when I enable the open files, the title of the window is "Disassembly", could that be changed?

This has to do with the layout having been saved with a previous version which didn't have the "open files list" as a docking window.
Just use the new "View->Layouts->Delete current"...
Title: Re: Projects layout stange on first run of C::B
Post by: David Perfors on January 06, 2006, 11:36:22 am
Thanks, didnt noticed it... :oops:
Title: Re: Projects layout stange on first run of C::B
Post by: Game_Ender on January 06, 2006, 06:24:01 pm
As has been said, this is the only fancy feature wxAUI is still missing. But, as I heard, it's in its roadmap ;) so just read my sig :)

I know, but I was just trying to make the point that by making it a seperate window you take away one degree of flexibility.   At least until wxAUI gets the tab functionality.  I can't wait for the next update either, I am looking forward to using it for one my projects.