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

Pressing Ctrl+Backspace and Ctrl+Delete do nothing in a JTextField

XMLWordPrintable

    • b76
    • x86
    • linux

      ###@###.### 2004-07-15

      J2SE Version (please include all output from java -version flag):
        java version "1.5.0-beta3"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b57)
        Java HotSpot(TM) Client VM (build 1.5.0-beta3-b57, mixed mode)

      Does this problem occur on J2SE 1.4 or 1.4.1 or 1.4.2? Yes / No (pick one)
        Don't know

      Operating System Configuration Information (be specific):
        Gentoo Linux kernel 2.6.7-mm6

      Hardware Configuration Information (be specific):
        Thinkpad T30

      Bug Description:
        In GTK (not GTK L&F in Java, it is real GTK), when the cursor
        is in a text field, pressing Ctrl+Backspace will delete the "word" which
        is before the cursor. Similarly, pressing Ctrl+Delete will delete the
        word which is after the cursor.

        GTK L&F does not do this in its JTextFields. Pressing Ctrl+Backspace and
        Ctrl+Delete do nothing in a JTextField.


      ---

      Note: Same issue applies to Windows L&F.
      ###@###.### 2004-07-20

            idk Igor Kushnirskiy (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: