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

Repainting issue on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • client-libs
    • 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.

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

              Created:
              Updated:
              Resolved: