[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-30 Thread Launchpad Bug Tracker
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   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 Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-27 Thread Jeremy Bicha
I installed libmutter-10-0 42.1-0ubuntu1 and verified that the Test Case
works successfully now.

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-23 Thread trespasserw
Thanks, upgrading `libmutter-10-0` along with a couple of dependencies
did help.

There is weird caret blinking on switching from Terminal to IDEA (as if
the former briefly regains the focus between ultimately relinquish it),
but I can live with it.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-23 Thread Dmitry Batrak
I believe, libmutter package (libmutter-10-0 to be exact) should be
upgraded to fix the problem, as mutter binary by itself isn't used by
gnome-shell.

I couldn't upgrade libmutter-10-0 selectively as per
https://wiki.ubuntu.com/Testing/EnableProposed due to some errors. I'm
not experienced enough in Ubuntu package management system to resolve
them.

I can confirm though, that a 'full' upgrade from -proposed does fix the
issue for me.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-23 Thread Daniel van Vugt
** This bug is no longer a duplicate of bug 1969574
   [Wayland] Can not select JetBrains IntelliJ IDEA windows (including Android 
Studio) with mouse in workspace

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-21 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 1969574 ***
https://bugs.launchpad.net/bugs/1969574

This bug was fixed in the package mutter - 42.1-1ubuntu1

---
mutter (42.1-1ubuntu1) kinetic; urgency=medium

  [ Jeremy Bicha ]
  * Merge from Debian unstable. Remaining changes:
- Add triple-buffering patch
- Add x11-Add-support-for-fractional-scaling-using-Randr.patch:
  + X11: Add support for fractional scaling using Randr
- Add ubuntu/wayland-data-device-Allow-any-drag-timestamppatch
  + Allow any drag timestamp as drag start serial
- Add backends-native-kms-crtc-Don-t-compare-gamma-values-on-un.patch
  + Avoid memory errors when comparing gamma values
- Add monitor-manager-Ensure-monitors-settings-after-backend-ha.patch
  + Ensure privacy screen settings are applied on startup
- Add patches from GNOME !2364
  + Fix X11 selection related crash when Xwayland died
- debian/libmutter-10-0.symbols: Add symbols for triple buffering patch
  * Refresh triple buffering patch with latest version

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Adapt expected messages to new domains

mutter (42.1-1) unstable; urgency=medium

  * New upstream release
(LP: #1972726, #1967274, #1965557, #1969574, #1948410, #1967219, #1971693)
  * Drop patches applied in new release
  * debian/libmutter-10-0.symbols: Add new symbol
  * debian/libmutter-10-0.symbols: Drop a symbol that was only in experimental
  * Add Breaks against old gtk3 & gtk4 versions.
See Ubuntu bug 1972721
  * Release to unstable

mutter (42.0-5) experimental; urgency=medium

  * Team upload
  * d/patches: Update to upstream commit 42.0-74-g6c8e8fbba
- Bug fixes targeted for 42.1
- d/p/clutter-stage-Repick-when-pointer-actor-goes-unmapped.patch:
  Replace with the version that was applied upstream
- d/p/core-Account-ClutterStage-grabs-on-Wayland-key-focus-sync.patch:
  Mark as applied upstream

mutter (42.0-4) unstable; urgency=medium

  * Team upload
  * d/patches: Update to upstream commit 42.0-55-gbe9deeba0
- Update translations
- Update upstream status of cherry-picked patches
- Add various bug fixes including LP: #1959888, LP: #1964037
  * d/p/core-Account-ClutterStage-grabs-on-Wayland-key-focus-sync.patch:
Add patch proposed upstream to fix grabs vs. system-modal prompts.
This is particularly annoying when using pkexec, or when using gcr as
a passphrase prompt for PGP, ssh and/or sudo.
(Closes: #1008998, LP: #1964442)

 -- Jeremy Bicha   Fri, 13 May 2022 09:14:41 -0400

** Changed in: mutter (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-20 Thread trespasserw
*** This bug is a duplicate of bug 1969574 ***
https://bugs.launchpad.net/bugs/1969574

Hi Timo,

could you please tell which packages should be installed from -proposed?
Upgrading `mutter` and `mutter-common` to 42.1-0ubuntu1 didn't fix the
problem for me :(

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-20 Thread Timo Aaltonen
*** This bug is a duplicate of bug 1969574 ***
https://bugs.launchpad.net/bugs/1969574

Hello Dmitry, or anyone else affected,

Accepted mutter into jammy-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/mutter/42.1-0ubuntu1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: mutter (Ubuntu Jammy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-15 Thread Daniel van Vugt
*** This bug is a duplicate of bug 1969574 ***
https://bugs.launchpad.net/bugs/1969574

We should keep using bug 1969574 since that's what's been reported on
and linked to for the past few weeks.

** This bug has been marked a duplicate of bug 1969574
   [Wayland] Can not select JetBrains IntelliJ IDEA windows (including Android 
Studio) with mouse in workspace

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-13 Thread Jeremy Bicha
** Also affects: mutter (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Changed in: mutter (Ubuntu)
   Importance: Undecided => Low

** Changed in: mutter (Ubuntu Jammy)
   Importance: Undecided => Low

** Changed in: mutter (Ubuntu Jammy)
   Status: New => In Progress

** Description changed:

+ 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.
- ---
- $ lsb_release -rd
- Description:  Ubuntu 22.04 LTS
- Release:  22.04
- ---
- 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).
  
- Source code for a minimal Java application, for which the problem can be 
reproduced, is attached. Download the provided JTextFieldTest.java file, then 
from terminal prompt execute 'java JTextFieldTest.java' (Java 11 or later is 
required, command should be executed from the location of the downloaded file). 
App's window with a text field will be opened. Click with mouse on the terminal 
window, then press Alt+Tab and enter some text.
- Expected result: focus is switched to Java app's window, and text appears in 
its text field.
- Actual result: Java app's window is raised, but focus stays in terminal 
window, and typed text appears there.
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-06 Thread George
~vanvugt Thanks! When should 42.1 come to Ubuntu 22.04?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-05 Thread Daniel van Vugt
I don't have any ETAs. Packaging, updating the many patches we carry,
and testing, all take time.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-05 Thread Daniel van Vugt
Hopefully this is fixed by
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2402 which has
gone into the mutter 42.1 release. See also bug 1969574.

** Changed in: mutter (Ubuntu)
   Status: Confirmed => Fix Committed

** Tags added: fixed-in-42.1 fixed-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1971693] Re: Alt+Tab is broken for Java (AWT/Swing) apps in Wayland session

2022-05-05 Thread Dmitry Batrak
The bot strongly recommends to set package for the bug, but I have no idea at 
the moment where the problem is exactly. This is definitely not a Java bug, my 
best guess is that it's a recent problem in mutter Wayland compositor, so I'll 
pick that. But this just as well might be e.g. an XWayland issue.
If anyone knows better, please update the package field, or let me know if I 
should update it.

** Package changed: ubuntu => mutter (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1971693/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs