When a file is opened from a remote instance while a modal is open, the `handle_input_filename()` is called as fast as the main loop allows. This causes high CPU usage until the main window gets the focus back and the idle function is removed.
I'd say this doesn't make it better than before especially as it is most probably not clear to the user why Geany suddently eats the CPU.