[Swfdec] Mozilla windowless plugin
Karl Tomlinson
karlt+swfdec at karlt.net
Tue Apr 22 15:58:02 PDT 2008
Thanks for the update, Benjamin, and for your comments, Rob (which
may have been rejected by swfdec-owner at lists.freedesktop.org).
Robert O'Callahan writes:
> Any bug report is better than no bug report, so please do file it in
> bugzilla.mozilla.org. But if you can demonstrate the problem in a simple
> testcase, e.g. by modifying one of the test plugins, so much the better.
The simplest test plugin that I'm aware of is a modification of
the DiamondX plugin:
https://bugzilla.mozilla.org/show_bug.cgi?id=386144
> On Wed, Apr 23, 2008 at 10:19 AM, Benjamin Otte <otte at gnome.org> wrote:
>
>> - On redraw events the leftmost column of pixels isn't repainted. This
>> causes weird stripes on some pages, a good example being
>> http://www.youtube.com I think this is Mozilla's fault, but I'm not
>> sure.
I couldn't reproduce this with the modified DiamondX but then it
only draws about one pixel on the left edge so maybe it's just hard to
see the problem.
>
>> - There is no way to set the mouse cursor. Swfdec uses the default
>> mouse cursor all the time for windowless plugins.
>
> Hard to fix right now. But we've got a high-priority plan to
> reduce/eliminate the use of child X windows in the near future. Once that's
> implemented, I think you can use existing API to get the top-level browser
> window and set your cursor on that.
NPNVnetscapeWindow for the top-level window may work some of the
time right now but I haven't tested and I don't know how often a
cursor is defined on the child windows.
http://developer.mozilla.org/en/docs/NPN_GetValue
>> - Swfdec receives only left mouse button clicks. So no chance to stop
>> a playing Flash file anymore or get at its properties.
That's strange.
DiamondX seems to be getting right button clicks.
More information about the Swfdec
mailing list