humm that is all strange... under which platform are you?
On 2013-02-19, at 22:49, "[email protected]" <[email protected]> wrote: > I managed to load my code into Pharo 2.0 without problems. Sweet! > > There is some direct use of morphic all looks like to work well. > Sound also works nicely. > > Still an issue with the World Menu where I do use menuCommandOn with > an icon set to: > > UITheme current solidMenuIcon > > The icon looks quite warped or plain wrong (looks like a crappy cloud). > > The code of the method in 1.4 is > > solidMenuIconContents > "Private - Method generated with the content of the file > /home/plantec/dvpt/Pharo/Sprint-10-09/Icons/solidMenu.png" > ^ > 'iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAYAAAAmlE46AAAABHNCSVQFBQUBSsjp7wAAAE5J > REFUeF5jgACO/wykA5AmGCZGHVaNxGISNO648AO7RpAEIYxXI8lOJaSRIqeiaSbeRrwaSXAu > lZxKQsiSEh0oSY+cJEdissORGUjLWgBvFzCDqCcU6AAAAABJRU5ErkJggg==' > > and in 2.0 it is > > solidMenuIconContents > "Private - Method generated with the content of the file > /home/plantec/dvpt/Pharo/Sprint-10-09/Icons/solidMenu.png" > ^ > 'iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAYAAAAmlE46AAAABHNCSVQFBQUBSsjp7wAAAE5J > REFUeF5jgACO/wykA5AmGCZGHVaNxGISNO648AO7RpAEIYxXI8lOJaSRIqeiaSbeRrwaSXAu > lZxKQsiSEh0oSY+cJEdissORGUjLWgBvFzCDqCcU6AAAAABJRU5ErkJggg==' > > Looks like the same to me. So, something isn't right. > > I tried the image with the StackVM and there, the icon is right. It > has the right colors instead of a white cloud. > > Maybe due to a plugin, I don't know. The VM I tried is the latest one > I got with the ciPharoVM.sh script. > > My self compiled PharoVM exhibits the same problem. > > CogVM shows the right icons (even if it complains that the VM is too > old for the image) > > Smalltalk vmVersion gives: > > 'CoInterpreter VMMaker.oscog-eem.264 uuid: > 64e76092-8af7-449f-9188-e65f3bd1f08d Feb 5 2013 > StackToRegisterMappingCogit VMMaker.oscog-eem.264 uuid: > 64e76092-8af7-449f-9188-e65f3bd1f08d Feb 5 2013 > VM: r2678 http://www.squeakvm.org/svn/squeak/branches/Cog Plugins: > r2545 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins > ' > > I tried with the code generated to create a cog VM from Esteban and > there it works fine. > > Smalltalk vmVersion gives there: > > 'CoInterpreter VMMaker-oscog-EstebanLorenzano.231 uuid: > a9e39f38-e1fa-4851-a3a3-1a0f1f7a4062 Feb 15 2013 > StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.231 uuid: > a9e39f38-e1fa-4851-a3a3-1a0f1f7a4062 Feb 15 2013 > git://gitorious.org/cogvm/blessed.git Commit: > 63aa6ed8a070fc730224b496e0dda7c3f8482e10 Date: 2013-02-14 11:43:21 > +0100 By: Esteban Lorenzano <[email protected]> > ' > > Here is the version for the problematic VM (latest downloaded from ci) > > Smalltalk vm version > > 'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: > a53445f9-c0c0-4015-97a3-be7db8d9ed6b Feb 18 2013 > NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: > a53445f9-c0c0-4015-97a3-be7db8d9ed6b Feb 18 2013 > git://gitorious.org/cogvm/blessed.git Commit: > 05ed728452dc92732f9f23ce24a3c32bfdc0f4b8 Date: 2013-02-15 17:04:09 > +0100 By: Igor Stasenko <[email protected]> Jenkins build #14519 > ' > > Maybe some NB dark magic going on... > > On the other side, loading PNGs from disk worked okay. (As the larger > icons on the background of the screenshot demonstrate). > > Hope you can figure out why there is such an issue. > > Phil > <Capture d’écran 2013-02-19 à 22.27.37.png><Capture d’écran 2013-02-19 à > 22.39.43.png><Capture d’écran 2013-02-19 à 22.41.41.png>
