News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Mac OS X wxWidgets 2.8 issues

Started by afb, April 26, 2007, 03:12:36 PM

Previous topic - Next topic

afb

Ongoing thread about switching from wxWidgets 2.6.3 to wxWidgets 2.8.3, for the wxMac build.
Major items might eventually get up filed as proper bug reports, if they can be isolated enough.

afb

First up is a problem with the toolbars:

wxWidgets 2.6:


wxWidgets 2.8:


That is, all the menus are missing...

bnilsson

#2
Another one here.
After building and launching CB3912, I got a number of wxWidgets Alerts, as shown below.
The last one came up at CB quit.
How can this be tracked down?
Is it wxWidgets itself or CB calls to wxWidgets?

[attachment deleted by admin]

afb

Quote from: bnilsson on May 01, 2007, 04:42:19 PM
After building and launching CB3912, I got a number of wxWidgets Alerts, as shown below.

Those alerts are normal when you run with wxWidgets compiled in debugging mode,
I've fixed the bitmap sizes and other stuff locally - using the patches from BerliOS.

Game_Ender

You mean they are normal "flaws" in CB right?  Shouldn't the program run completely clean with no debug mode assertions?

afb

Quote from: Game_Ender on May 05, 2007, 04:26:12 PM
You mean they are normal "flaws" in CB right?
Yup.

QuoteShouldn't the program run completely clean with no debug mode assertions?
Probably ?


Game_Ender

#6
Makes mental note to develop against debug version of wxWidgets ;).

EDIT: Forgot "note"

afb

Quote from: Game_Ender on May 08, 2007, 05:23:18 AM
Makes mental to develop against debug version of wxWidgets ;).

Yes, it can make you that way. :-)

afb


Here is an error at startup:
../src/mac/carbon/toolbar.cpp(1218): assert "count == 3" failed in Realize(): Reference Count of native tool was not 3 after insertion

And there's also at shutdown:
../src/mac/carbon/toolbar.cpp(643): assert "IsValidControlHandle(viewRef)" failed in ControlToolbarItemHandler().


Each appears four times, so I think it's related to the four missing toolbar widgets.
This was with wxWidgets 2.8.4-rc1, since wxWidgets 2.8.4-rc2 doesn't even compile.

afb


afb

Toolbar works OK in wxWidgets 2.8.4 when you set wxMAC_USE_NATIVE_TOOLBAR=0:


(never mind the gradients outside the toolbars, those are just a side-effect of UNO)

afb

#11
Also, maybe the large icons from 32x32 to 24x24 instead:

32x32: (current)


24x24: (native)


They look a little blurred, though, from the mandatory scaling.

16x16: (small)