[udig-devel] [jira] Erstellt: (UDIG-796) "Feature Selection" tool
doesn't work as expected
Matthias Basler (JIRA)
jira at codehaus.org
Wed May 17 13:38:40 PDT 2006
"Feature Selection" tool doesn't work as expected
-------------------------------------------------
Key: UDIG-796
URL: http://jira.codehaus.org/browse/UDIG-796
Project: uDIG
Type: Bug
Components: tool select
Versions: UDIG 1.1.M7, UDIG 1.1.M8
Environment: Found on trunk 2006-05-17. WinXP.
Reporter: Matthias Basler
Assigned to: Jesse Eichar
Priority: Minor
The "Feature Selection" tool (class ArrowSelection) has the comment "Selects and drags single features".
The tooltip reads "Select Feature and Drag Selections".
So what I expected is that I click on a feature (it lights up to signal selection) and drag it, so the feature gets moved to a new location and painted there.
I tested on a map with multiple shapefiles (not write protected).
- First thing is that it isn't obvious to the user that the method works only on the selected layer. I found that out only after a code review.
- Second thing is that the source code of the tool has nothing to do with "dragging" at all since the main action body of the method ("mouseReleased") will only be executed if the mouse key release location is the same as the location where I pressed the mouse key
- Third thing is quite annoying:
If I drag the mouse the cursor becomes a "link" symbol. So I drag the feature and release the button. What happens is that the screen gets clear, the scale in the toolbar reads "1:-1" and (usually) the layers get a red cross saying f.e. "Latitude 32420°54'.0S is out of range" - of course it is...
When I zoom to the map again, the feature that I intended to drag is exactly where it has been before.
Now, what is supposed to happen when the feature gets dragged? Surely not the above.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the udig-devel
mailing list