RFR: JDK-6690019: JOptionPane obscured behind an always on top JFrame hangs UI [v3]

Phil Race prr at openjdk.org
Wed Oct 18 20:53:50 UTC 2023


On Tue, 10 Oct 2023 03:50:11 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> A JOptionPane message dialog owned by a JFrame which is not always on top can be obscured behind an `"always on top" JFrame`. Since the option pane is modal, one can't move the "always on top frame" to reveal it, so the application effectively hangs as we cannot dismiss the option pane dialog
>> Fix is to make sure the option pane dialog is always on top....
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add test

I think its more likely to cause bugs than fix them. As I said there are special cases and the Print Dialog is one of them because the app can't easily get a handle to it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16060#issuecomment-1769300673


More information about the client-libs-dev mailing list