JDK-4712068 : DnD usability issue for dragging text
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2002-07-09
  • Updated: 2003-07-25
  • Resolved: 2003-07-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
5.0 tigerFixed

Name: dk106046			Date: 07/09/2002

java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b13)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b13, mixed mode)

Run something with a Swing JTextArea or similar, for example
the Notepad demo.

Select some text and drag it to a new location within the
text component. During the drag the cursor moves to indicate
the current drop location, but it is obscured by the drag
icon itself. The hotspot of this icon is towards the middle
of the icon, which makes it hard to see around. Compare with
the icons used for dragging text with Motif, Windows, GNOME,
etc where the hotspot is in one corner.


CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b13

SUGGESTED FIX Name: agR10216 Date: 07/11/2003 Change the default drop cursors used on X platforms and adjust mappings in cursors.properties. ###@###.### 2003-07-11 ======================================================================

EVALUATION Name: agR10216 Date: 10/26/2002 I have reproduced the bug with the build 1.4.2-beta-b03 on Linux and Solaris. The position of the text cursor is updated according to the hotspot of the mouse pointer. The coordinates of the mouse pointer hotspot relative to the drop icon are specified in the cursors.properties file. For Linux and Solaris these coordinates point at the middle of the drop icon. The values of these coordinates should be decreased. Let these coordinates be (0, 0). With this change we face another inconsistency. Most of the users may expect that the drop location is pointed by the arrow on the drop icon. But currently on Linux and Solaris CopyDrop, MoveDrop and LinkDrop icons' arrows point to the middle of the drop icon. We should consider the possibility of changing of the current drop icons to another ones with the arrows pointing to the upper-left corner of the drop icon. ###@###.### 2002-10-25 ======================================================================