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

elextr notifications at xxxxx
Sun Oct 1 19:46:06 UTC 2017


So to summarise:

Option | Action | Command
----------|----------|--------------
1 | Click on launcher | `geany`
2 | Click on local file | `geany filename`
3 | Click on remote file | `geany` and filename via callback

Option three sort of makes sense, that way the application can start in parallel with the download so its faster, think of opening something like office.  But surely it doesn't open a new instance of office each remote file the user clicks?  Surely it is supposed to call the callback on the existing instance?

If option 3 cannot have its command configured and uses the same configuration as option one then you are screwed.  Whilst you could check the socket in the callback and pass the filename on, you are still gonna get the UI opening.  And if the user selects several files, will you get several callbacks?  If so how do you know when you have them all?


-- 
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-333401615
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171001/46224f63/attachment.html>


More information about the Github-comments mailing list