Good to know someone is working on this issue for 24.04. Is there a
schedule when a fix will be 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/2085634

Title:
  Middle mouse click paste is broken  across different applications in
  Ubuntu 24.04

Status in Mutter:
  Fix Released
Status in mutter package in Ubuntu:
  Fix Released
Status in mutter source package in Noble:
  In Progress
Status in mutter source package in Oracular:
  Fix Released
Status in mutter source package in Plucky:
  Fix Released

Bug description:
  [ Impact ]

  In a GNOME Wayland session, middle mouse click sometimes fails to
  paste the selected text from one application to another.

  This seems to affect GTK3 applications in particular, while GTK4
  applications behave correctly. Nonetheless, the bug originates in
  mutter, the Wayland compositor library.

  Here is the upstream bug report:
  https://gitlab.gnome.org/GNOME/mutter/-/issues/3498

  [ Test Plan ]

  1.  Open a URL (e.g., www.ubuntu.com) in Firefox
  2.  Open Terminal
  3.  Select any text in Firefox
  4.  Without unselecting the text, use Alt+Tab to switch focus to Terminal
  5.  Click middle mouse button to paste in Terminal
  6.  Verify that the text you had just selected was inserted
  7.  Select other text in Firefox
  8.  Without unselecting the text, use Alt+Tab to switch focus to Terminal
  9.  Click middle mouse button to paste in Terminal
  10. Verify that the new text was inserted, and not the previous one.

  [ Where problems could occur ]

  mutter is the component of GNOME driving the screen and inputs, and
  thus is a critical component of Ubuntu Desktop.

  Problems could manifest with the selection-paste action not working
  anymore, or at worst the user may be suddenly logged-out in case GNOME
  Shell crashes because of a bug introduced by this patch.

  The patch also applies the same fix to the clipboard selection (the
  data explicitly copied with Ctrl+C), so regressions may also manifest
  in the clipboard copy/paste actions. This is more a theoretical fix,
  as I wasn't able to reproduce the issue with the clipboard selection,
  similarly to how GTK4 applications do not seem to be affected by the
  same problem with selection-paste

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to