[Webkit-unassigned] [Bug 190101] New: [macOS] Update Pasteboard::read to match NSTextView’s prioritization of native bitmap representations over TIFF
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 28 17:04:39 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=190101
Bug ID: 190101
Summary: [macOS] Update Pasteboard::read to match NSTextView’s
prioritization of native bitmap representations over
TIFF
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: NeedsRadar
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mitz at webkit.org
CC: wenson_hsieh at apple.com
Pasting a pasteboard that contains JPEG data into a web view results in a TIFF representation of the image getting pasted. This is undesirable, but it matches the historic behavior of NSTextView.
As of macOS Mojave, NSTextView checks for NSImage objects on the pasteboard, and given an NSImage, it first tries to get the image data from an existing EPS, PICT, PDF or bitmap representation (of whichever format), before falling back to the TIFF representation.
WebKit should replicate that behavior so that things don’t get unnecessarily transcoded (the JPEG to TIFF example is especially bad!).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180929/a2cfa8fa/attachment.html>
More information about the webkit-unassigned
mailing list