[Github-comments] [geany/geany] Opening an xml downloaded from internet opens new instance of Geany (#1619)

Jiří Techet notifications at xxxxx
Sun Oct 1 22:12:09 UTC 2017


I would just correct the table - option 3 isn't for a remote file. It's for local file which has been downloaded by a browser and hasn't been edited yet. And I think this is related to security - I believe Apple fears that users could associate files with some interpreter and then just by double-clicking the downloaded file it would get executed.

There's also:
Option 4 - file dragged to Geany launcher icon - if not running, geany is launched and callback is called
Option 5 - file dragged to Geany window - the callback is called

The problem with Geany is that it isn't a native macOS application. Instead of launching the binary directly, macOS launches a shell script which sets various environment variables and then launches the Geany process with normal shell exec command. On the other hand when you double-click an application bundle of a native macOS application, it won't create a new process if some instance is already running (no socket like Geany uses is needed) so native applications don't have this problem.

Your last paragraph pretty much summarises what I think is the situation Geany is facing and I don't see a solution.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1619#issuecomment-333410709
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171001/2f66a7b4/attachment.html>


More information about the Github-comments mailing list