On 8 Nov 2018, at 10:02, Hussein Shafie wrote:

But I expect - or hope - that if you are able to do something
like that, then you may also finally make it so that it is possible to double click a file in Finder and have XMLmind XML editor open it. (On
Mac, this is not possible, you know.)

Sorry but this is a Java bug which has not been fixed by Oracle, even in very recent Java 11. See "[macosx] OpenFilesHandler does not receive fileopen events", https://bugs.openjdk.java.net/browse/JDK-8043852

In the Comments tab of that bug report, one can read this justification for why the bug has been declared as won’t fix:

* As stated in http://openjdk.java.net/jeps/260, a replacement to this internal API has been provided [1] in JDK 9 and com.apple.eawt will be encapsulated. The command-line workaround to break encapsulation could be used before migrating to the new API. Close this issue as will not fix.

I probably do not understand the the impact of what this means. However, this to me sounds like there are two workaroiunds: a replacement API and a command-line workaround.

See also "Known problems on the Mac", http://www.xmlmind.com/xmleditor/known_problems.html#problems_on_mac

Leif Halvard Silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to