Page 1 of 1

Portrait oriented NEF and CR2 files are shown in landscape orientation when categorized

Posted: Sat Jan 08, 2022 10:17 pm
by heXnForum
Subject: 0.99.6: Portrait oriented NEF and CR2 files are shown in landscape orientation when categorized

XnView: MP 0.99.6 - 64 bit
OS: Windows 10 20H2 / 64bit

Portrait oriented NEF and CR2 files are shown in landscape orientation when categorized

Effect: If selected a category for an image in portrait orientation the image is desplayed in landscape the the directory or filter is selected next.

To reproduce:
1. Select a directory containing NEF or CR2 images
2. Select a portrait orientated image
3. Set a category for the image
4. Select another folder
5. Re-select the folder of the categorized image
Actual behaviour (bug): The orientation of the image has changed from portait to landscape. :bug:

Expected behaviour: The image should retain is orientation (portrait).

I have investigated the issue further and the orientation is correlated with the number of category settings you do (not the number of categories set). Every other setting causes the orientation of the picture to toggle between landscape and portrait. A demonstration video can be provided (to large for upload, 4 MB).
But if you want to change the orientation without permanetly deselecting a category quickly de-select and re-select a category. This causes the orientation to flip while the selected categories are retained.
It looks as if the problem is again related to the writing of the categories to the database of XMP data. Each change of category changes the orientation, too.

This bug exists at least since version 97.1.

Re: Portrait oriented NEF and CR2 files are shown in landscape orientation when categorized

Posted: Tue Jan 18, 2022 10:49 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Portrait oriented NEF and CR2 files are shown in landscape orientation when categorized

Posted: Mon Mar 28, 2022 10:07 am
by xnview
This problem is supposed to be fixed in XnView MP 1.00 beta. Please check and confirm the bug fix here.

Re: Portrait oriented NEF and CR2 files are shown in landscape orientation when categorized

Posted: Tue Mar 29, 2022 1:39 pm
by heXnForum
Newly imported images are orientated correctly v1.0-beta.
For the existing database the thumbnails must be deleted throught the optimization functions. Afterwards the orientation of the thumbnails is correct. Without the wrong orienration remains.
If the orientation was corrected in v0.99.7 it persists in v1.0-beta.

Re: Portrait oriented NEF and CR2 files are shown in landscape orientation when categorized

Posted: Wed Mar 30, 2022 6:02 am
by xnview
yes the database need to be updated