| Summary: | Cannot move a small sized object using keyboard | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Peter Severin <support> |
| Component: | GEF-Legacy GEF (MVC) | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | yves.yang |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | Bugzilla 3.4 Migration | ||
|
Description
Peter Severin
No time to address for 3.1. I have noticed the same issue. The solution I found is to change the MoveHandle location in the method getAccessibleLocation(). Here is my code below. It resolved most of the cases except both width and height are too small. Could you integrate it in the project?
public Point getAccessibleLocation() {
Rectangle box = getBounds();
Point p;
if (box.height > box.width) {
p = box.
getTopRight().
translate(-1, box.height / 4);
translateToAbsolute(p);
}
else {
p = box.
getTopLeft().
translate(box.width / 4, 1);
}
translateToAbsolute(p);
return p;
}
LATER and REMIND resolutions will be going away with the upgrade of Bugzilla to the latest Bugzilla 3.4. They are no longer part of the default Bugzilla installation. See http://dev.eclipse.org/mhonarc/lists/eclipse.org-committers/msg00778.html for the announcement. As a result RESOLVED + REMIND OR LATER will be changed to RESOLVED + WONTFIX This unfortunately also means I need to REOPEN and then RESOLVE as WONTFIX Sorry for the inconvenience. LATER and REMIND resolutions will be going away with the upgrade of Bugzilla to the latest Bugzilla 3.4. They are no longer part of the default Bugzilla installation. See http://dev.eclipse.org/mhonarc/lists/eclipse.org-committers/msg00778.html for the announcement. As a result RESOLVED + REMIND OR LATER will be changed to RESOLVED + WONTFIX This unfortunately also means I need to REOPEN and then RESOLVE as WONTFIX Sorry for the inconvenience. |