https://bugs.kde.org/show_bug.cgi?id=420693

            Bug ID: 420693
           Summary: URLs doesn't open if xdg-desktop-portal isn't started
           Product: neon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Snaps
          Assignee: neon-b...@kde.org
          Reporter: fedin-ilja2...@ya.ru
                CC: neon-b...@kde.org
  Target Milestone: ---

SUMMARY
For some reason snapd doesn't allow dbus activating of xdg-desktop-portal and
returns AccessDenied to any request. Qt checks the returned error[1] and if it
is not ServiceUnknown, Qt doesn't try to open URL through xdg-open, which
encounters into situation that URLs doesn't open until some other app tries to
access xdg-desktop-portal.

[1]
https://github.com/qt/qtbase/blob/dev/src/platformsupport/services/genericunix/qgenericunixservices.cpp#L192

STEPS TO REPRODUCE
1. Don't have xdg-desktop-portal running
2. Open some URL through a snap based on kde-neon extension

OBSERVED RESULT
URL doesn't open

EXPECTED RESULT
URL opens in default browser

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.18
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to