Repainting issue on Linux

XMLWordPrintable

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

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

    • b130
    • 9
    • linux

      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.

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

              Created:
              Updated:
              Resolved: