-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
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
- Open a specific folder in thumbnail view.
- Save a big image as PNG using Paint, Photoshop, etc., in that folder.
- 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.