Some tests I did, which I hope can be useful.<br>
<br>
It seems as if the mechanism used by MacOS Catalina is broken (3-5 below) whereas bash or zsh (1) and drag-into-app (2) works as expected.<br>
<br>
Furthermore, adding output to log-file in /Applications/Geany.app/Contents/MacOS/geany reveals that the geany bash script is only called in cases that works.  That is, it is a launching problem, not wrong in the bash script.<br>
<br>
List of tests :<br>
----------------- <br>
<br>
1 WORKS adding files into open Geany: <br>
/Applications/Geany.app/Contents/MacOS/geany /Users/jan/Documents/test1.txt<br>
/Applications/Geany.app/Contents/MacOS/geany /Users/jan/Documents/test2.txt<br>
<br>
2 WORKS adding files into open Geany: <br>
Drag files into open Geany<br>
<br>
3 ONLY WORKS IF Geany is closed:<br>
open -a Geany /Users/jan/Documents/test1.txt<br>
<br>
4 ONLY WORKS IF Geany is closed:<br>
Double-click file <br>
<br>
5 ONLY WORKS IF Geany is closed:<br>
Right-click Open With <br>
<br>
<br>
<br>
<br>
> 19 okt. 2019 kl. 22:07 skrev Jiří Techet <notifications@github.com>:<br>
> <br>
> OK, I've seen something similar but what I get now is that macOS opens a new instance of Geany instead of the existing one which is wrong too. Frankly I have no idea what could be wrong - I've tried various things without much success. The output inside the Console app isn't very helpful either. It's also possible it's a Catalina bug but no idea really.<br>
> <br>
> —<br>
> You are receiving this because you authored the thread.<br>
> Reply to this email directly, view it on GitHub <https://github.com/geany/geany-osx/issues/13?email_source=notifications&email_token=AG7S4VQRMVNQLMGV7CGPS3LQPNSG5A5CNFSM4JCANOP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBX3VQA#issuecomment-544193216>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AG7S4VRRU5VFDKINEKYF3OLQPNSG5ANCNFSM4JCANOPQ>.<br>
> <br>
<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-osx/issues/13?email_source=notifications&email_token=AAIOWJZGPS43ZMZH2NSQ2OLQPTCTJA5CNFSM4JCANOP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYUCSA#issuecomment-544293192">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJY6ATETBDJRSJOHJBLQPTCTJANCNFSM4JCANOPQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2BTAPOYR6ELB4QHTDQPTCTJA5CNFSM4JCANOP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYUCSA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-osx/issues/13?email_source=notifications\u0026email_token=AAIOWJZGPS43ZMZH2NSQ2OLQPTCTJA5CNFSM4JCANOP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYUCSA#issuecomment-544293192",
"url": "https://github.com/geany/geany-osx/issues/13?email_source=notifications\u0026email_token=AAIOWJZGPS43ZMZH2NSQ2OLQPTCTJA5CNFSM4JCANOP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYUCSA#issuecomment-544293192",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>