Bug 181154 - [macOS] On Retina displays, icon used as drag image for large image is scaled down
Summary: [macOS] On Retina displays, icon used as drag image for large image is scaled...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-12-25 13:10 PST by mitz
Modified: 2018-01-02 13:17 PST (History)
5 users (show)

See Also:


Attachments
Adjust the icon size for the display scale factor (1.59 KB, patch)
2017-12-25 14:06 PST, mitz
wenson_hsieh: review+
ews-watchlist: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 (2.60 MB, application/zip)
2017-12-25 15:14 PST, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2017-12-25 13:10:56 PST
To reproduce this bug, navigate to <https://apod.nasa.gov/apod/image/1712/ArcticGeminid_Sutie_3500.jpg> and drag the image out. The drag image is a JPEG file icon, but its size is 32 by 32 pixels regardless of display resolution. It should be 32 points so that on Retina displays it’s 64 by 64 pixels.

I believe this is a regression, but not a recent one.
Comment 1 mitz 2017-12-25 14:06:27 PST
Created attachment 330186 [details]
Adjust the icon size for the display scale factor
Comment 2 EWS Watchlist 2017-12-25 15:14:41 PST
Comment on attachment 330186 [details]
Adjust the icon size for the display scale factor

Attachment 330186 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/5829181

New failing tests:
imported/w3c/web-platform-tests/service-workers/service-worker/ServiceWorkerGlobalScope/update.https.html
Comment 3 EWS Watchlist 2017-12-25 15:14:42 PST
Created attachment 330187 [details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 4 mitz 2017-12-25 15:36:18 PST
Thanks, Wenson!

Fixed in <https://trac.webkit.org/r226292>.
Comment 5 Radar WebKit Bug Importer 2018-01-02 13:17:21 PST
<rdar://problem/36261330>