JDK-8065647 : [macosx] Drag and drop does not work for JColorChooser between two JVM instances
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version:
    7u6,8,10,11,11.0.6.0.60-oracle,12,13,14,15,17 7u6,8,10,11,11.0.6.0.60-oracle,12,13,14,15,17
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • Submitted: 2014-11-21
  • Updated: 2023-10-09
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.
Other
tbdUnresolved
Related Reports
Duplicate :  
Relates :  
Description
Run two instances of the code below.
Select a color in the first color chooser.
Drag and drop the selected color from the first color chooser 
preview panel to the second color chooser preview panel.

The color is not dragged.

-----------
import javax.swing.BorderFactory;
import javax.swing.JColorChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;

public class JColorChooserDnDTest {

    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {

            @Override
            public void run() {
                JFrame frame = new JFrame();
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                JPanel panel = new JPanel();
                JColorChooser colorChooser = new JColorChooser();
                colorChooser.setDragEnabled(true);
                panel.setBorder(BorderFactory.createTitledBorder("JColorChoosers"));
                panel.add(colorChooser);
                frame.setContentPane(panel);
                frame.pack();
                frame.setVisible(true);
            }
        });
    }
}
-----------
Comments
Test build: JDK7u211 b04(64bit) Test platform: Mac10.13 x64 Jtreg tool: jtreg4.2 b13 The following case failed as the same issue. RULE "javax/swing/JColorChooser/8065098/bug8065098.java" any any
27-11-2018

Test build: JDK11.0.2 b04(64bit) Test platform: Mac10.13 x64 Jtreg tool: jtreg4.2 b13 The following case failed as the same issue. RULE "javax/swing/JColorChooser/8065098/bug8065098.java" any any
23-11-2018

Test build: JDK8u201 b03(64bit) Test platform: Mac10.13 x64 Jtreg tool: jtreg4.2 b13 The following case failed as the same issue. RULE "javax/swing/JColorChooser/8065098/bug8065098.java" any any
14-11-2018

RULE javax/swing/JColorChooser/8065098/bug8065098.java any any
16-01-2015

The test/javax/swing/JColorChooser/8065098/bug8065098.java can be updated to automatic.
13-01-2015

The issue is reproduced in JDK 7u6 b31
21-11-2014