Page 1 of 1

1.3.0 - crop panel - selection ratio shortcut

Posted: Thu Oct 06, 2022 10:39 am
by user0
XnViewMP 1.3.0 64bit
Windows10 64bit (21H1), display resolution 3840x2160, win scaling 150%


Crop panel
Selection's aspect ratio shortcuts work: A (Free) and D (Fixed ratio).
However, value in 'Selection' combobox does not change accordingly.
crop_panel_selection_ratio_shortcut.png
crop_panel_selection_ratio_shortcut.png (813 Bytes) Viewed 742 times

To reproduce:
1. run clean portable XnViewMP
2. open image
3. press SHIFT-X to open Crop panel

Issue A
4. press D for Image Fixed ratio
value in combobox does not change to Fixed ratio

Issue B
4. select any fixed aspect ratio, eg 1:1
5. press A for Free
value in combobox does not change until you press mouse button and start selection

Issue C
4. select any units aspect ratio (cm/inch/pixel), eg 130x100 mm
value in combobox does not represent selected ratio, but changes to Free instead

Expected behaviour:
In all cases combobox shall change its value right after shortcut is pressed.





Related

Re: 1.3.0 - crop panel - selection ratio shortcut

Posted: Wed May 07, 2025 2:41 pm
by xnview
user0 wrote: Thu Oct 06, 2022 10:39 am Issue A
4. press D for Image Fixed ratio
value in combobox does not change to Fixed ratio

Issue B
4. select any fixed aspect ratio, eg 1:1
5. press A for Free
value in combobox does not change until you press mouse button and start selection
'Selection set ratio' is disabled during crop panel
Issue C
4. select any units aspect ratio (cm/inch/pixel), eg 130x100 mm
value in combobox does not represent selected ratio, but changes to Free instead
yes to be able to resize the selection

Re: 1.3.0 - crop panel - selection ratio shortcut

Posted: Wed May 07, 2025 2:54 pm
by user0
xnview wrote: Wed May 07, 2025 2:41 pm
user0 wrote: Thu Oct 06, 2022 10:39 am Issue A
4. press D for Image Fixed ratio
value in combobox does not change to Fixed ratio

Issue B
4. select any fixed aspect ratio, eg 1:1
5. press A for Free
value in combobox does not change until you press mouse button and start selection
'Selection set ratio' is disabled during crop panel
but A, D shortcuts work (as expected),
so combobox should reflect changes of aspect ratio via these shortcuts

xnview wrote: Wed May 07, 2025 2:41 pm
user0 wrote: Thu Oct 06, 2022 10:39 am Issue C
4. select any units aspect ratio (cm/inch/pixel), eg 130x100 mm
value in combobox does not represent selected ratio, but changes to Free instead
yes to be able to resize the selection
right, but it should change to 'Fixed ratio' as selection has fixed ratio, not to 'Free'