Author Topic: CB ToolBar with wxDockIt seems to be unstable.  (Read 13726 times)

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
CB ToolBar with wxDockIt seems to be unstable.
« on: September 20, 2005, 01:31:04 pm »
You can look into the attachment.

I just sometimes uncheck Plugins->Manage plugins->GDB Debugger, v0.1

I use CB CVS with wxWidget CVS.

[attachment deleted by admin]
« Last Edit: September 20, 2005, 01:32:35 pm by heromyth »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #1 on: September 20, 2005, 09:14:52 pm »
I can't confirm this using either wx2.4.2 or wx2.6.1 under both win32 and linux.
Be patient!
This bug will be fixed soon...

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #2 on: September 21, 2005, 01:25:39 pm »
Using wxWidgets 2.6.1 under Windows 2000

takeshimiya

  • Guest
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #3 on: October 26, 2005, 01:08:33 am »
In both RC2 and CVS, in win32, I'm having a problem with the toolbars.

The first toolbar works well (the one that haves new/open/find/etc).
The 2nd and 3rd toolbar doesn't works (they are painted but you can't clic them, its like they aren't there).

I've --clear-configuration just in case. I was having this problem from long ago, but I was thinking it was something not well configured in my CVS compile.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #4 on: October 26, 2005, 09:05:11 am »
Delete $(HOME)/.cb_layout.bin.
There's nothing wrong with the toolbars, but with the saved layout. You must have had a crash once while saving the layout and it got corrupted...
Be patient!
This bug will be fixed soon...

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #5 on: October 26, 2005, 09:48:09 am »
You can look into the attachment.

I just sometimes uncheck Plugins->Manage plugins->GDB Debugger, v0.1

I use CB CVS with wxWidget CVS.
I have similar problem. See a first screenshots. I move a middle toolbar to right edge. See a second screenshot.

To mandrav:
I mean what rightmost part of a middle toolbar ("Build target: [COMBOBOX]") not counted on calculation a toolbar width.
As result, a rightmost toolbar lays on a middle toolbar.

CB::CVS [now]


[attachment deleted by admin]
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

takeshimiya

  • Guest
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #6 on: October 26, 2005, 06:49:21 pm »
Delete $(HOME)/.cb_layout.bin.
There's nothing wrong with the toolbars, but with the saved layout. You must have had a crash once while saving the layout and it got corrupted...

Thanks, it solved the problem. :)

May I ask why it is a binary format and not a text-plain file (ie. INI, XML)?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #7 on: October 26, 2005, 10:44:12 pm »
Quote
May I ask why it is a binary format and not a text-plain file (ie. INI, XML)?

It's part of wxDockit. Seems that the authors preferred to do it in binary ;)
Be patient!
This bug will be fixed soon...

takeshimiya

  • Guest
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #8 on: October 27, 2005, 12:24:21 am »
Ah, itsn't the latest version then, because I think it can be saved in XML.

EDIT:

From wxDockit changelog:

v2.1 (22/7/2005)
================
[Common]
- Added initial XML load/save support (does not cover wxSlideBar)
- Fixed (hopefully) bug with programmatically docking windows
- Unicode support (Maxime Topoloff)
- wxWidgets 2.5.4 support (Jesus Gonzalez)
- Implemented a bakefile-based build system; updated the installation.txt & readme.txt files
- Added a SPEC file for RPM building
- Added the license.txt and copying.lib files so that it's clear that wxDockIt is released with the same license used by wxWidgets


Also, lack of Unicode support in wxDockit 2.01 is what's preventing C::B from being compiled in OS X.
« Last Edit: October 27, 2005, 12:42:42 am by takeshimiya »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #9 on: October 27, 2005, 08:57:49 am »
- Added initial XML load/save support (does not cover wxSlideBar)

So, no go yet...

- Unicode support (Maxime Topoloff)

Already implemented in our CVS version.

- wxWidgets 2.5.4 support (Jesus Gonzalez)

I don't know what this means. It works for us up to 2.6.2 and back to 2.4.2...

Also, lack of Unicode support in wxDockit 2.01 is what's preventing C::B from being compiled in OS X.

Our CVS version doesn't lack unicode support. I don't know why you 're saying it...
Be patient!
This bug will be fixed soon...

takeshimiya

  • Guest
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #10 on: October 27, 2005, 07:10:45 pm »
My bad, I was talking about an old CVS version, didn't check that in the latest CVS.

About wx2.54, I suppose that it compiles right in 2.6 and 2.4 but there was some problem with 2.5.4.

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #11 on: November 06, 2005, 07:10:34 am »
At first, sorry for my question that is disturbing you.

I am using CB compiled by myself, which surpport locale language choice at startup. You can get is from http://bitworld.ys168.com .

I install it in a clean Windows system. It seems no problem that I choice the system default or other language at first and click the OK button.  Today I find that the problem comes out if I click the Cancel button. And after I have tried to delete some data about CB in Windows' registry and reinstalled the CB, the problem still there. Maybe I must reinstall my Windows for making CB normal. :(

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #12 on: November 07, 2005, 04:59:43 pm »
I think some data is stored in your Documents and Settings\your_user_name\.Codeblocks directory in there (Replace "your_user_name" with the appropriate value). Yes, that's a "." before "Codeblocks", it's not a typo. Delete everything in there and reinstall.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #13 on: November 07, 2005, 06:10:58 pm »
I think some data is stored in your Documents and Settings\your_user_name\.Codeblocks directory ...
on my computer (WinXp) all the user-templates are stored there, but no configuration data - this is all in the registry.

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
Re: CB ToolBar with wxDockIt seems to be unstable.
« Reply #14 on: November 08, 2005, 09:46:55 am »
I think some data is stored in your Documents and Settings\your_user_name\.Codeblocks directory in there (Replace "your_user_name" with the appropriate value). Yes, that's a "." before "Codeblocks", it's not a typo. Delete everything in there and reinstall.

Thank you for yours hint. This time I am carefull. The critical file '.cb_layout.bin' exists in the Documents and Settings\your_user_name\ directory not in Documents and Settings\your_user_name\.Codeblocks. It seems to be some strange :shock:

To restore registry seems no use. The correct way is to delete the file .cb_layout.bin. mandrav is right. Sorry for my first ignoring it. Perhaps I have not really understand the '$(HOME)/' at first.

Thanks!