-
Bug
-
Resolution: Fixed
-
P2
-
6u10
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);
}
}
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);
}
}