0.86: Custom selection ratio presets not available in main menu

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

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

0.86: Custom selection ratio presets not available in main menu

Post by XnTriq »

  1. Open an image in the viewer.
  2. Go to EditCrop... to enter “crop mode”.
  3. Click on the ... button on the crop toolbar to enter the Crop size... dialog.
  4. Click on the New... button.
  5. Create a new preset (Width 9 | Height 16 | ratio) and save it by clicking on the OK button.
    • A new file named CropSize.xml is created.
    • The newly specified preset 9:16 (0.56) is added to the list in the drop-down menu on the crop toolbar, but it is missing in EditSet selection ratio. :bug:
[color=green]CropSize.xml[/color] wrote:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE crop_size><crop_size version="1.0">
    <array>
        <item label="" width="1" height="1" unit="ratio" ratio="0" visible="yes"/>
        <item label="" width="2" height="1" unit="ratio" ratio="0" visible="yes"/>
        <item label="" width="3" height="2" unit="ratio" ratio="0" visible="yes"/>
        <item label="" width="4" height="3" unit="ratio" ratio="0" visible="yes"/>
        <item label="" width="5" height="3" unit="ratio" ratio="0" visible="yes"/>
        <item label="" width="5" height="4" unit="ratio" ratio="0" visible="yes"/>
        <item label="" width="7" height="5" unit="ratio" ratio="0" visible="yes"/>
        <item label="" width="9" height="7" unit="ratio" ratio="0" visible="yes"/>
        <item label="12:10 (1.2)" width="12" height="10" unit="ratio" ratio="0" visible="yes"/>
        <item label="16:9 (1.78)" width="16" height="9" unit="ratio" ratio="0" visible="yes"/>
        <item label="16:10 (1.6)" width="16" height="10" unit="ratio" ratio="0" visible="yes"/>
        <item label="A4, A3, ... (1.41)" width="141" height="100" unit="ratio" ratio="1.41" visible="yes"/>
        <item label="US Letter (1.29)" width="129" height="100" unit="ratio" ratio="1.29" visible="yes"/>
        <item label="Cinema 1 (1.85)" width="185" height="100" unit="ratio" ratio="1.85" visible="yes"/>
        <item label="Cinema 2 (2.35)" width="235" height="100" unit="ratio" ratio="2.35" visible="yes"/>
        <item label="" width="80" height="60" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="90" height="60" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="127" height="95" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="130" height="100" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="152" height="102" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="152" height="114" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="178" height="127" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="180" height="130" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="203" height="152" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="212" height="152" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="228" height="152" unit="cm" ratio="0" visible="yes"/>
        <item label="27.9x21.6 [US Letter]" width="279" height="216" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="297" height="210" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="305" height="203" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="457" height="305" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="600" height="400" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="762" height="508" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="800" height="600" unit="cm" ratio="0" visible="yes"/>
        <item label="" width="9" height="16" unit="ratio" ratio="0" visible="yes"/>
    </array>
</crop_size>
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: [0.86] Custom selection ratio presets not available in main menu

Post by helmut »

I've just reproduced the problem and can confirm the observed behaviour.

To me it looks as if the list of crop profiles is one list and the lists behind selection ratio and/or set selection size are seperate lists. So I wonder whether this is a bug or just the way it is currently designed (which should be discussed and changed). What do you think?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: [0.86] Custom selection ratio presets not available in main menu

Post by XnTriq »

I see what you mean: The drop-down menu on the crop toolbar combines all values from both the Set selection size and Set selection ratio from the Edit menu (plus custom presets).

:arrow: Closed
Post Reply