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

REGRESSION: JWindow stays on top of all other windows

XMLWordPrintable

    • b03
    • x86
    • linux

      Name: gm110360 Date: 06/30/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b56)
      Java HotSpot(TM) Client VM (build 1.5.0-beta3-b56, mixed mode, sharing)


      ADDITIONAL OS VERSION INFORMATION :
      Linux linux 2.4.19-4GB #1 Fri Apr 2 19:59:17 UTC 2004 i686 unknown


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using Java Desktop Release 2

      A DESCRIPTION OF THE PROBLEM :
      JWindow stays up on top of all other windows hiding other windows behind it. Run the example below and try to move other frames or dialogs on top of the JWindow.

      You can not change it even if you set setAlwaysOnTop to false. This breaks backwards compatibility. This issue only happens on the linux version. Windows version is fine.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Please see below

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      JWindow should have proper z ordering just like before unless you setAlwaysOnTop to True
      ACTUAL -
      Stays on top

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      public class Test {
          public static void main(String[] args) {
              javax.swing.JWindow win = new javax.swing.JWindow();
              win.setBounds(0,0,100,100);
              win.show();
              
              javax.swing.JDialog dialog = new
                 javax.swing.JDialog((java.awt.Frame)null, true);
              dialog.setBounds(0,0,50,50);
              dialog.show();
          }
      }
      ---------- END SOURCE ----------

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 280555)
      ======================================================================

            yan Yuri Nesterenko
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: