It doesn't save and corrupts the files.
- Dominant language
- Python
- Stars
- 869
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
## Description
When I try to save the edited files, they won’t save. I get an error. I’ve tried many methods, but none of them worked.
`Failed to reload /run/user/1001/doc/`
Not only does it fail to save, but it also corrupts the original image file.
The file becomes unopenable and 0 byte.
It also creates a new file:
`.xdp- (deleted)-`
### Steps to reproduce the bug
1. Open Fedora Linux.
2. Open an image file in the program.
3. Edit the image.
4. Try saving it using different methods, such as “Save” or “Save As.”
## System
- Device: desktop computer
- OS: Fedora Linux 44
- Desktop environment: Gnome
- Package format: flatpaks package from the distribution repository (Fedora Flatpaks -> [registry.fedoraproject.org](registry.fedoraproject.org) )
- App version: 1.0.2
Contributor guide
Research direction
Start by reproducing the save and Save As steps on Fedora Linux with the Flatpak package, then trace the handling of the reported /run/user/1001/doc/ path and the generated .xdp file. Done means edited images save successfully without producing a zero-byte or unopenable original file, and the reported reload error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100