https://bugs.kde.org/show_bug.cgi?id=485685
Bug ID: 485685 Summary: Firefox starts a drag-and-drop operation when anything is in the clipboard and the application window is activated Classification: Plasma Product: plasmashell Version: 5.27.11 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Clipboard Assignee: plasma-b...@kde.org Reporter: r...@runesverden.dk Target Milestone: 1.0 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. -- You are receiving this mail because: You are watching all bug changes.