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

            Bug ID: 507330
           Summary: KIO::highlightInFileManager does not work in Flatpak
                    apps
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First 6.16.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: n...@kde.org
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

This is because it calls out to org.freedesktop.FileManager1, which is
blacklisted by default in Flatpak.

Instead of whitelisting it in each one of our apps (manual and error-prone) or
our SDK (over-broad and controversial), we can change the DBus call from:

org.freedesktop.FileManager1 /org/freedesktop/FileManager1
org.freedesktop.FileManager1 ShowItems

to:

org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop
org.freedesktop.portal.OpenURI.OpenDirectory

…but only if we detect we're in a sandbox.

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

Reply via email to