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

AIX Motif LAF InternalFrame Japanese title is taller than title bar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 8, 11, 14
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None
    • Environment:

      AIX 7.1 and 7.2

      Description

      FULL PRODUCT VERSION :
      openjdk version "11.0.4" 2019-07-16
      OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
      Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.15.1, JRE 11 AIX ppc64-64-Bit Compressed References 20190717_292 (JIT enabled, AOT enabled)
      OpenJ9 - 0f66c64
      OMR - ec782f2
      JCL - fa49279 based on jdk-11.0.4+11)

      ADDITIONAL OS VERSION INFORMATION :
      AIX 7.1 and 7.2

      A DESCRIPTION OF THE PROBLEM :
      With AIX and Motif Look and Feel, InternalFrame Title bar doesn't fit Japanese/Korean characters.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Launch SwingSet2 demo on AIX
      2. Open Internal Frame demo
      3. Switch Motif Look and Feel

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expected:
      Japanese/Korean title is in title bar.
      Actual:
      Japanese/Korean title is too high than title bar.
      It overflowed the title area.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ADDITIONAL INFORMATION:
      Motif L&F Internal Frame Title bar (MotifInternalFrameTitlePane) seems to use a constant value for height. It's 19 dot (BUTTON_SIZE).
      However, the fonts in Japanese or Korean are 24 dot height.

        Attachments

          Activity

            People

            Assignee:
            tnakamura Toshio Nakamura
            Reporter:
            tnakamura Toshio Nakamura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: