Compiz uses low-resolution, non-power-of-2 icon texture sizes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
MC Return | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1. Texture sizes should *always* be power-of-2, otherwise they will be internally upscaled to the next higher power-of-2 resolution, which means this comes with a loss of quality (with all the known scaling issues).
Non-power-of-2 resolutions should *never* be used for textures.
Example: 96x96 becomes 128x128 internally, so the 96 pixels have to be upscaled to 128, which creates scaling artifacts.
2. 96x96 or even lower sizes are not good sizes for icons, especially if they get upscaled to 50% of the screen width in the
case of "Big" overlay icon modes of our Switchers (Shift, Stack, Ring) - please see bug #1173694 for details on this issue.
[Solution]
We should increase the icon texture sizes to at least 256x256, which is quite the standard in 2013.
We should investigate if we could force Compiz to load the .svg version of the icon, if available, because vectorgraphics could be scaled without any artifacts.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Sam Spilsbury: Approve
- MC Return: Needs Information
-
Diff: 135 lines (+13/-11)9 files modifiedplugins/compiztoolbox/include/compiztoolbox/compiztoolbox.h (+1/-1)
plugins/compiztoolbox/src/compiztoolbox.cpp (+2/-2)
plugins/kdecompat/src/kdecompat.cpp (+1/-1)
plugins/ring/src/ring.cpp (+2/-2)
plugins/scale/src/scale.cpp (+1/-1)
plugins/shift/src/shift.cpp (+1/-1)
plugins/stackswitch/src/stackswitch.cpp (+2/-2)
plugins/staticswitcher/src/staticswitcher.cpp (+2/-0)
plugins/staticswitcher/src/staticswitcher.h (+1/-1)
Changed in compiz: | |
assignee: | nobody → MC Return (mc-return) |
status: | New → In Progress |
Changed in compiz: | |
importance: | Undecided → Medium |
milestone: | none → 0.9.10.0 |
Fix committed into lp:compiz at revision None, scheduled for release in compiz, milestone 0.9.10.0