Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on December 30, 2006, 06:05:59 pm

Title: The 30 december 2006 build is out.
Post by: killerbot on December 30, 2006, 06:05:59 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z

To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10.7z

For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26_gcc_cb_wx2.6.3p2.7z

The 30 December 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20061230_rev3444_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20061230_rev3444_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20061230_rev3444_suse100+101.i586.rpm
         http://prdownload.berlios.de/codeblocks/CB_20061230_rev3444_fc4+5.i586.rpm


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 30 december 2006 build is out.
Post by: TDragon on December 30, 2006, 06:23:48 pm
To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, ...
Would said patch happen to be publicly available? (If it's in Berlios, the server is down or at least inaccessible to me.)
Title: Re: The 30 december 2006 build is out.
Post by: Pecan on December 30, 2006, 06:27:14 pm
To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, ...
Would said patch happen to be publicly available? (If it's in Berlios, the server is down or at least inaccessible to me.)

This is the one attached to the keybinder patch.
I think this is what Tim S meant.

Code
Index: src/msw/menu.cpp
===================================================================
RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/msw/menu.cpp,v
retrieving revision 1.124.2.5
diff --unified -r1.124.2.5 menu.cpp
--- src/msw/menu.cpp 2006/10/20 14:46:59 1.124.2.5
+++ src/msw/menu.cpp 2006/12/29 20:59:22
@@ -412,8 +412,7 @@
if ( pItem->GetBitmap().Ok() &&
!pItem->GetTextColour().Ok() &&
!pItem->GetBackgroundColour().Ok() &&
- !pItem->GetFont().Ok() &&
- !pItem->GetBitmap(true).Ok() )
+ !pItem->GetFont().Ok() )
{
// try to use InsertMenuItem() as it's guaranteed to look correctly
// while our owner-drawning code is not
2006-Dec-30 02:00 stahta01
This patch helps the patch to fix menu items with icon not correctly aligned (since wx263) in thread http://forums.codeblocks.org/index.php?topic=4809 work better. Tim S
Title: Re: The 30 december 2006 build is out.
Post by: killerbot on December 30, 2006, 06:47:33 pm
that's the one ;-)
Title: Re: The 30 december 2006 build is out.
Post by: dronT78 on December 30, 2006, 06:55:57 pm
Quote
menu items with icon not correctly aligned (since wx263) (is fixed with our special wx263/wx28 dll)
Would you contribute this patch to official wxWidgets Bug tracker?
Title: Re: The 30 december 2006 build is out.
Post by: killerbot on December 30, 2006, 06:57:41 pm
Tim is going to take care of that, he was already following the reports from the wx guys upon this matter.
Title: Re: The 30 december 2006 build is out.
Post by: stahta01 on December 30, 2006, 07:22:51 pm
Quote
menu items with icon not correctly aligned (since wx263) (is fixed with our special wx263/wx28 dll)
Would you contribute this patch to official wxWidgets Bug tracker?

I was planing to add it, but since it is already being discussed by the maintainer and discover of the problem I am holding off. And, the wxWidgets patch is the two line change in src/msw/menu.cpp as posted above.

Discover: Jamie Gadd
maintainer: Vadim Zeitlin

http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/82394
http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/82419
http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/82422

Tim S

Edit: Does any one know if the bug was ever reported?

Edit: Working on patch submission in thread http://forums.codeblocks.org/index.php?topic=4809
Title: Re: The 30 december 2006 build is out.
Post by: cstudent on December 30, 2006, 08:41:16 pm
Ubuntu 6.10 (Edgy) build here (http://www.savefile.com/projects/1037211).
Title: Re: The 30 december 2006 build is out.
Post by: sethjackson on December 30, 2006, 11:14:55 pm
Windows ANSI build here (http://savefile.com/files/377004).
Title: Re: The 30 december 2006 build is out.
Post by: ElTorro on December 31, 2006, 01:48:13 am
The icons are aligned, but how about the redraw when expanding the menu?  It flickers every time a submenu expands.

Edit: Whoops, I guess it would be helpful to know that I am using Win XP.
Title: Re: The 30 december 2006 build is out.
Post by: stahta01 on December 31, 2006, 02:07:53 am
The icons are aligned, but how about the redraw when expanding the menu?  It flickers every time a submenu expands.

Edit: Whoops, I guess it would be helpful to know that I am using Win XP.

Can you turn off the keybinder plugin (keyboard shortcuts) and exit and reenter C::B and verify the problem stays or goes away?

If it goes away, does it come back with just turning the keybinder plugin on or does it require a restart of C::B?

Also, which submenus shows the problem the most?

Tim S
Title: Re: The 30 december 2006 build is out.
Post by: ElTorro on December 31, 2006, 07:34:27 am
Ok, Still there.  I Clicked  Plugins, Manage Plugins, Keyboard shortcuts, Uninstall.  Then exited and restarted C::B.
I tried Plugins, Manage Plugins, Keyboard shortcuts, disable but that crashed C::B.

Title: Re: The 30 december 2006 build is out.
Post by: stahta01 on December 31, 2006, 07:46:52 am
Ok, Still there.  I Clicked  Plugins, Manage Plugins, Keyboard shortcuts, Uninstall.  Then exited and restarted C::B.


I don't know what else is likely to try.
You can try my default item to blame which is code completion.
By trying Plugins, Manage Plugins, code completion, disable.
Note: I only meant to disable Keyboard shortcuts NOT Uninstall.

I am not the best person to verify that this issue exists or not, my eyes always sees flickers.
Maybe another person can see the issue if they know where to look.
What sub menu is having the issue?

Tim S
Title: Re: The 30 december 2006 build is out.
Post by: stahta01 on December 31, 2006, 07:49:10 am
I tried Plugins, Manage Plugins, Keyboard shortcuts, disable but that crashed C::B.

Try disable code completion in cases like this, with code completion disable, most of the plugins can then be disable without crashes most of the time. Tim S
Title: Re: The 30 december 2006 build is out.
Post by: zhuxuan on December 31, 2006, 10:03:51 am
Does anyone use the Ubuntu deb on Debian etch ?
I use it on Debian etch, and everytime I restart codeblocks, the layout was gone.
I layout everytime, and change the settings (Environment, Editor and etc.) again and again, choose "save the layout" when closing codeblocks, but nothing works.
Any idea ?
Thanks !
Title: Re: The 30 december 2006 build is out.
Post by: ElTorro on December 31, 2006, 06:21:55 pm
I tried Plugins, Manage Plugins, Keyboard shortcuts, disable but that crashed C::B.

Try disable code completion in cases like this, with code completion disable, most of the plugins can then be disable without crashes most of the time. Tim S

Plugins, Manage Plugins, Code completion, Disable.  function completes without error.
Plugins, Manage Plugins, Keyboard shortcuts, Disable, still crashes C:B.  Tried from a restart(C:B) , and reboot.

As far as the menu flicker, is this problem only happening for me or for others too?
Title: Re: The 30 december 2006 build is out.
Post by: Biplab on December 31, 2006, 06:47:27 pm
I tried Plugins, Manage Plugins, Keyboard shortcuts, disable but that crashed C::B.

Try disable code completion in cases like this, with code completion disable, most of the plugins can then be disable without crashes most of the time. Tim S

Plugins, Manage Plugins, Code completion, Disable.  function completes without error.
Plugins, Manage Plugins, Keyboard shortcuts, Disable, still crashes C:B.  Tried from a restart(C:B) , and reboot.

As far as the menu flicker, is this problem only happening for me or for others too?


I did not observe any flicker. I am using Windows XP (SP2)
Title: Re: The 30 december 2006 build is out.
Post by: ElTorro on December 31, 2006, 07:35:21 pm
Update. I hadn't noticed it before but it only happens with the File menu.  Any other menu item with a submenu does not flicker ( Edit, Bookmarks; View, Layouts; View, Toolbars; Project, Project tree; etc.)

Here are the ones that flicker:
File, New
File, Recent projects
File, Recent files
File, Import project
File, Export
Title: Re: The 30 december 2006 build is out.
Post by: Biplab on December 31, 2006, 08:00:43 pm
Update. I hadn't noticed it before but it only happens with the File menu.  Any other menu item with a submenu does not flicker ( Edit, Bookmarks; View, Layouts; View, Toolbars; Project, Project tree; etc.)

Here are the ones that flicker:
File, New
File, Recent projects
File, Recent files
File, Import project
File, Export

Yes, I am also getting the similar problem. The problem is only with File menu.
Title: Re: The 30 december 2006 build is out.
Post by: Pecan on December 31, 2006, 08:30:08 pm
Update. I hadn't noticed it before but it only happens with the File menu.  Any other menu item with a submenu does not flicker ( Edit, Bookmarks; View, Layouts; View, Toolbars; Project, Project tree; etc.)

Here are the ones that flicker:
File, New
File, Recent projects
File, Recent files
File, Import project
File, Export

Yes, I am also getting the similar problem. The problem is only with File menu.

This small flicker (XP) has been been there as long as I can remember.
I just tried SVN3226 (November 16) and it's there also.
It appears to be a non issue to me. It is most likely comming from a dynamic UI update routine.

 
Title: Re: The 30 december 2006 build is out.
Post by: ElTorro on December 31, 2006, 10:21:08 pm
The file menu behavior is tied to a project being open.  It only seems to disappear when a project is open but otherwise remains.
Title: Re: The 30 december 2006 build is out.
Post by: adam on January 02, 2007, 04:41:20 am
Just a wild guess but maybe the menu is being populated with dynamic names for open files and project and such after the menu is "opened" and then redraw cause a flicker to occur.