Skip to content

FileManager: Add thumbnail file cache#26675

Open
bplaat wants to merge 2 commits intoSerenityOS:masterfrom
bplaat:filemanager-thumbnail-file-cache
Open

FileManager: Add thumbnail file cache#26675
bplaat wants to merge 2 commits intoSerenityOS:masterfrom
bplaat:filemanager-thumbnail-file-cache

Conversation

@bplaat
Copy link
Member

@bplaat bplaat commented Mar 21, 2026

Currently the FileManger only stores the rendered thumbnails in memory, this pr adds a basic file based thumbnail cache. So on subsequent FileManger directory views the thumbnails load instantly. The thumbnails are written out as simple .bmp files so they load fast, I've capped the thumbnail cache directory at 10 MiB.

Demo video

thumbnail-cache.mp4

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👀 pr-needs-review PR needs review from a maintainer or community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant