Bug 508197 - Gwenview does not seem to properly use portal for "save as", only shows in-sandbox files
Summary: Gwenview does not seem to properly use portal for "save as", only shows in-sa...
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Flatpak Linux
: NOR minor
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-13 13:42 UTC by yoga-cortex-justly
Modified: 2025-08-13 13:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yoga-cortex-justly 2025-08-13 13:42:28 UTC
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