Skip to content

fix: preview flashing for actively written files#2632

Open
valoq wants to merge 1 commit into
gokcehan:masterfrom
valoq:writeflash
Open

fix: preview flashing for actively written files#2632
valoq wants to merge 1 commit into
gokcehan:masterfrom
valoq:writeflash

Conversation

@valoq

@valoq valoq commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

While a file is being written to, lf reloads its preview repeatedly and blanked it to a "loading" state on each reload even though the previous content was still available, causing annoying preview flashing. With this patch it keeps the previous content shown until the new one is ready.

This is most reproducible when downloading large files which are then selected for preview in lf. Tested with mediainfo as preview content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant