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

            Bug ID: 508197
           Summary: Gwenview does not seem to properly use portal for
                    "save as", only shows in-sandbox files
    Classification: Applications
           Product: gwenview
      Version First 25.04.3
       Reported In:
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Without explicit file system access permission, Gwenview (Flatpak) properly
uses portals for opening files, but does not seem to do so successfully when
choosing location to save as. This is contrary to other KDE apps, like kate,
where this works properly. This makes it necessary to give overly broad
permissions like full "/home" access.

When choosing "save as", the file dialogue shows up, but it does not display
any user files and only shows the files accessible within its own sandbox.
Proper portal usage should display all user accessible files/folders instead.

STEPS TO REPRODUCE
1. Use Gwenview as a Flatpak
2. Deny all file access via KDE settings app or Flatseal
3. "Ctrl+o" to open file dialogue and open a file (works)
4. "Ctrl+Shift+s" to open file dialogue and see that only in-sandbox
files/folders are accessible.

OBSERVED RESULT
"Ctrl+Shift+s" to open "save as" file dialogue and see that only in-sandbox
files/folders are accessible.

EXPECTED RESULT
"Ctrl+Shift+s" to open "save as" file dialogue and show all user-accessible
files (e.g. home folder).

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0 
Qt Version:  6.9.1

ADDITIONAL INFORMATION
Flatpak Gwenview Version 25.04.3

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

Reply via email to