[Webkit-unassigned] [Bug 20081] [Qt] Add support for windowless NPAPI plugins
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 30 02:57:27 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=20081
--- Comment #33 from Simon Hausmann <hausmann at webkit.org> 2009-09-30 02:57:27 PDT ---
(In reply to comment #32)
> > With windowed plugins this works because the focus is transferred on X level
> > and QWebView/QWebPage receive a FocusOut event, that will deactivate the
> > focuscontroller. We may have to emulate that behaviour.
> >
> I have tried to do this, but doesn't help. See the initial lines of
> PluginView::handleMouseEvent. Do I need to do anything else?
Ahh, I found the potential solution: Try using
PluginView::focusPluginElement().
> > > 6. Using ARGB visuals crashes
> >
> > Oops, given the popularity of composition managers these days that's a problem.
> >
> > Would a backingstore-less painting help here?
>
> To clarify, the existence of a compmgr does not crash webkit. It crashes only
> when Qt uses ARGB visuals (which I think is not so common) i.e when
> Qt::WA_TranslucentWindow is used.
Hmm, I see... you're right, that makes it slightly less vulnerable. Not a
showstopper then IMHO. But would be great to at least avoid the crash if it's
easy to detect :) (maybe by comparing the default depths of qt and gtk
pixmaps?)
--
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