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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: solaris_9, 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic, sparc
    • OS:
      solaris_8

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: