Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6653545

GTK: Not able to perform drag and drop in color chooser dialog

XMLWordPrintable

      OPERATING SYSTEM(S):
      --------------------
      Linux IA32

      FULL JDK VERSION(S):
      -------------------
      java version "1.5.0_14"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
      Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode)

      Same problem is observed for Java6 also for the following build:

      java version "1.6.0_04"
      Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)

      DESCRIPTION:
      ------------

      In GTK look-and-feel, color chooser dialog does not work for drag-and-drop.

      1. Run gnome-session i.e. use gnome window manager.
      2. Run two instances of SwingSet2 demo and perform the following steps
         for both the instances:
      3. Go to "Options" menu and select "Enable Drag Support".
      4. Go to "Look & Feel" menu and select "Java Look & Feel" (Anyway, by
         default LAF will be Java).
      5. Click on "JColorChooser Demo".
      6. There will be two JColorChooser dialog at this moment.
      7. Drag a color from one JColorChooser dialog to another. Color gets
         dragged correctly.
      8. Perform from Step4 again. Select "GTK Style Look & Feel?". In GTK
         LAF, color can not be dragged. ==> PROBLEM

      Observed result:
      Color can not be dragged from one JColorChooser dialog to another in GTK LAF.

      Expected result:
      It should be possible to drag color in JColorChooser dialog.

            peterz Peter Zhelezniakov
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: