Bug 2143821

Summary: Flatpak build cannot properly export maps as images
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: gnome-mapsAssignee: Kalev Lember <klember>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: elad, gnome-sig, klember, philip.wyett, zeenix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: openqa
Fixed In Version: gnome-maps-stable-3720221101162346.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-22 02:38:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2022-11-18 01:20:24 UTC
This bug is specific to the Fedora Flatpak build of gnome-maps.

When running that build, if you try to use the "Export as Image" function (on the burger menu), the exported image is not visible from the host system or other flatpak apps like Image Viewer. I'm guessing this is because the flatpak lacks the permission to write to the user's "real" Pictures folder. It looks to me like the exported image winds up in `~/.var/app/org.gnome.Maps/data/[filename]` so far as the host system is concerned.

Comment 2 Fedora Update System 2022-11-19 15:40:43 UTC
FEDORA-FLATPAK-2022-4ec83f64ea has been submitted as an update to Fedora 37 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2022-4ec83f64ea

Comment 3 Fedora Update System 2022-11-20 02:42:02 UTC
FEDORA-FLATPAK-2022-4ec83f64ea has been pushed to the Fedora 37 Flatpaks testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2022-4ec83f64ea

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Adam Williamson 2022-11-21 17:51:17 UTC
Fix works, thanks.

Comment 5 Fedora Update System 2022-11-22 02:38:43 UTC
FEDORA-FLATPAK-2022-4ec83f64ea has been pushed to the Fedora 37 Flatpaks stable repository.
If problem still persists, please make note of it in this bug report.