Comment 40 for bug 687567

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Bug 687567] Re: Global menu causes white "flashes" when scrubbing/moving with mouse fast over menus

On Sun, Jun 12, 2011 at 2:45 PM, Daniel van Vugt <email address hidden> wrote:
> You can see similar "flashes" in some apps if you have a fade-out effect
> set for closing windows. Closing Thunderbird you see the same kind of
> white flash as this bug discusses. Closing Chrome you see the
> client/page area similarly flash to black while the window fades out.
>
> At a guess, it looks like the "flashing" is the result of windows, or
> sub-windows, being explicitly unmapped by the application before they're
> destroyed. So I doubt this is actually a bug in the compiz effects, but
> the apps themselves, including the code that renders indicator menus,
> need to be made to not unmap their windows if they're being destroyed
> anyway. That might stop this problem from occurring. Just a theory.

Compiz uses the last bound pixmap to texture in animations for windows
that have been unmapped or destroyed.

If the application calls XClearArea () before being unmapped then
compiz will use the last bound pixmap, which may be white.

>
> --
> You received this bug notification because you are a member of Unity
> Bugs, which is subscribed to unity in Ubuntu.
> https://bugs.launchpad.net/bugs/687567
>
> Title:
>  Global menu causes white "flashes" when scrubbing/moving with mouse
>  fast over menus
>
> Status in Unity:
>  Confirmed
> Status in “unity” package in Ubuntu:
>  Confirmed
>
> Bug description:
>  When I open menu in some application and then move mouse fast to the
>  left or right so different items are expanded I see ugly white flash
>  before content of the menu is rendered.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity/+bug/687567/+subscriptions
>

--
Sam Spilsbury