[Webkit-unassigned] [Bug 52954] New: [Qt] resizing NPAPI plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 22 03:33:10 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52954

           Summary: [Qt] resizing NPAPI plugins
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Qt, QtTriaged
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robert at webkit.org
                CC: vestbo at webkit.org, kenneth at webkit.org,
                    kling at webkit.org


PluginViewQt never changes the values of m_npWindow.width and m_npWindow.height after the first call to NP_SetWindow because repeated calls to NP_SetWindow with new height/width values tend to crash flash (Flash 9.1) or disappear the plugin altogether (Flash 10.1).

The result is that NPAPI plugins don't resize in QtWebKit.

Playing with it I've found that Flash will resize properly if PluginViewQt rations calls to NP_SetWindow when both width/height or both clipRect.width/height co-ordinates change. This won't work well in practice because it depends on receiving an even number of resize events or both for co-ordinates to change in the same resize event.

The only hack I can think of for getting it to work is to queue resize events until they've all arrived and send them at once. That's very messy though. Should we just leave it until flash fixes itself?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list