Bug 226370 - [WPE] Correctly compute wheel event phase for 2D axis events
Summary: [WPE] Correctly compute wheel event phase for 2D axis events
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-28 03:26 PDT by Zan Dobersek
Modified: 2021-05-28 08:57 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.25 KB, patch)
2021-05-28 03:30 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2021-05-28 03:26:26 PDT
[WPE] Correctly compute wheel event phase for 2D axis events
Comment 1 Zan Dobersek 2021-05-28 03:30:08 PDT
Created attachment 429999 [details]
Patch
Comment 2 Adrian Perez 2021-05-28 04:41:29 PDT
Comment on attachment 429999 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=429999&action=review

> Source/WebKit/UIProcess/API/wpe/WPEView.cpp:177
> +#if WPE_CHECK_VERSION(1, 5, 0)

Would it make sense to remove the check and require libwpe 1.6.0+ unconditionally?
Version 1.6.0 is a bit over a year old, so when WPE WebKit 2.34.0 hits the shelves
by then it would be 1.5 years.

I have no strong preference yet about whether to keep this one check or not, I only
wanted to raise the question :)
Comment 3 Zan Dobersek 2021-05-28 08:10:43 PDT
Comment on attachment 429999 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=429999&action=review

>> Source/WebKit/UIProcess/API/wpe/WPEView.cpp:177
>> +#if WPE_CHECK_VERSION(1, 5, 0)
> 
> Would it make sense to remove the check and require libwpe 1.6.0+ unconditionally?
> Version 1.6.0 is a bit over a year old, so when WPE WebKit 2.34.0 hits the shelves
> by then it would be 1.5 years.
> 
> I have no strong preference yet about whether to keep this one check or not, I only
> wanted to raise the question :)

This patch has to go into the 2.32 branch as-is. Decisions about minimum deps and when to remove these guards can wait for at least three more months.
Comment 4 EWS 2021-05-28 08:11:05 PDT
zan@falconsigh.net does not have committer permissions according to https://raw.githubusercontent.com/WebKit/WebKit/main/Tools/Scripts/webkitpy/common/config/contributors.json.

Rejecting attachment 429999 [details] from commit queue.
Comment 5 EWS 2021-05-28 08:56:25 PDT
Committed r278198 (238241@main): <https://commits.webkit.org/238241@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429999 [details].
Comment 6 Radar WebKit Bug Importer 2021-05-28 08:57:16 PDT
<rdar://problem/78619944>