[Webkit-unassigned] [Bug 33739] Fullscreen video HUD stays on top when switching to another window (e.g. via Alt-Tab)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 13:44:35 PST 2010


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


Adam Roben (aroben) <aroben at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #50556|review?                     |review+
               Flag|                            |




--- Comment #3 from Adam Roben (aroben) <aroben at apple.com>  2010-03-12 13:44:35 PST ---
(From update of attachment 50556)
>  void FullscreenVideoController::draw()
>  {
> +    HWND foregroundWindow = GetForegroundWindow();
> +    if (foregroundWindow == m_videoWindow)
> +        createHUDWindow();
> +    else if (foregroundWindow != m_hudWindow)
> +        destroyHUDWindow();
> +

After this, I think you should assert that m_hudWindow is non-null. And maybe
you should bail if it is null, in release builds.

r=me

-- 
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