[0.86] Selection ratio in main menu and crop toolbar out of sync

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
User avatar
XnTriq
Moderator & Librarian
Posts: 5616
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

[0.86] Selection ratio in main menu and crop toolbar out of sync

Post by XnTriq »

  1. Open an image in the viewer.
  2. Go to EditSet selection ratio16:9 (1.78).
  3. Select an area of the picture.
  4. Click on the background of the viewer to undo the selection.
  5. Go to EditCrop... to enter “crop mode”.
  6. When you make a new selection, the ratio is still set to 16:9, but the drop-down menu on the crop toolbar says Free.
User avatar
xnview
Author of XnView
Posts: 33852
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Selection ratio in main menu and crop toolbar out of sync

Post by xnview »

confirmed
Pierre.
PeterH
Posts: 18
Joined: Tue Dec 01, 2015 2:30 pm

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by PeterH »

It looks like this issue is about what I wanted to report. While cropping several pictures after each other, the actual crop ratio in use does not correspond to the ratio displayed in de left top crop drop down menu. In fact, in most cases it uses the latest ratio selected. This is however not correctly displayed when one switches to the next picture in the directory. This issue behaves like this in the latest versions including XnView Mp 0.86. Please investigate what is displayed and used in the code. These are definitely different values for the aspect ratio.

Regards Peter
User avatar
xnview
Author of XnView
Posts: 33852
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by xnview »

O.k., thank you, I can also reproduce the problem. Issue 1254 is fixed in next version.
Pierre.
User avatar
xnview
Author of XnView
Posts: 33852
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 5616
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by XnTriq »

xnview wrote:This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Not fixed in beta 1 and 2
User avatar
xnview
Author of XnView
Posts: 33852
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by xnview »

XnTriq wrote:
xnview wrote:This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Not fixed in beta 1 and 2
i can't reproduce in beta 2, always free
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 5616
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by XnTriq »

xnview wrote:i can't reproduce in beta 2, always free
Yes, the value of the drop-down menu on the crop toolbar is still set to Free, but isn't that a bug?
XnTriq wrote:
  1. Open an image in the viewer.
  2. Go to EditSet selection ratio16:9 (1.78).
  3. Select an area of the picture.
  4. Click on the background of the viewer to undo the selection.
  5. Go to EditCrop... to enter “crop mode”.
  6. When you make a new selection, the ratio is still set to 16:9, but the drop-down menu on the crop toolbar says Free.
7. Expected behavior (at least for me): The value in the drop-down should change to 16:9 (1.78) to match the value in EditSet selection ratio.
User avatar
xnview
Author of XnView
Posts: 33852
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by xnview »

when you enter in crop bar, the ratio is always set to free
Pierre.
richlux
Posts: 6
Joined: Fri Jun 30, 2017 12:14 am

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by richlux »

I agree with XnTriq. The values should match. Why does the crop board reset the value?

Rich
User avatar
xnview
Author of XnView
Posts: 33852
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by xnview »

richlux wrote:I agree with XnTriq. The values should match. Why does the crop board reset the value?
ok i'll change the behavior in beta 3
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 5616
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: [0.86] Selection ratio in main menu and crop toolbar out of sync

Post by XnTriq »

xnview wrote:
richlux wrote:I agree with XnTriq. The values should match. Why does the crop board reset the value?
ok i'll change the behavior in beta 3
The values now stay in sync :bugfixed:
Post Reply