** Description changed: - OS Name: Ubuntu 24.04.1 LTS - Gnome Version: 46 - Windowing System: Wayland - Kernel version: 6.8.0-47-generic + [ Impact ] - Middle mouse click fails to paste the selected text from one application - to another. + In a GNOME Wayland session, middle mouse click sometimes fails to paste + the selected text from one application to another. - Steps: - 1. Open a URL (e.g., www.ubuntu.com) in Firefox/Chrome - 2. Open Terminal (or gedit) - 3. Select any text in Firefox/Chrome - 4. Click middle mouse button to paste in Terminal/gedit -> text was pasted. - 5. Select other text in Firefox/Chrome - 6. Click middle mouse button to paste in Terminal/gedit -> [FAILED] previous selection was pasted, not the new one + This seems to affect GTK3 applications in particular, while GTK4 + applications behave correctly. Nonetheless, the bug originates in + mutter, the Wayland compositor library. - Additional info: - Is it related to https://gitlab.gnome.org/GNOME/mutter/-/issues/3498 ? If so, can this be backported? + 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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2085634 Title: Middle mouse click paste is broken across different applications in Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/2085634/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs