Magic Wand cursor's "hot spot" is not in the wand's tip

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

Bug Description

Pinta-1.4-preview-20120812 on Windows XP:
1. Open attached image.
2. Click on Magic Wand Select tool from Tools.
3. Try to mark red object on image.
You will notice that it is hard to select it, because it is difficult to understand where the mouse focus is.
I think the focus should be at the end of yellow tip, but it looks it is somewhere in the middle of the stick.

This is not a huge bug (also probably easy to fix) but annoying when small object are required to select.

Tags: easy-to-fix
summary: - Magic Wand selection not clear enough where selection will happen
+ Magic Wand cursor's "hot spot" is not in the wand's tip
Changed in pinta:
importance: Undecided → Low
status: New → Confirmed
Tom Kadwill (tomkadwill)
Changed in pinta:
assignee: nobody → Tom Kadwill (tomkadwill)
Tom Kadwill (tomkadwill)
Changed in pinta:
status: Confirmed → In Progress
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
milestone: none → 1.5
status: In Progress → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

I tested this problem in Pinta latest development on Ubuntu 12.04 and I see this problem is not fixed.

To create a test case, I have created test_magic_wand.png image. Try to select red square in the middle of the image. If we respect the logic in this bug report - hot spot is in the tip of magic wand - then green square is selected instead.

Maybe there is a problem, because we don't EXACTLY know where hot stop is. I must say I like idea behind Paint Bucket icon. You see if you select Paint Bucket icon, then small black cross is displayed in mouse icon, so I can 100% for sure say where painting bucket action will be performed.

I have copied the ~/Pinta/Pinta.Resources/Resources/Tools.MagicWand.png to Cursor.MagicWand.png. I have modified the Cursor.MagicWand.png file in such a way do draw black cross (something very similar to the logic of icon Cursor.PaintBucket.png).

So if I may suggest we should do the following (feature request to properly solve this bug):
1. Add file Cursor.MagicWand.png to the path ~/Pinta/Pinta.Resources/Resources/
2. Change the Pinta code to accept file from step 1 instead of ~/Pinta/Pinta.Resources/Resources/Tools.MagicWand.png (currently we use the same file for Magic Wand icon on Tools pad and Magic Wand mouse icon - this would now change - the logic should be the same as at Paint Bucket tool / mouse_icon).
3. Now fix the bug in this bug report in a way that hot spot is in the center of black cross.

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

Ah... double posting the same image Cursor.MagicWand.png. Sorry...

Revision history for this message
Tom Kadwill (tomkadwill) wrote :

grofaty - yes I agree with you, the black target definitely makes it easier. I'll try fixing the three steps that you raise in this new bug.

grofaty (grofaty)
Changed in pinta:
status: New → Confirmed
Revision history for this message
Elvis Alistar (ealis2001-deactivatedaccount-deactivatedaccount) wrote :

I'm committing a fix for this right now.

Changed in pinta:
assignee: Tom Kadwill (tomkadwill) → Elvis Alistar (ealis2001)
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
status: Confirmed → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

I downloaded the latest Pinta development on Ubuntu 12.04 and I can confirm this bug is fixed. Thanks a lot.

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.