Firefox (and likely other gtk apps) starts a drag-and-drop operation when anything is in the clipboard and the application window is activated. (I.e. STEPS TO REPRODUCE 1. Copy some text from a terminal window or any other app than Firefox. 2. Switch to the Firefox window while on a webpage that reacts to drag events, e.g. messenger.com. OBSERVED RESULT The webpage will now appear to have started a drag-and-drop operation and display "drop your files here" or similar. EXPECTED RESULT Activating a window should not cause a drag-and-drop operation. Does not happen when the clipboard is empty. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Fedora 39, Wayland ADDITIONAL INFORMATION According to https://gitlab.gnome.org/GNOME/gtk/-/issues/5519 the issue is caused by: The problem is that plasma(klipper(ksystemclipboard)) is sending "selection" and "primary selection" every time a window is activated, which gtk detects as drag move events.
I haven't seen this issue since I upgraded to F40 (Plasma 6) a few days ago. Assuming fixed.