Skip to content

Bug: Image thumbnails are not visible when an image is saved #16828

@RinineFV2

Description

@RinineFV2

Description

If you have a window open and an image is created in that folder, the image appears but its thumbnail does not load.
It can be fixed by manually refreshing the window, but this is a serious issue if you are monitoring incoming files.

It’s important to clarify that this depends on the save time of the image being saved. After extensive testing, I can confirm that the issue occurs when the application creating the image requires a bit more time to save it.
For example, a high-resolution PNG image saved in a directory with a final size of 6MB will trigger the error 100% of the time.
However, if you save it as a 20MB BMP, the issue won’t occur.

This happens because the problem isn’t related to file size but rather the save time (BMP is uncompressed, hence faster to save).
Therefore, the bug likely occurs because there is an internal timer to refresh the page after a file creation event (when an empty 0B image file is initially created). If the image finishes saving after this internal timer expires, the refresh never happens, and the thumbnail is not displayed.
(This is a guess; I don't know how Files handles it internally, but that's what it seems like based on its behavior.)

Of course, this issue only occurs in Files and not in Windows Explorer.

Steps To Reproduce

  1. Open a specific folder in thumbnail view.
  2. Save a big image as PNG using Paint, Photoshop, etc., in that folder.
  3. You will see that the image appears, but without a thumbnail.

Files Version

3.9.1.0

Windows Version

10.0.26100.3194

User ID

9baec1c2-1793-4175-a258-57a34bc58c31

Log File

No log data/related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions