How to lose your work when tagging files

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

How to lose your work when tagging files

Post by m.Th. » Fri Apr 22, 2016 12:40 pm

There is a nasty bug which can hit you without ever knowing.

In few words, you can select 100 files from 2,000 and you will end copying / converting only 30 without any „error”.

How come?

Steps:

0. Make sure that you have XnViewMP set to rather big thumbnails in a folder with many, many files (800-1000 or more).
1. Start to tag enough files (let's say 40) but be sure to tag them from all parts of the folder: begin, middle, end. Do not tag all files only from the beginning.
2. When you end with step 1 go to another folder and back. The thumbs in our folder are reloaded and the first thumbnail is selected.
3. Now go to View | Filter By | Tagged File(s)

Expected: All 40 files tagged in the current directory should show up.

Actual: Only several (first) files are shown.

Cause: It seems that filter is applied ONLY on the thumbs already (re)loaded in memory at step 2.

To show all tagged files, do:

1. Go to View | Filter By | All to show all files.
2. Scroll down in thumbs pane to „see” all the thumbs (this forces the program to load them all)
3. Now go to View | Filter By | Tagged File(s) - you will see all the tagged files.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31887
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to lose your work when tagging files

Post by xnview » Mon Apr 25, 2016 11:26 am

'Create thumbnails for whole folder' is disabled?
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: How to lose your work when tagging files

Post by m.Th. » Mon Apr 25, 2016 1:31 pm

xnview wrote:'Create thumbnails for whole folder' is disabled?
Nope.

...perhaps I should mention that thumbs where already created in a prev. session and NOT in the one in which I tagged the files...
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31887
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to lose your work when tagging files

Post by xnview » Tue Apr 26, 2016 7:20 am

but all thumbnails are visible?
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: How to lose your work when tagging files

Post by m.Th. » Tue Apr 26, 2016 7:25 am

xnview wrote:but all thumbnails are visible?
No. :)

This is the main problem. :) Re-read the message:

I have many files in a folder + big thumbnails = only 2% of them are displayed

(IMHO you must load them all when someone wants to do a filter)
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: How to lose your work when tagging files

Post by jadO » Wed Apr 27, 2016 4:36 pm

If I understood your issue correctly, the same happens with categories, rating and colours.

It helps to scroll 1 time through the thumbnails. When you filter after that, the thumbnails show correclty and you can move them or whatever you wanna do.
But when you select another folder and come back and apply the filter instantly, only some thumbnails get displaye, obviously those that er either still in memory or already in memory from the folder change.

User avatar
xnview
Author of XnView
Posts: 31887
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to lose your work when tagging files

Post by xnview » Tue May 17, 2016 11:06 am

m.Th. wrote:
xnview wrote:but all thumbnails are visible?
No. :)

This is the main problem. :) Re-read the message:

I have many files in a folder + big thumbnails = only 2% of them are displayed

(IMHO you must load them all when someone wants to do a filter)
sorry but i means all thumbnails are processed?
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: How to lose your work when tagging files

Post by m.Th. » Sat May 21, 2016 12:56 pm

Processed = Generated? Yes - but it doesn't matter because they were generated somewhere in the past - few days ago, for example (IOW not in the current session in which user is now)

Processed = Scanned by the filtering engine ? - NO. This is the problem. Please re-read my OP and try to follow the steps.
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31887
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to lose your work when tagging files

Post by xnview » Mon May 23, 2016 1:26 pm

ok, right. if the file list is not completely processed, the tag field is yet not retrieve from catalog.
Pierre.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: How to lose your work when tagging files

Post by jadO » Tue May 24, 2016 9:11 am

xnview wrote:ok, right. if the file list is not completely processed, the tag field is yet not retrieve from catalog.
There are 2 main issues with it:

1. File list processing often only starts when there are enough files to display. If there are only a few items to display, file list processing does not start and no thumbnails getting displayed. As workaround you have to increas number of displayed files for example by removing a filter or a letter from the keyword. Once the number of displayed files get passed the magic number then the file list gets processed.

2. File list does not get procesessed completely if it is very large. It just happened to me that I had some files with color markings in my list that were marked for deletion. When I filtered for the marking they did not show up. I had to remove the filter, scroll through the whole list to make the file list processing complete and only after that the marked files showed up when I applied the filter.
This happens for EVERYTHING: Rating, categories, tags and color.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: How to lose your work when tagging files

Post by m.Th. » Tue Jan 24, 2017 10:02 am

Bump!

...still present in 0.84
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 31887
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to lose your work when tagging files

Post by xnview » Thu Mar 16, 2017 9:13 am

This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1560
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: How to lose your work when tagging files

Post by m.Th. » Thu Mar 16, 2017 4:51 pm

fixed
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

Post Reply