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

Java ClipBorad is not compatible with GNOME.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs
    • x86
    • linux

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


      ADDITIONAL OS VERSION INFORMATION :
      Linux linux 2.6.22.12-0.1-default #1 SMP 2007/11/06 23:05:18 UTC i686 i686 i386 GNU/Linux


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      LapTop

      A DESCRIPTION OF THE PROBLEM :
        Toolkit.getDefaultToolkit().getSystemClipboard().getData(DataFlavor.stringFlavor)
      works properly.

      When you want to paste the content to gedit in gnome, you will find the paste item in popup menu is grayed.

      Please see https://bugzilla.novell.com/show_bug.cgi?id=191223

      The Java ClipBorad put X window Selection incorrectly,
      When he provide X Selection TARGETS, the type of the selection should be ATOM, But java awt provide with TARGETS two. Please see X11R6 ICCCM.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Copy some text from a java application like Notepad, we actually use groupwise.
      2. Launch gedit in gnome, in the main text area, right click the mouse, you will find the paste item is grayed.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The paste item is usable.
      ACTUAL -
      The paste item is grayed out.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      in Java Examples Notepad.
      ---------- END SOURCE ----------

            son Oleg Sukhodolsky (Inactive)
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: