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

Regression: Blocked Frame appears on top of modal dialog when Frame's security warning icon clicked

XMLWordPrintable

    • b26
    • b31
    • x86
    • windows_xp

      This is reproducible with 6u10 b29 pit build. Reproducible on Windows XP Professional.

      A blocked Frame comes on top of a blocking Dialog when the Frame's security warning icon is clicked. This is a regression after the new security warning implementation.

      To reproduce, run the below test as 'java -Djava.security.manager ModalityBug' and click on Frame's security warning icon.

      import java.awt.*;

      public class ModalityBug {
          
          public static void main(String[] args) {
              Frame f = new Frame("Test frame");
              f.setSize(200, 200);
              f.setLocation(100, 100);
              
              Dialog d = new Dialog(new Frame(), "Modal dialog");
              d.setSize(200, 200);
              d.setLocation(140, 140);
              d.setModal(true);
              
              f.setVisible(true);
              d.setVisible(true);
          }
      }

            anthony Anthony Petrov (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: