[OpenJDK 2D-Dev] RFR: 8088395: Print dialogs are not blocking/modal w.r.t specified owner windows (original) (raw)
Phil Race philip.race at oracle.com
Fri Mar 10 22:26:57 UTC 2017
- Previous message: [OpenJDK 2D-Dev] [9] Review Request: 8152683 Deadlock when resuming from sleep with different monitor setup
- Next message: [OpenJDK 2D-Dev] RFR: 8088395: Print dialogs are not blocking/modal w.r.t specified owner windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This has an FX bug + webrev : https://bugs.openjdk.java.net/browse/JDK-8088395 http://cr.openjdk.java.net/~prr/8088395/index.html <http://cr.openjdk.java.net/%7Eprr/8088395/index.html>
and also a JDK-side fix and webrev :- https://bugs.openjdk.java.net/browse/JDK-8176530 http://cr.openjdk.java.net/~prr/8176350/
The problem is FX modal dialogs are ignoring the Window parameter. We can fix the problem with disabling the modal parent on the FX side and that is why most files in FX are updated.
But it does not fix the "on top" issue which requires the JDK fixes and to pass in the DialogOnTop private attribute. The JDK code is there solely for FX and won't have any visibility unless FX passes in the private attribute.
On Linux it uses the standard AWT "always on top" modality On windows it uses the HWND for the FX window and windows native modality On Mac you won't see anything since Mac does this automatically
-phil. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20170310/75de50d5/attachment.html>
- Previous message: [OpenJDK 2D-Dev] [9] Review Request: 8152683 Deadlock when resuming from sleep with different monitor setup
- Next message: [OpenJDK 2D-Dev] RFR: 8088395: Print dialogs are not blocking/modal w.r.t specified owner windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]