1.3.0 - crop panel - selection ratio shortcut

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2410
Joined: Sat May 09, 2015 9:37 am

1.3.0 - crop panel - selection ratio shortcut

Post 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 738 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
Last edited by user0 on Sun Oct 27, 2024 12:26 pm, edited 12 times in total.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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: 2410
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' as selection has fixed ratio, not to 'Free'
Post Reply