1.9.2: No new files in browser after refresh

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: xnview, Dreamer

moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

1.9.2: No new files in browser after refresh

Post by moropus »

XnView: MP 1.9.2 64 bit
OS: Windows 64bit

New files are not shown in folder, especially big ones, even after manual refresh with F5

To reproduce:
1. Open Browser
2. Start a process which creates a big file in the folder or it takes a lot of time, eg Export to Tiff in Photoshop or scan to a file.
3. After the process is complete switch back to Browser
Actual behaviour (bug):
* No new file is present in Browser
* F5 doesn't help either
* Only switching to another folder and back actually shows new file

Expected behaviour:
* New file is present in Browser, F5 refreshes the folder
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.9.2: No new files in browser after refresh

Post by xnview »

Do you use 'Filter by>All'?
Pierre.
moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.2: No new files in browser after refresh

Post by moropus »

Yes I do by default
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.9.2: No new files in browser after refresh

Post by xnview »

if you add a smaller file, it works?
Pierre.
moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.2: No new files in browser after refresh

Post by moropus »

With smaller files it works most of the times, but sometimes doesn't even with jpegs.
Here's the video with reproduction: https://drive.google.com/file/d/1Kam4qH ... sp=sharing
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.9.2: No new files in browser after refresh

Post by xnview »

i've tried with a picture 7000x4000 in tiff, but file is correctly shown in thumbnails
Pierre.
moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.2: No new files in browser after refresh

Post by moropus »

Maybe ini file can help.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.9.2: No new files in browser after refresh

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.9.2: No new files in browser after refresh

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.9.4. Please check and confirm the bug fix here.
Pierre.
moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.2: No new files in browser after refresh

Post by moropus »

1.9.7 - the problem still persists
moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.2: No new files in browser after refresh

Post by moropus »

1.10.5 - the problem still persists
User avatar
user0
XnThusiast
Posts: 2912
Joined: Sat May 09, 2015 9:37 am

Re: 1.9.2: No new files in browser after refresh

Post by user0 »

moropus wrote: Sun May 03, 2026 10:04 am 1.10.5 - the problem still persists
update to the current version and
rename your xnview.ini to start with default settings
moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.2: No new files in browser after refresh

Post by moropus »

Updated to 1.11.2.
- Current xnview.ini: the bug reproduces.
- Default xnview.ini: behavour changed after steps 1-3:
* new file is added to browser to the end of the list (the sorting wasn't applied), the file is selected
* there's no thumbnail and no preview for the file
* preview appeared after I selected different file and switch back to the new one
* thumbnail appeared after refresh

I think, the bug is connected to 'Auto-select new files' option. I turned it off on purpose:
- viewtopic.php?p=206573
- viewtopic.php?p=206574
User avatar
user0
XnThusiast
Posts: 2912
Joined: Sat May 09, 2015 9:37 am

Re: 1.9.2: No new files in browser after refresh

Post by user0 »

moropus wrote: Sun May 03, 2026 3:58 pm - Default xnview.ini: behavour changed after steps 1-3:
* there's no thumbnail and no preview for the file
* preview appeared after I selected different file and switch back to the new one
* thumbnail appeared after refresh
this behavior occurs when new file write time exceeds ~3-5 seconds (eg 15k TIFF, AVIF, JXL),
parser reads new file before the write completes, resulting in incomplete parsing.

would be handy if parser returns to unfinished files after some time
moropus
Posts: 51
Joined: Thu May 22, 2025 3:04 pm

Re: 1.9.2: No new files in browser after refresh

Post by moropus »

At least, it should return to parsing after I hit F5