Drag & drop from Firefox into Chrome breaks pasting from Firefox
Affected version
- Fedora 33, 34
- Wayland
- gnome-shell-40.2-1.fc34
- Firefox 89.0
- Chromium 90.0.4430.212 (Developer Build) Fedora Project (64-bit), also Chrome 91.0.4472.101 (Official Build) (64-bit)
Bug summary
Attempting to drag and drop an image from Firefox into Chrome or Chromium fails. Following this, an annoying bug is triggered which breaks pasting any clipboard contents (text, images) from Firefox into other programs. Some ignore the input (Gnome Terminal, gedit), while others hang for seconds or indefinitely (Telegram, Discord, VS Code). Restarting Firefox fixes the problem.
Steps to reproduce
- Open Firefox and Chrome (or Chromium)
- Navigate to https://http.cat/200 in Firefox
- Confirm that copy-pasting the URL into the Chrome navigation bar works
- Attempt to drag the image of the cat onto Chrome
- Confirm whether copy-pasting the URL into Chrome (and other programs) now fails
Relevant logs, screenshots, screencasts etc.
This is possibly the same issue as #1380 (closed), but I was unable to reproduce the repro in #1380 (comment 898580) ("copying an extremely large image in Firefox").
A large number of people reporting similar bugs can be found in threads such as https://ask.fedoraproject.org/t/copy-paste-problem-from-firefox-not-sure-where-the-problem-lies/9348, but identifying the cause has proven difficult. My repro has been successful on at least one other machine.