On Dec 28, 2006, at 2:38 AM, Gurmit Teotia wrote:

Hi,
We've developed an application using WebKit and Flash. As soon as
we're minimizing the main window, flash application was stopping the
execution. It was obvious as WebKit was stopping update events upon
minimization.

WebDashboardBehaviorAlwaysSendActiveNullEventsToPlugIns is declared
but is not used anywhere, looks redundant code. Later I achieved that
by removing the "WebNetscapePluginEmbeddedView" instance from default
notification center for
notifications-NSWindowDidMiniaturizeNotification and
NSWindowDidResignKeyNotification. To me it does not matter if flash
play at same speed while window does not have focus.

I don't know till when this solution will work so I'd like to suggest
that you must give some option in public API so that WebKit does not
stop update events upon minimization.

I agree; API to control null event throttling behavior is the most ideal and safe solution. Since I don't think we have a bug to represent the task of bringing this control to API, I filed the bug:

Kevin





I don't know if this is the right place to suggest feature request. If
it's not then please suggest me the address.

Thanks,
Gurmit
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to