Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d7d1107bc9b63b1a7aef053d6f900cc81bd28204
https://github.com/WebKit/WebKit/commit/d7d1107bc9b63b1a7aef053d6f900cc81bd28204
Author: Michael Catanzaro <[email protected]>
Date: 2025-10-21 (Tue, 21 Oct 2025)
Changed paths:
M Source/WebCore/platform/Pasteboard.h
M Source/WebCore/platform/glib/PasteboardGLib.cpp
M Source/WebKit/UIProcess/gtk/WebPasteboardProxyGtk.cpp
Log Message:
-----------
[WPE][GTK] Can't paste image data (like image/png) from the clipboard in
WebKit browsers
https://bugs.webkit.org/show_bug.cgi?id=218519
Reviewed by Adrian Perez de Castro.
Change the Pasteboard::read PasteboardFileReader overload to more
closely match the Cocoa implementation. Notably, we now accept more
image types as input rather than supporting only PNG. However, our
implementation is simpler because we only support a single clipboard
item, so the index parameter is ignored.
Also, fix a bug that caused us to bail early if
PasteboardStrategy::readFilePathsFromClipboard does not return any
filenames.
Thanks to Miikka, Sonny Piers, and 荒野無燈 for their help in the bug
report.
Also, I've snuck in a couple extra fixes in other files, to make the
Pasteboard constructor explicit and fix a typo.
Canonical link: https://commits.webkit.org/301877@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes