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

Text and some GUI elements are not rendered on secondary independent X screens

XMLWordPrintable

    • 2d
    • b04
    • 8
    • x86_64
    • linux, solaris

      FULL PRODUCT VERSION :
      JDK 10, JDK 9, JDK 8, JDK 8u141 b15 x64

      ADDITIONAL OS VERSION INFORMATION :
      - 64-bit Oracle Solaris 11.3 x86 OS (Original bug filer's environment)
      - Linux Ubuntu 16.04.2 x86_64 OS with Xfce 4.12 desktop environment (Alternative test environment set up to prove that the bug also affects JDK for Linux OS)

      A DESCRIPTION OF THE PROBLEM :
      Rendering of text and some other GUI elements in Swing/AWT components does not propagate to secondary independent X screens on Oracle Solaris OS or Linux OS with multi-monitor configuration, where XINERAMA X Server extension is disabled and where each monitor corresponds to an independent X screen. The issue cannot be reproduced with JDK 7, JDK 6 in the same environment.

      Screenshots:
      1) "Bug-OnSolaris11.3WithJDK8u152b16.png" - The issue reproduced using the attached test case "TextIsNotRenderedOnSecondDisplay.java" on 64-bit Oracle Solaris 11.3 x86 OS with JDK 8u152 b16. On the screenshot 2 windows with basic Swing and AWT components are displayed and it is visible that the text is not rendered in the frames at all and the components themselves are not rendered fully properly.
      2) "NoBug-CorrectViewOfSwingAWTFrames.png" - The expected correct behaviour. The same frames from the screenshot #1 are demonstrated and the text with all other GUI elements of Swing and AWT components are rendered properly.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Set up a multi-monitor configuration with Oracle Solaris OS or Linux OS, where each monitor is assigned to a separate X screen. In such a configuration it is impossible to move windows of an application from one monitor to another monitor and there is no one big X screen consisting of multiple monitors.
      2) Compile and run the attached test case "TextIsNotRenderedOnSecondDisplay.java" on any of the independent X screens. The bug is reproduced, if the text and GUI elements of Swing/AWT components in two windows with titles starting with "TextIsNotRenderedOnSecondDisplay" text, which are shown on other X screens, are not rendered at all or properly in comparison with the same frames on the X screen, from where the test case was started.

            alitvinov Anton Litvinov (Inactive)
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: