I’m working on a Mac desktop app using latest Xojo 2017r2 on Mac with latest Mac OS. I’m working on a new version of an existing app (MyApp). I have v1, v2 and v3 of this app. In my latest (v3) version of the app, I have an option that allows a user to convert any of his or her older v1 or v2 documents to v3 status, and I have a FileTypes resource setup in my project with all the presumably correct info detailing the v1, v2 and v3 documents. If the user chooses to convert an old document to a new format, I pop up an Open dialog asking him to navigate to the document, passing the Open dialog the correct FileType, etc etc.
If I run the program on MY Mac (within Xojo or as a fully built app), I CANNOT convert v1 docs to v3…I can’t see them. I pop up a dialog box asking the user to navigate to a v1 doc, but when he does, that doc is dimmed out and NOT able to be chosen (even though it IS the correct document type). The convert v2 to v3 (written in the same exact manner) DOES work on my Mac.
Now, here’s the curiosity…
If I send a fully built test app to a friend of mine also with a Mac with same OS along with a copy of some v1 documents, he has absolutely no trouble finding and converting the documents as requested. (They’re seen in the Open dialog.)
So, my conclusion, is that my Mac is messed up in some way. I’ve tried rebooting (no help), I’ve tried rebuilding permissions using Disk Utility and more…still no help. The Convert option in MyApp’s OPEN dialog box does NOT show v1 docs on my Mac as being selectable, but does on my friend’s Mac. (and this used to work on my mac too, of course)
I’m wondering if somehow how my mac handles file associations is messed up, or I somehow mangled the database that supports such associations or something like that. And, if I could just reset that info somehow, I’d be back up and running (though left with a mystery as to what corrupted or messed things up for me in the first place!) Anyway, is there a way to safely reset file associations on a Mac? Is there a utility for such a thing? Or am I simply on the wrong track and there’s another approach I’m missing (very likely)? Thanks for any thoughts…