Bug 394714

Summary: custom aspect ratio when cropping
Product: [Applications] gwenview Reporter: Marcos Dione <mdione>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: null
Priority: NOR    
Version: 18.04.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Marcos Dione 2018-05-26 15:25:23 UTC
There's no custom aspect ratio when cropping. For some pictures I just crop them to 6000x2000, and I used to do it with older versions of gwenview, but now I can't.

Related to this bug, when one aspect ratio is selected, I can't enter any size. For instance, for a 6000x4000 (original size) picture, when selecting the width of the image, and trying to type 4500 (to get a 3000 height), when I type the 4 I get a 3 (and 2 for height); when I type the 5, I get another 3 (and another 2 for the height, so now the size is 33x22); for the zeros I don't have any problem, so the final size is 3300x2200, not the expected 4500x3000. Should I open a new bug for this?
Comment 1 Marcos Dione 2018-05-26 16:40:25 UTC
I just found it, but is not evident: you just need to delete the . But the second part of the bug is still valid for specific aspect ratios. May I should rename the bug?
Comment 2 null 2018-05-26 19:45:26 UTC
Thanks for your report. As you know, bugs with multiple only slightly related issues are always a bit difficult to handle.

Regarding your first point: When implementing this, we actually tried having an entry in the combobox called "Custom", but in the end decided against it because in various situations it became confusing. We think that the blinking cursor, the initial "width:height" text and the delete button are enough to indicate there is a way to set a custom ratio.

Regarding your second point, there is already a bug about that (I found it by searching for "gwenview crop"), so I'll close yours now as a duplicate.

*** This bug has been marked as a duplicate of bug 332208 ***
Comment 3 Marcos Dione 2018-05-26 22:09:19 UTC
> Regarding your first point: When implementing this, we actually tried having an entry in the combobox called "Custom", but in the end decided against it because in various situations it became confusing. We think that the blinking cursor, the initial "width:height" text and the delete button are enough to indicate there is a way to set a custom ratio.

Well, the thing is, once you selected another value, it stays like that, even between different runs. So once you selected something else, it's not so evident that you can delete the text, unless you realize it's an editable dropdown and in hope that it would do something you delete the text. Is there a bug report or mail thread where this interface was discussed?

As for the dupe, I didn't find it, but I was searching 'gwenview crop aspect ratio' (my bad; next time I'll remember to try less narrowing terms), and it didin't appear in the suggested bugs when I wrote the
Comment 4 Marcos Dione 2018-05-26 22:09:48 UTC
... when I wrote the summary.