1.3.0 - crop toolbar - selection ratio shortcut

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 2816
Joined: Sat May 09, 2015 9:37 am

1.3.0 - crop toolbar - selection ratio shortcut

Post by user0 »

XnViewMP 1.3.0
Windows10 (21H1), display resolution 3840x2160, dpi scale 150%


Viewer - crop toolbar
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

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
You do not have the required permissions to view the files attached to this post.
Last edited by user0 on Fri Dec 26, 2025 11:43 am, edited 14 times in total.
User avatar
xnview
Author of XnView
Posts: 47412
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.3.0 - crop panel - selection ratio shortcut

Post 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
Pierre.
User avatar
user0
XnThusiast
Posts: 2816
Joined: Sat May 09, 2015 9:37 am

Re: 1.3.0 - crop panel - selection ratio shortcut

Post 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' (instead of 'Free') as selection has fixed ratio