Resize Canvas and Resize Image dialog improvements

Bug #1945232 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Medium
Unassigned

Bug Description

When using Pinta 1.7 latest snap on Ubuntu 20.04 I can be very quick for resizing canvas or resizing image, only using keyboard.

For example for resizing canvas (similar for resizing image):
1. CTRL+Shift+R
2. Type in e.g. 200 and press Enter.
and that's it, I am done.

But on Pinta latest github 1.8-development on Ubuntu 20.04:
1. CTRL+Shift+R
2. Click on "By percentage" (I have to use mouse).
3. Click 100 number (mouse again).
4. Type in e.g. 200 and press Enter.

Similar more steps in Resize Image.

Additionally, Resize Image in 1.8-dev has "By percentage" on the bottom of dialog which is inconsistent with Resize Canvas. I use this two options frequently and expect to both have "percentage" option on top.

Recap:
1. "By percentage" should be first selection.
2. "By percentage" should be selected as default.
3. Number field with 100 default value should be active, so immediate retype of number is possible.

See attachment picture.

Revision history for this message
grofaty (grofaty) wrote :
Revision history for this message
grofaty (grofaty) wrote :

Additional problem in Pinta 1.8-dev. In "Resize Canvas" dialog "Maintain aspect ratio" is not checked by default. Regression from Pinta 1.7.

Revision history for this message
grofaty (grofaty) wrote :

One more... in "Resize Canvas" Anchor is not set the same as in Pinta 1.8-dev as in Pinta 1.7 (regression).

Revision history for this message
Cameron White (cameronwhite91) wrote :

I think there were some changes to make the dialogs more consistent with Paint.NET (https://github.com/PintaProject/Pinta/pull/184 and https://github.com/PintaProject/Pinta/pull/185)

Fixing which widgets have default focus is easy to do, but I suppose the main question is whether these changes were good, or were the old layout and default values superior?

Changed in pinta:
milestone: none → 1.8
Revision history for this message
grofaty (grofaty) wrote :

In my humble opinion old 1.7 variant is way more useful. I have a print-screen program that can capture part of the screen. Then I paste image to Pinta. When I want to add some more space to the e.g. top I never ever know what is the image resolution, but I know I can easily enhance it by using 120%.

I would be very happy if this change in 1.8 is reverted back to 1.7 behavior. I got so used to this to press: CTRL+Shift+R 120 Enter that this in my mind works like a single operation.

Revision history for this message
Cameron White (cameronwhite91) wrote :

Thanks for the feedback!
Maybe this dialog should just remember which settings were used the previous time, similar to the New Image dialog

Changed in pinta:
status: New → Triaged
Revision history for this message
grofaty (grofaty) wrote :

Remembering previous setting would be even additional benefit.

I would still (but I leave to your for final solution) the option "By percentage" in Resize Canvas and Resize Image to be in the same place, both on top or both on bottom. I can't see the reason for having two different logic for the same operation.

Revision history for this message
Cameron White (cameronwhite91) wrote :

Attaching screenshots of these dialogs from Paint.NET, for reference.

Revision history for this message
Cameron White (cameronwhite91) wrote :
Revision history for this message
Cameron White (cameronwhite91) wrote :

I agree that the layout change in the Resize Image dialog should be reverted to put "By percentage" back on top, keeping the layout similar for both dialogs.

For now I'm going to revert the changes entirely since this shouldn't be a release blocker, particularly for the GTK2 branch which shouldn't be getting any UI changes.

In the future, I think the right solution is to have these dialogs remember their previous settings (and give focus to a suitable widget) so that the workflow is efficient.

Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
importance: Undecided → Medium
milestone: 1.8 → none
summary: - Resize Canvas and Resize Image default fields values inconsistencies
- (regression)
+ Resize Canvas and Resize Image dialog improvements
tags: added: user-interface
Revision history for this message
grofaty (grofaty) wrote :

Thank you very much for this revert. I love it.

I think we can close down this bug report as fixed.

Changed in pinta:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers