Odd icon behaviour on OS X compiled from latest source

Dirk Hohndel dirk at hohndel.org
Sat Dec 8 10:34:56 PST 2012


On Dec 8, 2012, at 10:07 AM, Henrik Brautaset Aronsen wrote:
>>> But the only way I get the large icon in the About dialogue is if I run
>>> that same way.  If I simply go to the application view via the menu bar and
>>> start the application it then takes about a minute to respond to selecting
>>> "About.." from the menu. ......And no icon.
>> 
>> That's strange.
> 
> The about dialog icon hasn't worked for me neither for a long time.   It kinda worked when I first made the macosx-install target, but things have changed since then.

I remember hunting this one down prior to the release. There were two problems, IIRC:
 - finding the icon file: the path we use in the app on macos works when installed (we get it via quartz_application_get_resource_path()) but seems to fail if run from the local directory
 - having the right paths hardcoded in the library (when building a DMG it wouldn't find the shared objects used to load icon files - I fixed that in my gtk installation)

>>> The 2.1 dmg behaved well on both counts straight out of the box.
> 
> Yup, for me as well.  I guess that's the most important thing: that it works with Dirk's packaged DMG.  I might look at it again.  No guarantees, though :)

If you find a solution that works for all cases, even better!

/D


More information about the subsurface mailing list