| Summary: | Bookmark toolbar submenus unexpectedly close during drag-and-drop in Firefox | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Vlad Zahorodnii <vlad.zahorodnii> |
| Component: | Wayland drag-and-drop | Assignee: | Vlad Zahorodnii <vlad.zahorodnii> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lilydjwg, nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/28fe2a786a18a5aad587d5d6ca93b466be4c0be9 | Version Fixed/Implemented In: | 6.5.0 |
| Sentry Crash Report: | |||
|
Description
Vlad Zahorodnii
2025-08-26 18:42:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8064 Git commit 28fe2a786a18a5aad587d5d6ca93b466be4c0be9 by Vlad Zahorodnii. Committed on 02/09/2025 at 16:13. Pushed by vladz into branch 'master'. Fix dnd in Firefox bookmarks toolbar popups When the pointer crosses between popups, kwin will send a motion event for the old popup whose coordinates lie outside the corresponding surface followed by a leave and an enter event for another popup. That motion event confuses Firefox, it thinks that the pointer has left the popup so it should be closed. This change re-arranges the order of motion and enter/leave events so the latter come first. This is still not a great solution, a motion event will be sent even if an enter event has been sent, but it is good enough for the time being. M +4 -7 src/input.cpp M +2 -2 src/xwayland/databridge.cpp M +1 -2 src/xwayland/databridge.h M +2 -2 src/xwayland/dnd.cpp M +1 -3 src/xwayland/dnd.h M +1 -2 src/xwayland/drag.h M +2 -2 src/xwayland/drag_wl.cpp M +1 -2 src/xwayland/drag_wl.h M +5 -4 src/xwayland/drag_x.cpp M +1 -2 src/xwayland/drag_x.h M +3 -3 src/xwayland/xwayland.cpp M +1 -1 src/xwayland/xwayland.h M +1 -13 src/xwayland/xwayland_interface.h https://invent.kde.org/plasma/kwin/-/commit/28fe2a786a18a5aad587d5d6ca93b466be4c0be9 |