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

Awt Choice component XmComboBox from Motif 2.1 isn't displaying JA text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • solaris_9, 1.4.0
    • client-libs
    • beta2
    • generic, sparc
    • solaris_8

      If an AWT Choice selection contains Japanese text it is not displayed properly.
      Font2DTest happens to use the AWT "Choice" component to display the menu
      of fonts. Some fonts happen to have non-latin names, in particular some that
      can be seen when running on JA Solaris.
      These display properly in the "menu" of font names, but when such a font is
      selected and promoted to the selected item in the inactive choice menu's
      "normal" state it is no longer displayed as JA text.
      This bug was seen on Solaris 8 SPARC in the JA locale.

      This was broken in the merlin b63a build and is still broken in build 70.

      Looking at the put backs for build 63a the significant change is the fix
      to 4288285:
      "New Choice native part is implemented using XmComboBox from Motif 2.1"

      Its possible this is a Motif bug but the test system has the 108940-23
      libXm patch installed.

      To reproduce,
      - logon to Solaris 8 in the JA locale.
      - run Font2DTest
      - in the "Font" choice list select a font from the list that has Japanese
        characters in the name
      - observe that when dismissed the new font names is not properly displayed.

            mbronsonsunw Mike Bronson (Inactive)
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: