kris33 and Odamizu,
Okay, I spent some time debugging this problem. This is just more Qt nonsense. The native FileDialog knows about .app files on macOS but the non-native dialog treats a ".app" just like a normal directory and since the dialog is asking for an file (not a directory) it ignores it.
So in order for someone on macOS to actually select an .app Sigil must use a the native FileDialog, but those native Dialogs caused leftover dialogs at times under earlier testing.
So the only way to deal with this is to revert to using native dialogs for just the Open With and External XHtml Editor selections but keep to non-native dialogs everywhere else to minimize the chances of leftover dialogs.
The workaround for XHtml Editor prefs is easy - simply type in the path, but there does not seem to be an easy path to workaround this for Open With.
So in a couple of days (just in case new bug reports come in) I will create a new macOS build that will use native dialogs in those two places.
Sorry about that.
KevinH.
ps. Odamizu, when you get a free moment would you grab today's travis build and verify that it actually works without any leftover Preferences or Open With dialogs hidden underneath? I could never recreate that bug both you and Vroni were seeing so I am hoping upgrading to Qt 5.12.6 may have fixed that issue.
Quote:
Originally Posted by odamizu
Wow, I use Open With ... BBEdit all the time. But I never tried setting the external XHTML editor.
When I tried just now (through Preferences > General Settings > Set your preferred alternative xhtml editor), it wouldn't let me select BBEdit.app. Instead, it treated BBEdit.app as a folder (or package). When I opened it, I got the package contents, and when I drilled down to what I think is the executable, it was greyed out and I couldn't select it.
I am on macOS 10.13.6 High Sierra using Sigil 1.0.0.
ETA: Oh, double wow. I just tried to add PageEdit as my preferred alternative xhtml editor, and the same thing happened. What's more, when I tried Open With ... PageEdit, the same thing happened again.
It seems the only reason I can Open With ... BBEdit is because I had already set that in previous versions of Sigil way back when.
I just did a clean install, deleting my Sigil folder in Library > Application Support, and I can't add any application with Open With or Set preferred alternative xhtml editor.
|