RFR: 8319103: Popups that request focus are not shown on Linux with Wayland [v4]
    Alexander Zvegintsev 
    azvegint at openjdk.org
       
    Wed Nov 15 22:12:08 UTC 2023
    
    
  
> This is the fix for the regression introduced in [JDK-8280993](https://bugs.openjdk.org/browse/JDK-8280993).
> 
> That fix was to dismiss a popup if the owner loses the window focus when running in Wayland, and didn't take into account that the popup itself can be focusable.
> 
> This fix closes the popup only if the focus moves away from the calling window and the popup itself.
> 
> There is no jtreg test provided because it requires transferring the window focus to a non-X11 window, and our current robot implementation [does not allow this](https://bugs.openjdk.org/browse/JDK-8280983).
Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
  instructions update
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/16636/files
  - new: https://git.openjdk.org/jdk/pull/16636/files/6590a995..c50fb179
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16636&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16636&range=02-03
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16636.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16636/head:pull/16636
PR: https://git.openjdk.org/jdk/pull/16636
    
    
More information about the client-libs-dev
mailing list