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

Repainting issue on Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Environment:

      Ubuntu 16.04 Unity, dual screen (is it important?)

    • Subcomponent:
    • Introduced In Build:
      b130
    • Introduced In Version:
      9
    • OS:
      linux

      Description

      Running jdk9 b132, I'm observing the following issue in javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java test. The test basically paints an JInternalFrame twice for Metal and Nimbus LaFs, 4 times in total.
      Now, on a dual screen machines -- and I have two, with different graphics cards, both booted into Ubuntu 16.04 -- all rounds but the first one give us an empty frame.
      There's setLookAndFeel() but no recommended SwingUtilities.updateComponentTreeUI(frame) nor pack() -- but on yet another system with a single monitor and Xfce4, all is painted properly.
      I don't know where there's an issue. Is the dual screen setup important? Or any 16.04 Unity behave like this?

      RULE "javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java" Exception java.lang.RuntimeException: Error Log: [javax.swing.plaf.metal.MetalLookAndFeel] : ERROR: icon and imageIcon not same.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ssadetsky Semyon Sadetsky (Inactive)
              Reporter:
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: