Some tests I did, which I hope can be useful. 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.
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. List of tests : ----------------- 1 WORKS adding files into open Geany: /Applications/Geany.app/Contents/MacOS/geany /Users/jan/Documents/test1.txt /Applications/Geany.app/Contents/MacOS/geany /Users/jan/Documents/test2.txt 2 WORKS adding files into open Geany: Drag files into open Geany 3 ONLY WORKS IF Geany is closed: open -a Geany /Users/jan/Documents/test1.txt 4 ONLY WORKS IF Geany is closed: Double-click file 5 ONLY WORKS IF Geany is closed: Right-click Open With > 19 okt. 2019 kl. 22:07 skrev Jiří Techet <[email protected]>: > > 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. > > — > You are receiving this because you authored the thread. > 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>. > -- 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-osx/issues/13#issuecomment-544293192
