United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4712068 : DnD usability issue for dragging text

Details
Type:
Bug
Submit Date:
2002-07-09
Status:
Resolved
Updated Date:
2003-07-25
Project Name:
JDK
Resolved Date:
2003-07-25
Component:
client-libs
OS:
linux
Sub-Component:
java.awt
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.1
Fixed Versions:
5.0 (tiger)

Related Reports

Sub Tasks

Description

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.

======================================================================

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b13


                                     
2004-08-24
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
======================================================================
                                     
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


======================================================================
                                     
2002-10-25



Hardware and Software, Engineered to Work Together