Edit > Set Selection size > Custom size... bug?
Posted: Wed Mar 11, 2015 10:34 am
A custom selection size, although stored correctly in the ini file, is displayed with height and width transposed when the keyboard shortcut 'C' is used, and similarly shown incorrectly when the selection window is reopened.
Open an image, then...
Edit > Set Selection size > Custom selection...
Enter Width = 100 , Height = 120 [Tall rather than wide...]
Edit > Set Selection size > Save selection as custom
Edit > Set Selection size > Saved selection (Keyboard shortcut 'C')
The selection is wide rather than tall...
Edit > Set Selection size > Custom size... (again)
The width and height values are transposed... [Wide rather than tall]
Then close XnView and inspect the ini:
The values in the ini are as they were entered: [Tall rather than wide...]
It looks as if the values stored in the ini are transposed when read to insert a custom selection and to repopulate the Set Selection size > Custom size... window...
Open an image, then...
Edit > Set Selection size > Custom selection...
Enter Width = 100 , Height = 120 [Tall rather than wide...]
Edit > Set Selection size > Save selection as custom
Edit > Set Selection size > Saved selection (Keyboard shortcut 'C')
The selection is wide rather than tall...

Edit > Set Selection size > Custom size... (again)
The width and height values are transposed... [Wide rather than tall]
Then close XnView and inspect the ini:
Code: Select all
UserSelHeight=120
UserSelRatioX=0
UserSelRatioY=0
UserSelWidth=100
It looks as if the values stored in the ini are transposed when read to insert a custom selection and to repopulate the Set Selection size > Custom size... window...
