celluloid
celluloid copied to clipboard
Flatpak Celluloid doesn't close files properly.
Overview Description: The Flatpak version of Celluloid doesn't properly close the file after being closed, which means that if you then delete the file it the space is not reclaimed.
xdg-document-portal
is the process holding onto the file.
Steps to Reproduce:
- Play video with Flatpak Celluloid.
- Close Celluloid, and delete the video. It makes it easier to locate in the next step if your
rm video.mp4
directly. - list open, but unlinked files with
lsof +L1 | grep xdg
, and see if your video file is there.
Actual Results: The file remains open even after celluloid has closed and the file has been deleted.
Expected Results: The file is closed, and the space it occupied is released.
Version: 0.23 Flatpak
Additional Information: This might very well be a bug in Flatpak, but I though it was worth asking here first.
Yeah. This looks more like a bug in xdg-desktop-portal.
This issue (https://github.com/flatpak/xdg-desktop-portal/issues/689) is now fixed upstream with https://github.com/flatpak/xdg-desktop-portal/pull/1190.
This has been released in xdg-desktop-portal 1.18.2.