Author Topic: Projects layout stange on first run of C::B  (Read 14804 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Projects layout stange on first run of C::B
« 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.


Edit: Added link to image.
« Last Edit: January 03, 2006, 12:33:34 pm by MortenMacFly »
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Projects layout stange on first run of C::B
« Reply #1 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.
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 tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Projects layout stange on first run of C::B
« Reply #2 on: January 03, 2006, 11:01:09 am »
this is a known bug and appeared the first time with using wx262 ...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Projects layout stange on first run of C::B
« Reply #3 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:
« Last Edit: January 03, 2006, 12:18:01 pm by MortenMacFly »
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 rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Projects layout stange on first run of C::B
« Reply #4 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).

grv575

  • Guest
Re: Projects layout stange on first run of C::B
« Reply #5 on: January 03, 2006, 11:10:35 pm »
It doesn't happen for the symbols (class browser) tab.  Only the projects tab.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Projects layout stange on first run of C::B
« Reply #6 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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Projects layout stange on first run of C::B
« Reply #7 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...
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Projects layout stange on first run of C::B
« Reply #8 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 ;)
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Projects layout stange on first run of C::B
« Reply #9 on: January 04, 2006, 09:09:09 am »
yes, I favor that.  :P

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Projects layout stange on first run of C::B
« Reply #10 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.
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 rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Projects layout stange on first run of C::B
« Reply #11 on: January 04, 2006, 05:42:21 pm »
YAY! :)

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Projects layout stange on first run of C::B
« Reply #12 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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Projects layout stange on first run of C::B
« Reply #13 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 :)
Be patient!
This bug will be fixed soon...

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Projects layout stange on first run of C::B
« Reply #14 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?
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Projects layout stange on first run of C::B
« Reply #15 on: January 06, 2006, 11:15:05 am »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Projects layout stange on first run of C::B
« Reply #16 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"...
Be patient!
This bug will be fixed soon...

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Projects layout stange on first run of C::B
« Reply #17 on: January 06, 2006, 11:36:22 am »
Thanks, didnt noticed it... :oops:
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Projects layout stange on first run of C::B
« Reply #18 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.