** Description changed:

  [ 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
+ 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.
+ 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

-- 
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

Reply via email to