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

Copy/paste don't work with the right button of the mouse in GTK system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 6
    • client-libs
    • x86
    • linux

      FULL PRODUCT VERSION :
      java version "1.6.0_05"
      Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Ubuntu Linux 7.10

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Default theme of Ubuntu (Human)

      A DESCRIPTION OF THE PROBLEM :
      When I select and copy a text in a text component (from a JTextField, for example) and then I select another application (a text pane of Firefox, for example) using the right button of the mouse, the option 'paste' in the mouse popup becomes disabled.

      But the text copied is pasted if I use Control+V (i.e., the text exists in the transfer area).

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. I copy a text from a JTextField, JTextArea or a JTextPane;
      2. I select a text area of another application (non Java: here I have used Firefox and a text editor, like gedit);
      3. I click with the right button of the mouse and the popup appears;
      4. The 'paste' option becomes desabled.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      1. I copy a text from a JTextField, JTextArea or a JTextPane;
      2. I select a text area of another application (non Java: here I have used Firefox and a text editor, like gedit);
      3. I click with the right button of the mouse and the popup appears;
      4. I want paste the text from the transfer area. The 'paste'option in the popup must be enabled.
      ACTUAL -
      I want paste the text from the transfer area copied from a Swing application, but the 'paste' option in the popup becomes disabled (the copy exists in the transfer area: I can paste it using Control+V).

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No error.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      No source. Any Swing application with a text component like JTextField, JTextPane or a JTextArea can reproduce this problem.
      ---------- END SOURCE ----------

            son Oleg Sukhodolsky (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: