Bug 479570

Summary: Use Trash XDG Portal to delete files
Product: [Applications] gwenview Reporter: Timothée Ravier <tim>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.08.4   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Timothée Ravier 2024-01-09 11:02:24 UTC
The Gwenview Flatpak is currently explicitly granted access to the Trash (https://github.com/flathub/org.kde.gwenview/blob/master/org.kde.gwenview.json#L11).

To better integrate with Flatpak and Portals in general, we should use the XDG Trash Portal instead (https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Trash.html).

See: https://github.com/flathub/org.kde.gwenview/issues/118

STEPS TO REPRODUCE
1. Use the Gwenview Flatpak from Flathub
2. Remove access to Trash via Flatseal
3. Trash a file

OBSERVED RESULT

The file is not sent to the global trash (https://github.com/flathub/org.kde.gwenview/pull/17).

EXPECTED RESULT

The file is sent to the global trash.

SOFTWARE/OS VERSIONS
Latest Flatpak version from Flathub
Comment 1 A Linux User 2025-08-25 08:23:19 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0?
Comment 2 Bug Janitor Service 2025-09-09 03:48:30 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-09-24 03:47:27 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.