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

ColorChooser demo - two elemets have same mnemonic in it locale, GTK L&F

    Details

    • Subcomponent:
    • Resolved In Build:
      b141
    • CPU:
      x86
    • OS:
      solaris_10
    • Verification:
      Verified

      Description

      release: Java SE 6 RC
      locale: it UTF8
      platform: Solaris 10, amd64

      In SwingSet2 demo, ColorChooser tab, select Gradient1 or Gradient2. Mnemonic for Red (Rosso) Alt+R doesn't work, because the same mnemonic is used for the reset button (Ripristina). When pressing Alt+R, focus is set on the reset button.
      Screenshot is attached.

        Issue Links

          Activity

          Hide
          yhuang Yong Huang added a comment -
          BT2:EVALUATION

          Searching From ULA,the color mnemonic values in euro in
           j2se/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties

          for example, ColorChooser.rgbRedMnemonic, are not the same as English one. The ccjk values are same as what in English value. I am not sure if it's supposed to do so. Jiri should know it.
          Show
          yhuang Yong Huang added a comment - BT2:EVALUATION Searching From ULA,the color mnemonic values in euro in  j2se/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties for example, ColorChooser.rgbRedMnemonic, are not the same as English one. The ccjk values are same as what in English value. I am not sure if it's supposed to do so. Jiri should know it.
          Hide
          mfang Michael Fang (Inactive) added a comment -
          BT2:EVALUATION

          This is in reply to the previous evaluation. For Asian locales, we use the same mnemonic as English and add the mnemonic letter in parenthesis after the localized text. For European locales, we need to choose a mnemonic letter from the localized text label. Therefore, each European locales may have a different mnemonic.
          Show
          mfang Michael Fang (Inactive) added a comment - BT2:EVALUATION This is in reply to the previous evaluation. For Asian locales, we use the same mnemonic as English and add the mnemonic letter in parenthesis after the localized text. For European locales, we need to choose a mnemonic letter from the localized text label. Therefore, each European locales may have a different mnemonic.
          Hide
          jtusla Jiri Tusla (Inactive) added a comment -
          BT2:EVALUATION

          The propper file for fixing is:
          j2se/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_it.properties
          because the problem is reported for the GTK LAF.
          Change the property
          GTKColorChooserPanel.redMnemonic=82 to have a value 79 to be consistent with other LAFs and not conflicting.
          Show
          jtusla Jiri Tusla (Inactive) added a comment - BT2:EVALUATION The propper file for fixing is: j2se/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_it.properties because the problem is reported for the GTK LAF. Change the property GTKColorChooserPanel.redMnemonic=82 to have a value 79 to be consistent with other LAFs and not conflicting.
          Hide
          jtusla Jiri Tusla (Inactive) added a comment -
          BT2:EVALUATION

          For french use the value of 71 (G).
          Show
          jtusla Jiri Tusla (Inactive) added a comment - BT2:EVALUATION For french use the value of 71 (G).
          Hide
          peytoia Yuka Kamiya (Inactive) added a comment -
          BT2:EVALUATION

          The same problem in es locale.
          Show
          peytoia Yuka Kamiya (Inactive) added a comment - BT2:EVALUATION The same problem in es locale.
          Hide
          yhuang Yong Huang added a comment -
          BT2:EVALUATION

          It's common translation CR. Reassign it to Michael.
          Show
          yhuang Yong Huang added a comment - BT2:EVALUATION It's common translation CR. Reassign it to Michael.
          Hide
          mfang Michael Fang (Inactive) added a comment -
          BT2:EVALUATION

          The issue reported has been fixed in b138.
          Show
          mfang Michael Fang (Inactive) added a comment - BT2:EVALUATION The issue reported has been fixed in b138.

            People

            • Assignee:
              mfang Michael Fang (Inactive)
              Reporter:
              faryad Jakub Faryad (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: