Comment 28 for bug 839480

Revision history for this message
Jay Taoko (jaytaoko) wrote : Re: Dash - When the Dash is open and there is a maximised app in the background, the top bar background should not disappear

I don't understand the images radiance_topbar.png and ambiance_topbar.png, because there does not seems to be a maximised window on the desktop. Or are these just mock-ups.

The way we do the rendering of the dash and the panel (Top Bar) is as follows:
 1- Capture the background behind the element (dash or top bar) and blur it.
 2- Blend the blurred background with the desktop background image average color. Lately, we have moved to doing blending operation the way Photoshop blends layer. Both the dash and the top bar use an "overlay" blending mode. The average color is the top layer while the blurred background is the bottom layer.
 3- A shine effect is applied over the elements.

The continuity between the dash and the top bar is ensured by the fact that they uses contiguous elements of the background which are blurred. The shine effect is also continuous between the dash and the top bar.

My understanding is that when a window is maximised on the desktop and the dash is open, the blurred background should no longer be visible on the top bar. We can achieve this in step 2 by choosing a "normal" blending mode between the two layers. This hides the blurred background behind the average color layer. And the shine effect is applied normally in step 3. However we loose the continuity between the top bar and the dash. Only the continuity of the shine effect remains. Se the attached screenshot.

Is this the effect we are looking to achieve?