drawing
drawing copied to clipboard
Fails to save changes to image
Description
When editing an image and attempting to save changes back to the image, an error is raised:
Failed to reload /run/user/<uid>/doc/<some hash>/<filename>
The original file is cleared and written back with zero bytes. However, another file with the saved edits is created next to it, named .xdp-<filename> (deleted)-<random_identifier).
Here are screenshots of Flatseal, showing no changes to recognized paths has been made:
Steps to reproduce the bug
- Open an image from the file explorer, or using the app's built-in Open dialog (tested with PNGs in both
~/Pictures/Screenshotsand~/Downloads). - Draw a rectangle on the image.
- Click Save in the top-right corner.
- Error in first screenshot appears, and the files are modified as seen in the second image.
System
- Device (desktop computer/tablet/phone/...): HP Spectre x360 Convertible 13-aw0xxx
- OS: Fedora Linux 42 (Workstation Edition) (kernel Linux 6.17.7-200.fc42.x86_64)
- Desktop environment: GNOME 48.6 + Mutter (Wayland)
- Package format: Flatpak (Flathub)
- App version: 1.0.2
Seconded. Same issue on Ubuntu 24.04 and version 1.0.2 from flatpak.
Reverting to commit 5a0049d4a88628d9a86ebebb2cd6a1e826366d9c1bb5318d83b9bbacbc7d4ecc fixes the issue for me.