FYI - so everyone can understand whats going on
The toolbar isn’t the culprit
The trick here is that in the IDE there is a “mask” for the image
This is one of those things that we do not see a lot of people use
When you add a Picture you can set a mask property in the inspector by selecting another picture in the IDE to use as the “mask”
You could remove everything except the images “build” and “buildmask” and have only 1 line of code in app.open
dim p as picture = build
You’ll get the same exception
BUT - since you are using PNG’s you could get rid of the “mask” images and simply create png’s that have alpha channels to achieve the same effect
I am NOT saying this isn’t a bug - just that there is perhaps a different way of achieving the same result by using a PNG with alpha channel instead of a base image + mask