Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.1
-
None
-
Ubuntu 16.04, Ubuntu 18.04, Snapcraft 3.1
-
-
1bd3c17c46eb444a7079f3bd6fa5af5950355212 (qt/qtbase/5.12)
Description
In QDesktopServices::openUrl is missing a fallback to xdg-open.
When executed in a Snap, it can be that the xdg-desktop-portal is not running.
when xdgDesktopPortalOpenUrl fails, it would be nice to also try xdg-open
There is a thread on the Snapcraft forum
qtbase/src/platformsupport/services/genericunix/qgenericunixservices.cpp