celluloid icon indicating copy to clipboard operation
celluloid copied to clipboard

Flatpak Celluloid doesn't close files properly.

Open Fraetor opened this issue 2 years ago • 1 comments

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.

image xdg-document-portal is the process holding onto the file.

Steps to Reproduce:

  1. Play video with Flatpak Celluloid.
  2. Close Celluloid, and delete the video. It makes it easier to locate in the next step if your rm video.mp4 directly.
  3. 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.

Fraetor avatar May 21 '22 16:05 Fraetor

Yeah. This looks more like a bug in xdg-desktop-portal.

gnome-mpv avatar May 22 '22 08:05 gnome-mpv

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.

Fraetor avatar Nov 30 '23 22:11 Fraetor