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

GTK:Accelerator background shows incorrectly for checkbox and radiobutton menuitems at 'on' state.

    XMLWordPrintable

    Details

      Description

      Bug Info:
      =========
      Accelerator background shows incorrectly for JCheckBoxMenuItem and RadioButtonMenuItem at checked(on) state.

      Select the either JCheckBoxMenuItem/JRadioButtonMenuItem which has accelerator and roll out the selection bar then the accelerator should have foreground color is black.

      Expected Behavior:
      ===================
      Accelerator should have a black foreground color while comparing with native component.

      Actual Behavior:
      ================
      Aceleraror has white foreground color.

      JDK Info:
      =========
      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b104)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b104, mixed mode)

      GTK Version & Theme Details:
      ============================
      VERSION: 2.4.0
      Theme : Blue Print

      The issue is reproducible with jdk6.0 latest b104 and also with jdk7 nightly build.

      Please find the attached images for identifying the difference.
      Please find the attached PopupMenuDemo application for reproducing the issue.

        Attachments

          Activity

            People

            Assignee:
            peterz Peter Zhelezniakov
            Reporter:
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: