Window contents blanked or redrawn on focus change [0.9.8 r3110 regression]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
New
|
Undecided
|
Unassigned |
Bug Description
This bug has already been mentioned, but I'd like to make a formal report with a little more information on the symptoms.
Window contents will dissapear when window focus changes with compiz from the bug 862430 fix PPA.
It has been said already that this happens to windows which have lost focus.
This can also happen to windows that gain focus!
The circumstances are somewhat complicated to explain.
It is very easy to reproduce and I doubt I'm the first to notice.
Unfortunately I am not able to present a video recording of my desktop, so a complicated explanation will have to suffice.
With only two windows open on one side of a desktop cube, the unfocused window will always be blank.
With three or more windows on two or more sides of the cube, things become more complicated.
Rotating the cube automatically shifts focus to the highest or most recent window on the present desktop.
If that window had become blank, it will be redrawn correctly.
Some of the windows on other desktops may also be redrawn correctly (best observed with a fully transparent cube).
After another rotation, if a redrawn window now acquires focus, it will be in focus and blanked.
Subsequent changes of focus will blank redrawn windows or redraw blanked windows.
This is 100% reproducible (it's much easier than reading that description).
I have noticed one application which remains unaffected: Totem while playing video.
Totem is using NV17 Texture GPU acceleration to display video on my system and it is unaffected by this bug.
compiz 0.9.7.8-
To make it simple:
Compiz inverts the drawn or blanked state of windows on either focus gain or loss.
By the way, in case you find yourself frustrated with windows that are in focus and totally blank:
Maximizing the window will also toggle it to be redrawn and it will remain drawn until you focus another window, rotate the cube, or minimize the window. Subsequent restores and maximizes will not invert the blanked or drawn status.
Just discovered that minimized windows also come back blank.