Working for a few hours, I tried to copy a method from one window to another, and it would not paste. I tried several times, different windows, the method would not copy. I saved the project and restarted Xojo. When I opened the project, it was obviously not the version I had saved, nor the version I had been working on for the past two hours. I checked the last save time/date for the file, and it was several hours ago, although I had just save the project before quitting, and many times prior to that.
The result is: I lost hours of work, completely. Xojo stopped saving the project. I saved it repeatedly, the dialog said it was saved. It wasnât. No Time machine backup can fix this.
Obviously I canât reproduce this and would never want to, but it sure hasnât brightened my day.
M1 Studio
macOS Monterey
Desktop
binary project
No network, no cloud, etc.
The file is on the internal SSD, there is only one version of this file there. The file that did open does have changes from about 3 hours ago today â it IS the same file I had open and was working on, just doesnât include any of the work I did for the past two hours because Xojo stopped saving the file.
Thanks, all that stuff is off, I donât use it at all. Not signed into my Apple account.
Working again on this same file, the problem with copying and pasting a method from one window to another just started happening again. Doesnât work. So I checked whether Xojo is saving, and it is. But it wonât paste methods from one window to another. I mention this, because thatâs when I quit before and ran into the reported not-saving problem.
because Iâve seen some bugs here that were related to new systems
itâs not good to mix old and new things between macos and xojo
sometimes itâs in a macos<xojo, sometimes the other
Iâve stayed with xojo 2019 and macos high sierra for a long time.
when I uopdated, I updated all of them.
3 years difference is too risky IMHO.
the main problem is: nobody has the same configuration, especially at xojo teams
so the bugs are difficult to identify.
always use softwares of the same âeraâ.
but itâs just my 2cts, everybody does as he/she wants.
you can treat this as a bug no problem
but how do you find the root cause of this bug that happened on ONE customer only ONCE for now
and on a configuration all of your team does not have ?
pretty sure nobody can reproduce this bug.
for a workaround, it happened to me some bug like this. xojo hangs and you did not save.
rare, but it happens.
now I save my work more often, letâs say no more than 1/2 hour.
each time some thing I work on is coded and tested, I save.
not bulletproof, but easy to handle .
Out of curiosity, was your disk volume APFS? I had an external SSD formatted as APFS and after a year of seamless operation, one day all my files wereâŠgone.
Since then MacOS extended and no issues (not quite true: on Silicon Macs it takes about 1 minute for the volume to mount, instant on older Intel Macs, so I doubt itâs the Sandisk. A search indicates Appleâs USB drivers have more and more issues with each release).
At least iâve had no data loss. I wonder if this is what bit you as well?
This is kinda getting off topic but since you mentioned files disappearing from a Sandisk drive⊠if youâre using a 2021-22-era external Sandisk SSD, there are many, many reports of these drives failing due to a design & manufacturing flaw. If you are on one of these drives Iâd migrate to different hardware ASAP.
My 2c - I have heard from several people that using âsaveâ doesnt replace the saved file, or that when they opened a file up it was hours or days old.
This doesnt just affect Xojo.
ALWAYS use âsave asâ and save with a new name is my best suggestion.
If I had problems like this, I would completely reinstall my Mac.
If the error still occurs, I would close all third-party software while using Xojo.
If that still doesnât help, I would use https://www.keyboardmaestro.com. It would monitor the project file and notify me whenever the file has changed, so that when I âsave,â I immediately know if something went wrong.