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

regression: TextField and JTextField components text selection broken

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Introduced In Version:
      5.0
    • Resolved In Build:
      b56
    • CPU:
      x86
    • OS:
      linux_redhat_4.0
    • Verification:
      Verified

      Description

      Regresion: YES (from b39)
      Package: J2SE
      Version: 1.6.0-ea-b48
      Locale: C, de_DE.UTF8

      Description:
      Text in Awt component TextField and swing component JTextField is badly redrawn after selecting it. In order to reproduce this bug the TextField/JTextField must be partly out of the screen. See attached images for more info.

      Bundle tested:
      jdk-6_0-ea-bin-b48-linux-amd64-18_aug_2005.bin

      Platform:
      Linux ptakopysk.czech.sun.com 2.6.9-5.EL #1 Wed Jan 5 19:21:57 EST 2005 x86_64 x86_64 x86_64 GNU/Linux

      Steps to reproduce:
      1) Run an application containing JTextField/TextField component. (CharView or compile and run attached TextTest.java)
      2) Asure, than investigated JTextField/TextField is not focused.
      3) Move the application window out of the screen, so the JTextField/TextField is not entirely visible.
      4) Click into the JTextField/TextField, try to select the text with mouse or try to press Crtl+A.
      5) Check that the text is wrongly redrawn.

      Reproducible on: 1.6.0-ea-b39, 1.6.0-ea-b40, 1.6.0-ea-b47, 1.6.0-ea-b48
      Tested on platform:
        OS: RHAS4.0 64Bit
        HW: Sun W1101z
      Window manager: gnome
      Display adapter: nVidia Corporation|NV34GL [Quatro FX 500]

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: