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

Disabled JPasswordField foreground color is wrong with GTK LAF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 8, 11, 15, 16
    • client-libs
    • Ubuntu20.10-x64(Light Mode)/JDK 16 b28(64bit)/Jtreg5.1b01

    • b14
    • x86_64
    • linux_ubuntu

    Description

      Testsuite: Regression manual
      Test name(s):javax/swing/JPasswordField/4382819/bug4382819.java
      Product(s) tested: JDK 16b28 (64bit)
      OS/architecture: ubuntu20.10-x64(Light Mode)/Jtreg5.1b01
      option:-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

      Reproducible: Always
      Reproducible on machine: Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Actual behavior:
      1) The combobox displayed incorrectly but the function is right with the option "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel ".Please refer to disable.png.
      2) There is no such issue without option.Please refer to disable-NoOption.png.
      3) On ubuntu20.10-x64(Light Mode) with the same option,JDK8u281b09&ws/JDK11.0.10b08&ws/JDK15.0.2b07&ws failed as the same issue.

      Attachments

        1. 7u291.png
          7u291.png
          482 kB
        2. disable.png
          disable.png
          215 kB
        3. disable-NoOption.png
          disable-NoOption.png
          258 kB
        4. enable.png
          enable.png
          223 kB

        Issue Links

          Activity

            People

              abhiscxk Abhishek Kumar
              tmeng Tina Meng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: