Bug 133004 - Work around Bug in Silverlight Plugin
Summary: Work around Bug in Silverlight Plugin
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-05-16 12:32 PDT by Brent Fulgham
Modified: 2014-05-18 21:02 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.93 KB, patch)
2014-05-16 12:39 PDT, Brent Fulgham
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2014-05-16 12:32:39 PDT
The Silverlight plugin does not honor the HiDPI NPAPI features, such as "contentScalingFactor". If it is run in a plugin that uses HiDPI coordinates, it will get confused and draw offscreen. To work around this, we need to set the low-DPI flag prior to initializing NSApplication so that the proper value gets cached at plugin process startup.
Comment 1 Brent Fulgham 2014-05-16 12:32:56 PDT
<rdar://problem/16862907>
Comment 2 Brent Fulgham 2014-05-16 12:39:53 PDT
Created attachment 231583 [details]
Patch
Comment 3 Brent Fulgham 2014-05-16 13:47:18 PDT
Committed r168976: <http://trac.webkit.org/changeset/168976>