JDK-8269429 : Linux: Only the last APPLICATION_MODAL window behaves correctly
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: openjfx16
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • Submitted: 2021-06-26
  • Updated: 2022-04-19
  • Resolved: 2021-08-05
Related Reports
Duplicate :  
Relates :  
Description
When there's two of more APPLICATION_MODAL windows, only the last will behave correctly. The others would "loose" the STAY ON TOP behaviour, but not letting other windows to get interaction. This is confusing as the app looks "frozen" to a common user when the APPLICATION_MODAL window stays behind.

Steps to reproduce:
1) Run TestCase.java
2) Click the "Create APPLICATION_MODAL Alerts" button
3) Dismiss the last APPLICATION_MODAL alert (#3)
4) Dismiss the WINDOW_MODAL Alert (#2)

The primary stage will be blocked because there's alert #1 behind it which is APPLICATION_MODAL. If not, click anywhere on the primary stage.
Comments
Reopen to close as duplicate (a resolution of Fixed is only used in connection with a commit).
05-08-2021

Fixed by JDK-8240640
04-08-2021

I can reproduce this with the most recent test program, TestCase.java.
29-06-2021