Code::Blocks Forums

User forums => Help => Topic started by: fairysubs on November 03, 2009, 06:09:56 pm

Title: Bug when Changing Font Size on Mac OS Version
Post by: fairysubs on November 03, 2009, 06:09:56 pm
Hi,
I got a problem when using Code Blocks with Mac OS.
I'm using Snow Leopard, and when I try to change the font size in : Settings/Editor/General Settings I cannot see the Mac OS font size window.
When I click on the choose button, the font window appears during only 1 sec. an then, disappear.
Does anybody have any idea to fix that ?

Thanks in advance ;)
(http://img503.imageshack.us/img503/8185/codeblocks1.jpg)
Title: Re: Bug when Changing Font Size on Mac OS Version
Post by: stahta01 on November 03, 2009, 06:39:29 pm
Code::Blocks version/SVN ?

Tim S.
Title: Re: Bug when Changing Font Size on Mac OS Version
Post by: fairysubs on November 03, 2009, 07:28:00 pm
I installed the binary 8.02-p2 version linked on codeblocks.org and downloaded from BerliOS.
Title: Re: Bug when Changing Font Size on Mac OS Version
Post by: eranif on November 03, 2009, 09:10:07 pm
Its a wxWidgets bug with Snow Leopard

http://groups.google.com/group/wx-users/browse_thread/thread/2e6aa12813ec3ea6/75d8e7f1db404213?lnk=raot&pli=1 (http://groups.google.com/group/wx-users/browse_thread/thread/2e6aa12813ec3ea6/75d8e7f1db404213?lnk=raot&pli=1)

Eran
Title: Re: Bug when Changing Font Size on Mac OS Version
Post by: afb on November 03, 2009, 09:12:49 pm
This is a bug in the wxWidgets version used. It needs to be patched for Snow Leopard.

Quote from: http://wiki.wxwidgets.org/Development:_wxMac#Building_under_10.6_Snow_Leopard
Please note that there is a bug in wxMac 2.8.10 in wxFontDialog, which manifests itself on Mac OS X 10.6 by the dialog disappearing as soon as it is shown

Note that wxWidgets is bundled with CodeBlocks.app. Should be patched in next "nightly".
Title: Re: Bug when Changing Font Size on Mac OS Version
Post by: afb on November 03, 2009, 09:15:37 pm
Alternatively one could do a "p3", as only wxWidgets changed in p1 and p2...
Title: Re: Bug when Changing Font Size on Mac OS Version
Post by: fairysubs on November 25, 2009, 04:40:38 pm
Up,
thanks but, there is still no new version to solve this problem :(
You spoke about a " nightly " patch, where could I find that ?
Title: Re: Bug when Changing Font Size on Mac OS Version
Post by: afb on November 27, 2009, 04:50:56 pm
thanks but, there is still no new version to solve this problem :(
You spoke about a " nightly " patch, where could I find that ?

I meant the "nightly" builds of Code::Blocks, at BerliOS (http://developer.berlios.de/project/showfiles.php?group_id=5358)
Just that there hasn't been any such Mac builds recently...

So until then it'll have to be "don't change font size" or
"don't run Snow Leopard" or "rebuild/replace wxWidgets" ?