1.7.2: Hierarchical keywords are not written to IPTC correctly using category menu
Posted: Wed Jul 17, 2024 9:14 am
XnView: MP 1.7.2 - 64-bit
OS: macOS Monterey 12.7.5
The preferences are set to write hierarchical keywords to IPTC data when the categories of a jpeg file is changed. But only the last word is written when the categories are set by "Category" context menu or "Category" dropdown in the toolbar. The hierarchical keywords are written as expected by tick the checkboxes in the "Categories" panel.
Effect: only the last word of hierarchical keywords is written.
To reproduce:
1. Set preferences to enable writting hierarchical keywords to IPTC data
2. Create hierarchical categories
3. Select a jpeg file, set the categories by check the checkboxes in the "Categories" panel
4. Check the IPTC keywords in "Info" panel (may need to press F5 to refresh)
Both the IPTC and XMP data are correct.
5. Now set the categories by "Category" context menu (or the dropdown in the toolbar)
6. Do the same as Step 4
The IPTC data contains only the last word, the XMP data is correct.
Actual behaviour (bug): the behaviors of those two methods to set categories are not consistent.
Expected behaviour: the behaviors of those two methods are consistent and the IPDC is set correctly by either of them.
OS: macOS Monterey 12.7.5
The preferences are set to write hierarchical keywords to IPTC data when the categories of a jpeg file is changed. But only the last word is written when the categories are set by "Category" context menu or "Category" dropdown in the toolbar. The hierarchical keywords are written as expected by tick the checkboxes in the "Categories" panel.
Effect: only the last word of hierarchical keywords is written.
To reproduce:
1. Set preferences to enable writting hierarchical keywords to IPTC data
2. Create hierarchical categories
3. Select a jpeg file, set the categories by check the checkboxes in the "Categories" panel
4. Check the IPTC keywords in "Info" panel (may need to press F5 to refresh)
Both the IPTC and XMP data are correct.
5. Now set the categories by "Category" context menu (or the dropdown in the toolbar)
6. Do the same as Step 4
The IPTC data contains only the last word, the XMP data is correct.
Actual behaviour (bug): the behaviors of those two methods to set categories are not consistent.
Expected behaviour: the behaviors of those two methods are consistent and the IPDC is set correctly by either of them.