[GLES] Regression: Text background rendering broken - black rectangle instead of rectangle with rounded edges and transparency is drawn
Bug #1042132 reported by
MC Return
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
MC Return | ||
0.9.8 |
Fix Released
|
Medium
|
MC Return | ||
compiz (Ubuntu) |
Fix Released
|
Medium
|
MC Return | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Test Case]
1. Enable the shift-switcher and text plugins in CCSM
2. Open some windows
3. Start the shift switcher
-> Make sure that the background text is drawn correctly
[Regression Potential]
Visual corruptions related to plugins using the text plugin.
Original description:
This bug is observable in several plug-ins drawing text like the Shift Switcher or Workspacenames for example.
Related branches
lp://staging/~mc-return/compiz/compiz.merge-fix1042132-missing-text-transparency
- Daniel van Vugt: Approve
- MC Return: Needs Resubmitting
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 31 lines (+7/-0)1 file modifiedplugins/text/src/text.cpp (+7/-0)
Changed in compiz: | |
milestone: | none → 0.9.8.2 |
tags: | added: gles |
Changed in compiz: | |
milestone: | 0.9.8.2 → 0.9.8.4 |
Changed in compiz: | |
milestone: | 0.9.8.4 → 0.9.9.0 |
Changed in compiz: | |
assignee: | nobody → MC Return (mc-return) |
Changed in compiz: | |
status: | New → In Progress |
Changed in compiz: | |
importance: | Undecided → Medium |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz (Ubuntu): | |
assignee: | nobody → MC Return (mc-return) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
description: | updated |
To post a comment you must log in.
Investigation shows that the GL_BLEND function calls got lost in plugins/ text/src/ text.cpp with the big GLES merge, namely:
wasBlend = glIsEnabled (GL_BLEND);
if (!wasBlend)
glEnable (GL_BLEND);
and later:
if (!wasBlend)
glDisable (GL_BLEND);
Probably this is the cause of the broken text rendering.
Investigating.