I am really an occasional programmer and I have a program I wrote back in 2010 (RealBasic), then recompiled in 2018 in 64 bit.
One (not really important) element is a small picture on the main window. I had done that with canvas.
I am now trying to modify the user interface a little (using 2025r3), and everything works except that canvas. Everything looks OK in the development window, but when I run (or compile) the program the graphic is gone.
The same code (except text size) compiled with the graphics with 2024r4 this spring.
The graphic is set as a backdrop to the canvas.
I canât figure out what has changed, or if I should change or add some property so that the picture shows again.
As I said everything works with 2024r2 (Linux) and the pictures donât show with 2025r3.
So here in the zip file:
Version 0.9.9 runs and compiles correctly with Xojo 2024r2
Same code, loaded in Xojo 2025r3 and saved as version 1.0.0 runs a first time correctly (with images), once saved with 2025r3 no mor images in the run or build.
NO change in the code, just saving - so there must be something changed in Xojo that I dont figure out.
Thank you. So it works on a Mac. May be either a problem on Linux, or on âmyâ Linux. Iâll try experimenting on Ubuntu as that seems to be Xojoâs Linux base.
Oh⊠make sure the resolution of the pictures you dragged into the images are correct. macOS is very forgiving but the other platforms may not be. The 1x image should be 72ppi and the 2x image should be 144ppi.
Sorry, I was busy and made some tests. Here are the results:
Linux: everything is fine with 2024r4.2; Pictures do not display with 2025r3. none of the suggestions worked, maybe itâs related to the distribution I use (MX, not Ubuntu).
Windows (run only, no compile (no license): the program runs and displays images both on 2024r4.2 and 2025r3.
MacOS: Michael Hussmann has shown that it displays the images correctly.
So the problem seems âLinux onlyâ. Canât call that âsolvedâ but itâs an answer. I donât need 2025r3 for what I do so Iâll simply remain at 2024R4.2.
My idea was to look if the program would compile with the actual version, in case we should want a Windows version - but anyway at the new prices I donât think my club would put $500 to compile the program (and I will continue using it on Linux).
Thank you all for the help, it did clear the matter (mostly).
No, I have not. The pictures where processed through the Gimp, the original was home made by someone of the club.
Once again, it does work until 2024r4.2, it does not with 2025r3 (on Linux), and my question was âwhat changedâ. Seems no one knows, but something did.
Iâm not going to search more at the moment as there is nothing in 2025r3 that justifies it (for me). The windows version does work, there the problem is the license price, so if someone wants a windows version of the software, theyâll have to finance it (and I doubt they would).