JDK-6502564 : Regression: Drop cursor flashes to NO_DROP temporarily when dropping
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: solaris
  • CPU: other
  • Submitted: 2006-12-08
  • Updated: 2013-02-05
  • Resolved: 2013-02-05
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.
JDK 8
8Resolved
Related Reports
Relates :  
Description
Following defect was fixed as part of 6421347 in pit7 b04 but the same bug still exists
in Linux and Solaris9

----------
Run the test case below, or any other drag and drop enabled Swing demo. Enter some text, drag it, and drop it in the window. The drop cursor flashes to NO_DROP temporarily. This is a very recent regression. However, it does NOT seem related to 4869264 which was recently putback. And it is NOT the same issue as 6388028 which talks about the drop cursor flashing when the action is changed.

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class DTest extends JFrame {
    
    public DTest() {
        super("DTest");
        
        JTextArea ta = new JTextArea();
        ta.setDragEnabled(true);
        getContentPane().add(new JScrollPane(ta));
    }

    private static void createAndShowGUI(String[] args) {
        DTest test = new DTest();
        test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        test.setSize(400, 400);
        test.setLocationRelativeTo(null);
        test.setVisible(true);
    }
    
    public static void main(final String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                createAndShowGUI(args);
            }
        });
    }
}

Comments
I tried to reproduce the problem on stt-32-sone, but the issue is not reproducible with latest builds of jdk7 and jdk8. May be this is because of the GNOME wm. If anyone can reproduce the issue with the latest builds. Feel free to reopen the issue. I think for jdk6 and jdk7, an escalation should be filed.
05-02-2013