Rectangle vs. Rectangle Select handlers zoom inconsistencies

Bug #1958924 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Undecided
Unassigned

Bug Description

Pinta master from github on Ubuntu 20.04.

1. Draw Rectangle, Line, Ellipse.
2. Zoom to 200%. Handlers are also zoomed. Problem.

Compare:
3. Rectangle Select.
4. Zoom to 200%. Handlers stay the same size. Correct.

This is probably work in progress for https://github.com/PintaProject/Pinta/pull/211
But I am documenting it as a bug, so this can be tracked and not forget to fix.

Tags: line-tool
Revision history for this message
grofaty (grofaty) wrote :
Revision history for this message
Cameron White (cameronwhite91) wrote :

Yeah, the shape tools haven't been updated to use the new handles that the selection tool now uses.

Changed in pinta:
milestone: none → 2.1
status: New → Triaged
tags: added: line-tool
Revision history for this message
Cameron White (cameronwhite91) wrote :

I've been working on this in a separate branch which is ready for some initial testing: https://github.com/PintaProject/Pinta/actions?query=branch%3Afeature%2Fshape-tool-handles

There are some issues I need to fix with redrawing the handles (you can sometimes see the handles left behind at their old positions) but otherwise I think it's working fairly well..

Revision history for this message
grofaty (grofaty) wrote :

Thanks for working on handlers.

I have done few tests and have found two problems:
1. After drawing second, third etc rectangle, handlers from previous rectangles are lost.
2. After several undoes handlers still left over.

See attachment.

Revision history for this message
grofaty (grofaty) wrote :

Additional:
3. Rectangle Select. Selection made and when after mouse release and move mouse to pointer mouse icon changes to indicate resizing. But in Rectangle this new mouse pointer does not appear.

For above problem I have opened bug report like 7 years ago. See https://bugs.launchpad.net/pinta/+bug/1419641

Maybe this can also now be fixed when handlers are studied and trying to improve them.

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

Thanks for testing! Good catch on issue #1, that behaviour got lost in these changes

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

OK, I think the latest commits on that branch should address all of those. For the mouse cursor a "grab" shape is just always shown - some future work would be to show special icons when the shape is a rectangle, but more work is needed to handle that

Revision history for this message
grofaty (grofaty) wrote :

I tested Pinta latest commit from feature/shape-tool-handles branch on Ubuntu 22.10.

It looks the problems in this bug report are now fixed. Playing around with undoes and found problems with undo, that I have reported in separate bug 1996522, because I can reproduce those problem also in master branch.

I don't want to write too many problems in single bug report. Actually for simplicity there should be followed one bug report per problem.

Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
status: Triaged → Fix Committed
grofaty (grofaty)
Changed in pinta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.