More details:
the code uses the function g_app_info_launch_default_for_uri()
with an URi of the type file://...
the problem has already been reported with Nautilus 1 year ago, a fix has been made in gio, but the problem continues to occur (although slightly less often).
if Nautilus has been launched 1 time before (even if the window has been closed then), the URI is always launched correctly.
More details: launch_ default_ for_uri( )
the code uses the function g_app_info_
with an URi of the type file://...
the problem has already been reported with Nautilus 1 year ago, a fix has been made in gio, but the problem continues to occur (although slightly less often).
if Nautilus has been launched 1 time before (even if the window has been closed then), the URI is always launched correctly.