[webkit-dev] feature request-webkit should send update events on
minimization
Kevin Decker
kdecker at apple.com
Fri Dec 29 15:59:34 PST 2006
On Dec 29, 2006, at 3:47 PM, Kevin Decker wrote:
>
> 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:
>
Doh! Sorry about that. The Apple Radar bug number I filed is 4902997.
Kevin
More information about the webkit-dev
mailing list