1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
Moderators: helmut, XnTriq, xnview, Dreamer
1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
I am using sorting by Model quite frequently and I can instantly tell when the sorting goes wrong.
On XnView MP 1.4.5 and 1.5.0, the sorting is even slow on SSD and significantly using up CPU resources. Most of the time the sorting will stop on its own and the the list will not be sorted, leaving a column like this: And after a long while, the bar is only running at 5%: The issue is not observed on 1.4.4 and lower versions, and 1.4.4 can finish sorting by Model (with large HEIC files (20MB~1.7MB, 2600 or so files of this kind) within a minute or so.
On XnView MP 1.4.5 and 1.5.0, the sorting is even slow on SSD and significantly using up CPU resources. Most of the time the sorting will stop on its own and the the list will not be sorted, leaving a column like this: And after a long while, the bar is only running at 5%: The issue is not observed on 1.4.4 and lower versions, and 1.4.4 can finish sorting by Model (with large HEIC files (20MB~1.7MB, 2600 or so files of this kind) within a minute or so.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
do you have same issues when you have only jpeg or png files?
Pierre.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
I created another folder that contained only .jpg-, .mov-, and .png-only files (3,632 files in total; 3,162 JPGs with Model data) and run them on 1.4.4 and 1.5.0, and I am seeing the folder gets sorted in a much faster speed. Within a second.xnview wrote: Tue Jul 18, 2023 6:47 am do you have same issues when you have only jpeg or png files?
I wonder if there's anything wrong with the HEIF/HEIC library on versions 1.4.5 and 1.5.0?

Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
Strange. you use 'Sort by name', open the folder with heic files. all is ok. You sort by 'exif date' and you have the delay, right?
The scan of files is finished, on you screenshot i see the progress bar?
The scan of files is finished, on you screenshot i see the progress bar?
Pierre.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
I wouldn't know that because I enter XnView by clicking an image in the folder and double click it to show the file list view and the default sorting method is by Model (Ascending).xnview wrote: Tue Jul 18, 2023 8:16 am Strange. you use 'Sort by name', open the folder with heic files. all is ok. You sort by 'exif date' and you have the delay, right?
The scan of files is finished, on you screenshot i see the progress bar?
I am showing the progress bar to try to show the speed that different versions are sorting the files by Model.
With a folder that only has HEIC files, the sorting on 1.5.0 is so slow to the extent that it almost processes one file at a time, as the progress bar is 0% for 10 seconds and the Model is showing one line after another.
I guess what I am saying is that no matter if you sort by name or Model or EXIF date, as long as 1.4.5 or 1.5.0 reads EXIF data from HEIF/HEIC files which you specified in the columns, the speed will drastically decrease.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
it seems that the sorting is not the problem... Do you use Catalog or Settings>Filelist>Scan header?
Once all file header are readed, sort by EXIF or other is without delay...
Once all file header are readed, sort by EXIF or other is without delay...
Pierre.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
Scan file headers are set to always, I turned off Scan header and Catalog and updated to 1.5.0 just now to see if it's fixed but... If the scan headers are set to never, the viewer will not even load or show Info/Model/EXIF Date Taken... Thus the sorting with Model/EXIF Date Taken will never complete.xnview wrote: Tue Jul 18, 2023 8:53 am it seems that the sorting is not the problem... Do you use Catalog or Settings>Filelist>Scan header?
Once all file header are readed, sort by EXIF or other is without delay...
I have attached a couple of videos, respectively, to show you how slow this is on 1.5.0 comparing to 1.4.4: (With Catalog on, Scan Header set to Always, the only difference I can think of is the installed version.)
https://vimeo.com/846188257
https://vimeo.com/846188222
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
yes must be ondoio wrote: Tue Jul 18, 2023 9:02 am Scan file headers are set to always, I turned off Scan header and Catalog and updated to 1.5.0 just now to see if it's fixed but... If the scan headers are set to never, the viewer will not even load or show Info/Model/EXIF Date Taken... Thus the sorting with Model/EXIF Date Taken will never complete.
Please send me some heic sample files & your xnview.ini?I have attached a couple of videos, respectively, to show you how slow this is on 1.5.0 comparing to 1.4.4: (With Catalog on, Scan Header set to Always, the only difference I can think of is the installed version.)
Pierre.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
PM'd and sent to you.xnview wrote: Tue Jul 18, 2023 9:16 amyes must be ondoio wrote: Tue Jul 18, 2023 9:02 am Scan file headers are set to always, I turned off Scan header and Catalog and updated to 1.5.0 just now to see if it's fixed but... If the scan headers are set to never, the viewer will not even load or show Info/Model/EXIF Date Taken... Thus the sorting with Model/EXIF Date Taken will never complete.
Please send me some heic sample files & your xnview.ini?I have attached a couple of videos, respectively, to show you how slow this is on 1.5.0 comparing to 1.4.4: (With Catalog on, Scan Header set to Always, the only difference I can think of is the installed version.)
Really hope this gets fixed...
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails

Pierre.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
This problem is supposed to be fixed in XnView MP 1.5.1. Please check and confirm the bug fix here.
Pierre.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
This is highly unexpected but... 1.5.1 crashed when I was trying to open an HEIC file... I noticed three crash dumps located in AppData/Local/CrashDumps and zipped it for your reference, it they help at all.xnview wrote: Wed Jul 19, 2023 2:05 pm This problem is supposed to be fixed in XnView MP 1.5.1. Please check and confirm the bug fix here.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
Each time that you try to load an heic file, you have the crash?? with 1.5.1 x64bits?doio wrote: Thu Jul 20, 2023 4:10 amThis is highly unexpected but... 1.5.1 crashed when I was trying to open an HEIC file... I noticed three crash dumps located in AppData/Local/CrashDumps and zipped it for your reference, it they help at all.xnview wrote: Wed Jul 19, 2023 2:05 pm This problem is supposed to be fixed in XnView MP 1.5.1. Please check and confirm the bug fix here.
XnViewMP-1.5.1_CrashDumps.rar
Pierre.
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
Yep, that’s the version and arch (installer). Tried around five HEIC files and gave up (T▽T)xnview wrote: Thu Jul 20, 2023 6:17 amEach time that you try to load an heic file, you have the crash?? with 1.5.1 x64bits?doio wrote: Thu Jul 20, 2023 4:10 amThis is highly unexpected but... 1.5.1 crashed when I was trying to open an HEIC file... I noticed three crash dumps located in AppData/Local/CrashDumps and zipped it for your reference, it they help at all.xnview wrote: Wed Jul 19, 2023 2:05 pm This problem is supposed to be fixed in XnView MP 1.5.1. Please check and confirm the bug fix here.
XnViewMP-1.5.1_CrashDumps.rar
Re: 1.4.5 and up: Sorting by EXIF data (Model) is really slow and most of the time fails
which file size for Plugins\heif.dll? please send me a sample file?
Pierre.