Skip to content

Draft: Create thumbnails for files in sandbox (bubble wrap)

Ilya Pominov requested to merge thumbnail_sandbox into master

Implement reading files in a separate process (into sandbox), to which the file descriptor will be passed through the socket. The generated thumbnail must be returned from it via shared memory.

Transfer the thumbnail creation code from ThumbnailProtocol to ThumbnailBackend. For Windows and Android, ThumbnailBackend simply generates a thumbnail. For other OS, ThumbnailBackend starts the kio_thumbnail_backend_launcher process (using bwrap), where the process receives an opened file by dbus for which a thumbnail is needed. File sends as QDBusUnixFileDescriptor. Proccess generates a thumbnail using ThumbnailBackend, and returns the result by dbus using shared memory.

Merge request reports

Loading