Incorrect mouse icon changes on approaching rectangle edges

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

Bug Description

Pinta latest 2.1-dev from Github on Ubuntu 22.10.

I. PROBLEM
1. New image 800x600.
2. Click on Rectangle and move mouse to canvas. Observe: Mouse icons is rectangle with little cross as expected.
3. Click and start drawing. Mouse icon immediately changes to hand icon. I don't expect this. In my humble opinion mouse icon should be "rectangle with little cross" until I release the mouse. When I approach edges of rectangle then mouse icon should change to hand to indicate moving it around will change existing object. This is the behavior Gimp has.

II. PROBLEM
1. After rectangle is drawn (but not finalized yet) if I approach rectangle at the corners hand icon appears as expected. But approaching it at edge (but not corner) normal "rectangle with little cross" icon appears despite little blue dot appears on the edge. At this time when blue dot appears on edge of rectangle I expect mouse icon to be changed to hand icon. I only expect to have "rectangle with little cross" icon when new rectangle is going to be drawn.

III. PROBLEM
1. After rectangle is drawn and I approach rectangle corner and hand icon appears. This is fine, because it indicates if mouse is clicked and moved existing rectangle will be resized.
But mouse still on the corner of rectangle (with hand icon) and pressing Ctrl key to draw a new rectangle and now I expect "rectangle with cross" icon to appear, but it does not it is still hand icon displayed. From icon alone it is not possible to know if existing rectangle is going to be resized or new rectangle drawn.

CONCLUSION:
In my humble opinion mouse icon should be as following:
a) Click and during drawing it should be "rectangle with little cross" icon.
b) When mouse is released and touches the edge (still not clicked) hand icon should be displayed to indicate that clicking and moving mouse existing rectangle will be resized.
c) Moving mouse to edge of rectangle and hand should appear, but pressing and holding pressed down Ctrl key mouse icon should change to "rectangle with little cross" icon to indicate that clicking and moving mouse new rectangle will be drawn.

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

I downloaded latest Pinta 2.1-dev from Github on Ubuntu 22.10.

I tested this problem and it is much better, but I still think mouse icons do not work perfectly.

TEST:
1. Rectangle Select and draw a selection.
2. Mouse mouse to edge of selection and two little arrows appears. That is as expected.
3. Click mouse and pull. During pulling two little arrows icon is there whole process until mouse is released. This is exactly like I expect it to work.

COMPARE WITH:
4. Rectangle and draw a rectangle on canvas.
5. Approach edge of rectangle and hand icon appears (it is OK, but it would be better to have a two arrows icon).
6. Still in hand icon click mouse and pull. Now I expect to have hand icon the whole drawing process, but icon changes to rectangle with little cross.

I changed status of this issue back to New.

Revision history for this message
grofaty (grofaty) wrote :

I have retested this today in latest Pinta 2.1-dev from Github on Ubuntu 22.10 after few of the merges have popped in and it looks like now using Rectangle instead of hand icon mouse pointing icon is displayed when resizing or curving the rectangle shape.

Actually I like this pointing mouse icon more then hand icon.

I see this is one of the last two bugs waiting for new Pinta 2.1 release. I think this bug report is no need to be show stopper and we can postpone solution to this issue after official 2.1 release.

I suggest to change milestone to 2.2 or remove milestone for now.

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

Yeah, I think the new behaviour is fairly good. A minor improvement would be to make the selection and shape tools consistent as mentioned in comment 2

Changed in pinta:
milestone: 2.1 → 2.2
Changed in pinta:
status: New → Triaged
milestone: 2.2 → none
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.