WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300685
[GTK] Create the platform cursor when set on the web view
https://bugs.webkit.org/show_bug.cgi?id=300685
Summary
[GTK] Create the platform cursor when set on the web view
Carlos Garcia Campos
Reported
2025-10-14 02:13:49 PDT
Similar to what WPE does. This way we don't need to handle platform cursor in WebCore::Cursor
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2025-10-14 02:16:57 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52287
EWS
Comment 2
2025-10-14 04:17:45 PDT
Committed
301467@main
(86a8ee99fda7): <
https://commits.webkit.org/301467@main
> Reviewed commits have been landed. Closing PR #52287 and removing active labels.
Diego Pino
Comment 3
2025-10-15 04:56:23 PDT
This patch broke the GTK3 build:
https://build.webkit.org/#/builders/1519/builds/7786
``` /home/buildbot-worker/GTK-Linux-64-bit-Release-GTK3-Build/build/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp: In function ‘void webkitWebViewBaseSetCursor(WebKitWebViewBase*, const WebCore::Cursor&)’: /home/buildbot-worker/GTK-Linux-64-bit-Release-GTK3-Build/build/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:3684:47: error: ‘gdk_cursor_get_name’ was not declared in this scope; did you mean ‘gdk_cursor_get_type’? 3684 | if (currentCursor && !g_strcmp0(name, gdk_cursor_get_name(currentCursor))) | ^~~~~~~~~~~~~~~~~~~ | gdk_cursor_get_type /home/buildbot-worker/GTK-Linux-64-bit-Release-GTK3-Build/build/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:3719:19: error: ‘skiaImageToGdkTexture’ was not declared in this scope 3719 | auto pixbuf = skiaImageToGdkTexture(*platformImage.get()); | ^~~~~~~~~~~~~~~~~~~~~ ```
Diego Pino
Comment 4
2025-10-15 04:56:56 PDT
Re-opening for pull request
https://github.com/WebKit/WebKit/pull/52378
EWS
Comment 5
2025-10-15 06:14:14 PDT
Committed
301550@main
(3f2781927763): <
https://commits.webkit.org/301550@main
> Reviewed commits have been landed. Closing PR #52378 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug