This bug was fixed in the package mutter - 42.1-0ubuntu1
---------------
mutter (42.1-0ubuntu1) jammy; urgency=medium
[ Jeremy Bicha ]
* New upstream release
(LP: #1972726, #1948410, #1967219, #1971693)
* Refresh triple buffering patch with latest version
* Drop patches applied in new release
* debian/libmutter-10-0.symbols: Add new symbol
* Add Breaks against old gtk3 & gtk4 versions.
See Ubuntu bug 1972721
[ Marco Trevisan (TreviƱo) ]
* debian/patches: Adapt expected log messages to new domains
-- Jeremy Bicha <[email protected]> Fri, 13 May 2022 12:10:07 -0400
** Changed in: mutter (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1971693
Title:
Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session
Status in mutter package in Ubuntu:
Fix Released
Status in mutter source package in Jammy:
Fix Released
Bug description:
Impact
------
When switching to a Java UI application using Alt+Tab, very often
application's window is raised, but it doesn't get keyboard focus - it stays in
the previous application, and that application continues to process keyboard
events. When the problem occurs, hovering mouse over Java app's window gets the
focus transferred to it.
This problem only happens in Wayland session, not in X.Org session. It can be
reproduced in Ubuntu 22.04, but not in 20.04.4 version.
The problem seems to affect all Java versions - reproduced for
different OpenJDK builds (8, 11, 17, 18). It can also be observed for
Java version provided by Ubuntu's 'default-jre' package
(11.0.15+10-Ubuntu-0ubuntu0.22.04.1).
Test Case
---------
1. sudo apt install default-jre
2. Download the minimal test case app from comment #1
3. From a terminal run the app
java Downloads/JTextFieldTest.java
4. Click on the terminal window (instead of the Java app)
5. Press Alt-Tab to switch focus back to the Java app
6. Type a few characters.
The characters should show in the Java app's text field instead of in
the terminal window.
What Could Go Wrong
-------------------
See the master bug for this update at LP: #1972726
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp