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

AIX Motif LAF InternalFrame Japanese title is taller than title bar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 8, 11, 14
    • client-libs
    • AIX 7.1 and 7.2

      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.

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

              Created:
              Updated: