Compiz does not paint background
Bug #1574866 reported by
Alberts Muktupāvels
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Alberts Muktupāvels | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
These days nautilus has transparent desktop window.
OpenGL plugin simply checks for desktop window count to decide if it should paint background or not. It works only if desktop window is opaque.
1) Simplest fix would be to remove this check and paint background always.
2) Not so simple would be to change how desktop windows are counted:
- count only opaque windows, ignore if window has alpha and/or 32 depth. This could introduce regressions?
- add extra variable to keep count with opaque windows.
Other ideas?
Related branches
lp://staging/~muktupavels/compiz/lp1574866
- Andrea Azzarone: Approve
-
Diff: 192 lines (+60/-11)7 files modifiedinclude/core/screen.h (+3/-0)
plugins/opengl/src/paint.cpp (+1/-1)
src/event.cpp (+10/-2)
src/privatescreen.h (+5/-1)
src/privatescreen/tests/test-privatescreen.cpp (+3/-0)
src/screen.cpp (+24/-5)
src/window.cpp (+14/-2)
lp://staging/~unity-team/compiz/x-sru1
- Andrea Azzarone: Approve
-
Diff: 582 lines (+213/-37)14 files modifieddebian/changelog (+27/-0)
include/core/screen.h (+3/-0)
plugins/expo/expo.xml.in (+6/-0)
plugins/expo/src/expo.cpp (+3/-1)
plugins/opengl/src/paint.cpp (+1/-1)
plugins/scale/include/scale/scale.h (+1/-1)
plugins/scale/scale.xml.in (+7/-1)
plugins/scale/src/privates.h (+2/-2)
plugins/scale/src/scale.cpp (+83/-18)
src/event.cpp (+29/-3)
src/privatescreen.h (+7/-1)
src/privatescreen/tests/test-privatescreen.cpp (+3/-0)
src/screen.cpp (+26/-6)
src/window.cpp (+15/-3)
Changed in compiz: | |
status: | New → In Progress |
Changed in compiz: | |
importance: | Undecided → Medium |
assignee: | nobody → Alberts Muktupāvels (albertsmuktupavels) |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz (Ubuntu): | |
status: | New → In Progress |
status: | In Progress → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Alberts, or anyone else affected,
Accepted compiz into xenial-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ compiz/ 1:0.9.12. 2+16.04. 20160526- 0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!