Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74112

QDesktopServices::openUrl, missing fallback to "xdg-open" under snap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.3, 5.14.0 Alpha
    • 5.12.1
    • QPA: X11/XCB
    • None
    • Ubuntu 16.04, Ubuntu 18.04, Snapcraft 3.1
    • Linux/X11
    • 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 

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            jirauser38076 user-4909d (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes