You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This event type MUST be dispatched after the event type click if a click and double click occur simultaneously, and after the event type mouseup otherwise.
The first naive approach was just to modify void WebContentView::mouseDoubleClickEvent(QMouseEvent* event) in Ladybird Qt Chrome. I did that, but after that I released that as this is a web spec, and it should be uniform across platforms, a check should be somewhere in multiplatform code. The question is - where?
Any suggestions or fixes are appreciated
Operating system
macOS
Steps to reproduce
Open Ladybird
Open linked WPT or any page that depends on double click
Observe
Expected behavior
dblclick is dispatched only after a click event or an mouseup event
Summary
As per spec:
Related WPT: https://wpt.fyi/results/uievents/click/dblclick_event_mouse.html
The first naive approach was just to modify
void WebContentView::mouseDoubleClickEvent(QMouseEvent* event)
in Ladybird Qt Chrome. I did that, but after that I released that as this is a web spec, and it should be uniform across platforms, a check should be somewhere in multiplatform code. The question is - where?Any suggestions or fixes are appreciated
Operating system
macOS
Steps to reproduce
Expected behavior
dblclick is dispatched only after a click event or an mouseup event
Actual behavior
dblclick is dispatched immediately
URL for a reduced test case
https://wpt.fyi/results/uievents/click/dblclick_event_mouse.html
HTML/SVG/etc. source for a reduced test case
Log output and (if possible) backtrace
Screenshots or screen recordings
No response
Build flags or config settings
No response
Contribute a patch?
The text was updated successfully, but these errors were encountered: