Search for EXIF UserComment

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

Moderators: xnview, Dreamer

thomas.de
Posts: 2
Joined: Sun Sep 25, 2022 11:27 am

Search for EXIF UserComment

Post by thomas.de »

Hi,

I'm trying to find all the photos I took with my Canon EOS IX7. I use the search dialog as shown in the screenshot.
Background: The images I want to find are scans of my analog camera Canon EOS IX7. As the field EXIF:Maker was used by the negative scanner (Nikon COOLSCAN...), I have writen the camera name in the Exif field "UserComment".

I have tried it in different ways with different options, but the output is always "Finished: 0 file(s) found."
No idea what I am doing wrong. For example, when I search the pictures of my iPhone (with EXIF:Maker is Apple), all the matches are listed correctly.

I am thankful for any idea.

Regards
Thomas
You do not have the required permissions to view the files attached to this post.
User avatar
michel038
XnThusiast
Posts: 1511
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Search for EXIF UserComment

Post by michel038 »

I can reproduce... :bug:

For testing :
Select a jpg
Tools>Metadata>Transfer , "Add"
choose EXIF > User comment
write "Canon" in the blank field
Apply

... "Search" is unable to find Canon in exif comment field

and same problem on Exif XpComment field :bug:
Last edited by michel038 on Thu Sep 29, 2022 4:27 pm, edited 1 time in total.
thomas.de
Posts: 2
Joined: Sun Sep 25, 2022 11:27 am

Re: Search for EXIF UserComment

Post by thomas.de »

Thank you for the quick feedback. So at least I know that I am not completely incompetent. :D
Banta
Posts: 11
Joined: Sun Jun 01, 2025 3:20 pm

Re: Search for EXIF UserComment

Post by Banta »

Seems not fixed yet?
Serching EXIF:XPComment always returns 0 :|
jkm
Posts: 442
Joined: Sat May 11, 2024 12:43 am

Re: Search for EXIF UserComment

Post by jkm »

Banta wrote: Mon Feb 02, 2026 12:03 pm Serching EXIF:XPComment always returns 0 :|
And you are doing that how, exactly? XPComment is not a selectable field in the search menu, at least not on the Windows version.

Search of "Comment" currently works.
Search of "User Comment" is currently broken, but will be fixed.

You can still search on "User Comment" by searching for Exiftoolvalue UserComment.

Searching the various comment fields using Exiftoolvalue, including XPComment, works correctly, but you may have to do a "Update Catalog from Files" first.
Banta
Posts: 11
Joined: Sun Jun 01, 2025 3:20 pm

Re: Search for EXIF UserComment

Post by Banta »

jkm wrote: Mon Feb 02, 2026 7:53 pm
Banta wrote: Mon Feb 02, 2026 12:03 pm Serching EXIF:XPComment always returns 0 :|
And you are doing that how, exactly? XPComment is not a selectable field in the search menu, at least not on the Windows version.

Search of "Comment" currently works.
Search of "User Comment" is currently broken, but will be fixed.

You can still search on "User Comment" by searching for Exiftoolvalue UserComment.

Searching the various comment fields using Exiftoolvalue, including XPComment, works correctly, but you may have to do a "Update Catalog from Files" first.
Comment made in windows explorer, so xnview recognize it and shows in adjusted Viewer info window - {EXIF:XPComment} (Image 1 and 2).
Image 1.jpg
Image 2.jpg
But cant find image search in 3 variants (image 3).
Image 3.jpg
Picture difinetly cashed in catalog (image 4 and 5).
Image 4.jpg
Image 5.jpg
Maybe syntax error in filter menu? How to find EXIF:XPComment?
You do not have the required permissions to view the files attached to this post.
jkm
Posts: 442
Joined: Sat May 11, 2024 12:43 am

Re: Search for EXIF UserComment

Post by jkm »

Banta wrote: Mon Feb 02, 2026 8:36 pm Maybe syntax error in filter menu? How to find EXIF:XPComment?
I said in my previous message how to search for it:
jkm wrote: Mon Feb 02, 2026 7:53 pm You can still search on "User Comment" by searching for Exiftoolvalue UserComment.

Searching the various comment fields using Exiftoolvalue, including XPComment, works correctly, but you may have to do a "Update Catalog from Files" first.
So if you want to search for XPComment, in the search dialog use the menu to add "ExifTool value", and then in the first field enter xpcomment
Use the second field for your search term.

And as I said, you may have to do a "Update Catalog from Files" first.
Banta
Posts: 11
Joined: Sun Jun 01, 2025 3:20 pm

Re: Search for EXIF UserComment

Post by Banta »

jkm wrote: Mon Feb 02, 2026 8:51 pm
Banta wrote: Mon Feb 02, 2026 8:36 pm Maybe syntax error in filter menu? How to find EXIF:XPComment?
I said in my previous message how to search for it:
jkm wrote: Mon Feb 02, 2026 7:53 pm You can still search on "User Comment" by searching for Exiftoolvalue UserComment.

Searching the various comment fields using Exiftoolvalue, including XPComment, works correctly, but you may have to do a "Update Catalog from Files" first.
So if you want to search for XPComment, in the search dialog use the menu to add "ExifTool value", and then in the first field enter xpcomment
Use the second field for your search term.

And as I said, you may have to do a "Update Catalog from Files" first.
Nope. Cant find file anyways. And yes, catalog updated.
And in file properties xpcomment exists :D
Image 1.jpg
at previos post filter cant find comment while searched ALL EXIF fields.
You do not have the required permissions to view the files attached to this post.
jkm
Posts: 442
Joined: Sat May 11, 2024 12:43 am

Re: Search for EXIF UserComment

Post by jkm »

It functions correctly as I described. You're having some other problem.

I can't tell what you're trying to show with your screenshots; they seem to be all over the place. What does "XMPSubject" or "lol" have to do with finding a file with "test" in the XPComment field?

There could be any of several problems with your configuration or database.
Show the screenshot of the Exiftool tab, does XPComment show there?

Your last screenshot shows a file with only one metadata tag in it. I can't even be sure the file is not corrupted. Post the file I can test it.

Ensure you're running the latest version of XnViewMP. Ensure you have the Catalog enabled, and that "Store Exiftool fields" is enabled. Ensure your Exiftool path is correct in Settings:Integration:Paths. Restart the app. Then click the "Update Metadata button". Then try a search with "search in catalog only" checked.

If none of that works, try reinstalling the app with a default configuration and no database, import the files, and try the above again.

Good luck...
Banta
Posts: 11
Joined: Sun Jun 01, 2025 3:20 pm

Re: Search for EXIF UserComment

Post by Banta »

jkm wrote: Mon Feb 02, 2026 9:37 pm It functions correctly as I described. You're having some other problem.

I can't tell what you're trying to show with your screenshots; they seem to be all over the place. What does "XMPSubject" or "lol" have to do with finding a file with "test" in the XPComment field?

There could be any of several problems with your configuration or database.
Show the screenshot of the Exiftool tab, does XPComment show there?

Your last screenshot shows a file with only one metadata tag in it. I can't even be sure the file is not corrupted. Post the file I can test it.

Ensure you're running the latest version of XnViewMP. Ensure you have the Catalog enabled, and that "Store Exiftool fields" is enabled. Ensure your Exiftool path is correct in Settings:Integration:Paths. Restart the app. Then click the "Update Metadata button". Then try a search with "search in catalog only" checked.
"What does "XMPSubject" or "lol"" it shows file is fine AND PRESENT IN CATALOG and XNVIEW can find keyword "lol"

"There could be any of several problems with your configuration or database.
Show the screenshot of the Exiftool tab, does XPComment show there?"

XNVIEW shows this field both VIEWER info and detailed EXIF info in left bottom little window....need more place where field showd? :D

"Your last screenshot shows a file with only one metadata tag in it. I can't even be sure the file is not corrupted." you serious?! it happens with ANY image. And i clenup file after first test session - thats why there no keyword field, only comment present.

"Ensure you're running the latest version of XnViewMP." 1-9-10

....etc..... I use this program some years, i know some basics such as importing-exporting catalog, updating it, changing metadata and so on. Just try youself find EXIF:XPComment in filter. Set it from win explorer or direct by "edit metadata" menu xnview.

After some additional testing: purging ini file to default dosnt help, search in 3 interesting EXIF fields: XPComment XPAuthor and XPKeywords finds ONLY XPAuthor. Two others ignored or smthg...
Last edited by Banta on Mon Feb 02, 2026 10:22 pm, edited 1 time in total.
jkm
Posts: 442
Joined: Sat May 11, 2024 12:43 am

Re: Search for EXIF UserComment

Post by jkm »

Banta wrote: Mon Feb 02, 2026 9:59 pm Just try youself find EXIF:XPComment in filter. Set it from win explorer or direct by "edit metadata" menu xnview.
I did, using the exiftoolvalue search. That's how I know it works.
Banta wrote: Mon Feb 02, 2026 9:59 pm I use this program some years, i know some basics such as importing-exporting catalog, updating it, changing metadata and so on.
Ok. I'm sure you'll figure it out then. Good luck to you.
User avatar
xnview
Author of XnView
Posts: 47584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Search for EXIF UserComment

Post by xnview »

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

Re: Search for EXIF UserComment

Post by xnview »

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