[kmail2] [Bug 506314] Dragging an attachment also opens the "Open Attachment" dialogue
Jonathan Marten
bugzilla_noreply at kde.org
Mon Oct 6 15:07:53 BST 2025
https://bugs.kde.org/show_bug.cgi?id=506314
--- Comment #2 from Jonathan Marten <jjm at keelhaul.me.uk> ---
The problem is that MailWebEngineView::forwardMousePressEvent() checks that a
drag could potentially be started, but does not accept the event. So the click
is also seen and the attachment URL opened by
WebEnginePage::acceptNavigationRequest(). The solution may be to accept the
mouse press event, and then if a mouse release event happens without a drag
having been started then and only then action the URL click.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list