0.85: IPTC:Keyword not shown if keyword length < 3

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
Jobi
Posts: 11
Joined: Tue Apr 11, 2017 3:47 pm

0.85: IPTC:Keyword not shown if keyword length < 3

Post by Jobi » Tue Apr 11, 2017 7:30 pm

XnView: MP 0.85 - 64-bit
OS: Windows 81 - 64-bit

Effect: Existing information not shown in "Thumbnail + Labels" (Labels -> IPTC: Keywords)

XnView does not show my single iptc:keyword if the length of the keyword is <=2 characters

To reproduce:
1. Add keyword using:

Code: Select all

exiftool -P -overwrite_original -keywords=AB IMAGE.JPG

2. Browse files with XnViewXP (custom labels to view iptc:keywords): iptc:keyword "AB" is not shown (but imported/added correctly to the Category list)
3. Now add another keyword using:

Code: Select all

exiftool -P -overwrite_original -keywords+=XY IMAGE.JPG
4. Update the file list / Rebuild icons / Update Catalog from files: Now both iptc:keywords (AB, XY) are shown.
5. Delete keyword "AB" using:

Code: Select all

exiftool -P -overwrite_original -keywords-=AB image.jpg
6. Update the file list / Rebuild icons / Update Catalog from files. Again, iptc:keyword "XY" is not shown (but the image is shown in Category "XY")

Then I was re-writing the metadata using

Code: Select all

exiftool -all= -tagsfromfile @ -all:all -unsafe -icc_profile IMAGE.JPG
(in my case also converting ExifByteOrder from Intel to Motorola) but neither this does fix the problem.

But if I copy the IMAGE.JPG to IMAGE_2.JPG and use

Code: Select all

exiftool -all= -tagsfromfile IMAGE_2.JPG -all:all IMAGE.jpg
then the keyword "XY" will be shown for IMAGE.JPG ...
... until I remove the keyword and in the next step add it again (or add a 2nd keyword that I delete immediately afterwards) - using exiftool.

Keep in mind: The keyword is always shown in "Detail" view and imported/added correctly to the Category list regardless if shown or not shown in "Thumbnails + Labels" and it does not happen if the length of a single keyword is greater 2 or a second keyword is added.


Actual behaviour (bug): XnViewMP does not display keywords if the only existing single keyword length <=2 chars (at least under some circumstances)

Expected behaviour: XNViewMP should display all keywords, regardless keyword length (especially when importing/adding it correctly to the Category list)

BTW: Same strange behaviour in XnView Classic.

With kind regards
Jobi
Attachments
IMAGE.zip
Includes my example image
(400.51 KiB) Downloaded 22 times

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

Re: 0.85: IPTC:Keyword not shown if keyword length < 3

Post by xnview » Sat Apr 15, 2017 12:01 pm

O.k., thank you, I can also reproduce the problem. Issue 1188 is fixed in next version.
Pierre.

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

Re: 0.85: IPTC:Keyword not shown if keyword length < 3

Post by xnview » Thu Apr 27, 2017 11:00 am

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

Jobi
Posts: 11
Joined: Tue Apr 11, 2017 3:47 pm

Re: 0.85: IPTC:Keyword not shown if keyword length < 3

Post by Jobi » Thu May 25, 2017 5:31 pm

xnview wrote:This problem is supposed to be fixed in XnView MP 0.86. Please check and confirm the bug fix here.
After several tests, I confirm this bug to be fixed. Many thanks :D

Kind regards,
Jobi

Post Reply