Regression / Windows appear white when maximized / menus sometimes appear white (somewhere around rev.3110)

Bug #989730 reported by triplesqaurednine on 2012-04-27
This bug report is a duplicate of:  Bug #729979: [nvidia] Windows appear blank white. Edit Remove
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Sam Spilsbury
Compiz Core
Sam Spilsbury

Bug Description

As the title explains, when i am maximizing windows, sometimes the windows contents appear white. Menus sometimes appear white, as well.

This regression appeared in rev 3114 or maybe a revision before (i'm not toally positive). With maximizied windows it is an annoyancw, i have to unmaximize / re-maximize the window to get it's contents back. with normal windows, i must resize them. Menus just need to be re-opened to get rid of the white (although sometimes it takes once or twice).

here is a screenshot;


Daniel van Vugt (vanvugt) wrote :

triplesqaurednine, could you please test these particular revisions of lp:compiz-core to help us find the cause?
3098, 3109, 3110

Changed in compiz-core:
importance: Undecided → High
status: New → Incomplete

Yes, I can daniel - but i'm not at home, right now.

I'll have to get back to it, later tonight.


Got it.

This bug is NOT present in r3109.

So it would appear that r3110 introduced it.

for now, i'll stick with 3109.

hope that helps, Daniel.


ouch 3109 is before the expo fix, nevermind. i'd rather deal with the odd white window.

as a side note, it would appear that when i set;

!(state=maxvert & state=maxhorz)

in CCSM - under Window Decoration (decorated windows)

maximizing a window doesn't draw it white, but but actually draws it correctly... instead only on unmaximizing it (it will draw the window contents white). - that behavior is different, pertaining to this bug. I don't know if that is useful or not.

Daniel van Vugt (vanvugt) wrote :

smspillaz - Please review. It appears this bug was introduced in r3110 (the "work" branch).

summary: - Regression / Windows appear white when maximized / menus sometimes apear
- white (somewhere around rev.3114 or just before)
+ Regression / Windows appear white when maximized / menus sometimes
+ appear white (somewhere around rev.3110)

To add to this, now that i have been interacting with this bug in compiz for a couple of days;

It would seem that i don't see this bad behaviour with gtk3 apps.

I notice it quite a lot with Gimp and most gtk2 apps - also it happens very consistently, if using a menu in your window decoration's titlebar (as my screenshot shows). <- which i believe is actually tied into gtk2, not gtk3 ~ although i am not positive.

apps like nautilus, gedit, gnome-terminal do not exhibit this bug. (other than their dropdown menu in window decoration). But the other dropdown-menus, popup-menus do NOT have this issue. - at least no menus turning white. They do however, sometimes turn white when they are maximized/unmaximized.

so to summarize;

1. gtk2 menus randomly are white.
2. Gtk3 menus draw correctly 100% of the time.
3. All applications (regardless of toolkit/version) may draw window contents white when maximized/unmaximized.

although, as stated previously, by not decorating maximized windows (specificied in CCSM), it would seem that windows now mostly paint properly on maximize ~ but are still randomly are painted white when unmaximized.

One more detail.

If i am gaussian blur for both dropdown/popup menus, i see no white at all. In situations where the white would normally appear - instead the menu quickly flickers (ie: i can visibly see the menu for a split second) then it disappears.

The rest of the time it works, as usual.

using blur is actually handy, because at least i am not getting white flashes on the screen.

Changed in compiz-core:
milestone: none →
status: Incomplete → New
assignee: nobody → Sam Spilsbury (smspillaz)

This bug also affects the menus in AWN - sometimes they flash white and usually after right-clicking on icons, a few time (to repeatedly bring up the menu) the menu will not only flash white, but it wont draw the menu properly and exhibits the same drawing issues as the AWN / shadow bug, here;

here is also a screenshot;

Also, in my post above i said the menus disappear - by disappear i only mean visibly. ie: you can still click on menu entries.

I think this bug, at least the disappearing menus issue, is similar or even the same as this bug;

it says a fix has been commited for ubuntu, but is makred incomplete for compiz-core...

this bug is starting to be annoying. hopefully it can be addressed soonish. I do work around it the best i can, but obviously sometimes it gets in the way - having to right-click and right-click again and again to have menus apeear, or having to do similar with menus in applications.

Changed in compiz:
assignee: nobody → Sam Spilsbury (smspillaz)
importance: Undecided → High

Just to let you guys know;

Since upgrading to the new (unified) branch lp:compiz/0.9.8, i am no longer affected by this bug :)

menus always appear as they should and even apps like firefox which would show some white on (menu) animation-close, do not do that anymore.

Aisde from the obvious difference of using the new branch, the only other difference that i can note, is that i do NOT have animation-addons installed. Other than that, all of my settings are exactly the same.


Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 976189, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers