ichthyosaurus / harbour-file-browser

A comprehensive file manager for SailfishOS.
https://forum.sailfishos.org/t/file-browser-support-and-feedback-thread/4566
7 stars 8 forks source link

File browser should use Qt.openUrlExternally() instead of xdg-open #53

Closed pvuorela closed 2 years ago

pvuorela commented 2 years ago

Got noticed that with the sandboxing the file opening doesn't work anymore as the /usr/bin/ content is not fully visible. To be seen if we make another exception for xdg-open but regardless of that it would be better to use Qt.openUrlExternally(). That will go through application selection dialog in case multiple apps are registered for the mime types, xdg-open is defined to use the default app without questions asked.

ichthyosaurus commented 2 years ago

I'm extremely short on time at the moment. I could review a pull request, otherwise this issue has to wait.

ichthyosaurus commented 2 years ago

2fdb599 seems to work