Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: ef237af08badd2561f8cf7491f0b1f94b38005a5
https://github.com/WebKit/WebKit/commit/ef237af08badd2561f8cf7491f0b1f94b38005a5
Author: tusooa <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp
M Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.h
Log Message:
-----------
Cherry-pick 312021@main (71b64438bcf2).
https://bugs.webkit.org/show_bug.cgi?id=312624
Update state of WPEToplevelQtQuick when window state changes
https://bugs.webkit.org/show_bug.cgi?id=312624
Reviewed by Adrian Perez de Castro.
The focus style is only displayed when the window is active. This
commit updates the WPEToplevelState whenever the relevant states of
the QQuickWindow changes.
Open the qt-wpe-mini-browser and Tab within the page. Check that the
focused item has focus styles.
* Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.cpp:
(WPEQtView::createWebView): Initialize WPEToplevelState and listen to
signals that should make updates to it.
(WPEQtView::updateWpeToplevelState): Convert QQuickWindow's relevant
properties into WPEToplevelState
* Source/WebKit/UIProcess/API/wpe/qt6/WPEQtView.h:
Canonical link: https://commits.webkit.org/312021@main
Canonical link: https://commits.webkit.org/305877.455@webkitglib/2.52
Commit: 96e15052dfc05c51698fb3774a14f48b7325c79f
https://github.com/WebKit/WebKit/commit/96e15052dfc05c51698fb3774a14f48b7325c79f
Author: tusooa <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp
Log Message:
-----------
Cherry-pick 312019@main (a3c1d3be6028).
https://bugs.webkit.org/show_bug.cgi?id=313311
Fix wheel event handling in WPEQtView
https://bugs.webkit.org/show_bug.cgi?id=313311
Reviewed by Adrian Perez de Castro.
On some platforms QWheelEvent will not have pixelDelta. Qt recommends
fallback to angleDelta when it is not available.
See https://doc.qt.io/qt-6/qwheelevent.html#pixelDelta-prop
Also, WPEEvent for scroll expects number of ticks if and only if
has_precise_deltas is false. This means that we should set
has_precise_deltas to true if we have pixelDelta.
Go to
https://developer.mozilla.org/en-US/docs/Web/API/Element/wheel_event
and check the wheel event is working.
* Source/WebKit/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp:
(wpe_view_dispatch_wheel_event): Fix wheel event handling when
pixelDelta is not available.
Canonical link: https://commits.webkit.org/312019@main
Canonical link: https://commits.webkit.org/305877.456@webkitglib/2.52
Commit: 4424f72765dad336f87c57ba96a0fc3d9fb77a07
https://github.com/WebKit/WebKit/commit/4424f72765dad336f87c57ba96a0fc3d9fb77a07
Author: tusooa <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp
Log Message:
-----------
Cherry-pick 312139@main (5a8b1e3dcd90).
https://bugs.webkit.org/show_bug.cgi?id=313305
Add preliminary cursor shape support for WPEQtView
https://bugs.webkit.org/show_bug.cgi?id=313305
Reviewed by Claudio Saavedra.
Add support for the stock pointer shapes that Qt supports.
Go to
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/cursor
and verify you can see various cursor shapes applied.
* Source/WebKit/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp:
(webCursorNameToQCursor): Use a SortedArrayMap to find out the cursor shape.
(wpeViewQtQuickSetCursorFromName): Use QQuickItem::setCursor to set
cursor shape.
(wpe_view_qtquick_class_init): Implement set_cursor_from_name virtual
method.
Canonical link: https://commits.webkit.org/312139@main
Canonical link: https://commits.webkit.org/305877.457@webkitglib/2.52
Compare: https://github.com/WebKit/WebKit/compare/7340c574929f...4424f72765da
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications