Canvas Image Disappeaars

I have a Canvas in a Deskttop application and the Backdrop file (xxx.png) keeps disappearing, even though the image file is shown on the Navigator.

Is there a way to permanently attach an image to a Desktop app so that it is embedded in the application ???

XOJO 2025 ver 1.1 running on MacOS - Sequoia 15.5

Ray

Are you deleting the file on disk after importing it?

No, but the application is in development so the location of the file may be different when I work on the application from my office; and then from my home computer; and then from my laptop - so that may lead to the “disappearance” of the file.

Which is why I was inquiring as to whether such a file gets “embedded” in the application or whether it is retrieved each time the application is launched.

If you’ve dragged the image into the navigator and see the icon below, then when you build the application the image will be bundled into the application.

ImageSet in Navigator

If you are not building and are simply running in debug then you will need to carry the image around with the project file. The easiest way to do this is with the File > Collect Project Items... menu item.

Tim, Thanks, I will give that a try.
Ray