Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5077753
Votes 0
Synopsis GTK L&F Drag & Drop (DND) feedback inconsistent with actual GTK
Category java:classes_swing
Reported Against tiger-beta2
Release Fixed
State 11-Closed, duplicate of 4468566, bug
Priority: 4-Low
Related Bugs 4468566
Submit Date 23-JUL-2004
Description




FULL PRODUCT VERSION :
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b57)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b57, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux leak.kano.net 2.6.7-mm6 #1 Fri Jul 9 14:52: customer  EDT 2004 i686  customer (R) Pentium(R) 4 Mobile CPU 1.80GHz GenuineIntel GNU/Linux

A DESCRIPTION OF THE PROBLEM :
When moving your mouse dragging an item to a JList or JTable, the selection of the table or list changes, following your cursor. This is not what GTK shows when dragging over a list; in fact, the selection doesn't move at all.

The demo at 
http://java.sun.com/docs/books/tutorialJWS/uiswing/misc/example-1dot4/ExtendedDnDDemo.jnlp is a  customer  test case. An application which uses native GTK drag and drop is the Rhythmbox music player, although any GTK application which allows 
you to drag something into a listbox will be just as  customer  reference.


REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Implement custom JList UI and JTable UI
(Incident Review ID: 286694) 
======================================================================
Work Around
N/A
Evaluation
I'm closing this as a duplicate of 4468566. It states that Swing should not use the selection to show the drop location. I've added a not there suggesting that the solution we arrive at should be customized based on L&F.
  xxxxx@xxxxx   2004-07-23
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang