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.