Closed
Bug 579924
Opened 14 years ago
Closed 14 years ago
[linux] Text renders with dark stripe at left edge on some characters in translucent X surfaces, when Subpixel Smoothing is enabled
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: dholbert, Assigned: karlt)
References
()
Details
(Keywords: regression, Whiteboard: [softblocker][retainedlayers])
Attachments
(4 files)
Mozilla/5.0 (X11; Linux i686; en-US; rv:2.0b2pre) Gecko/20100718 Minefield/4.0b2pre
STEPS TO REPRODUCE:
1. Load http://tests.themasta.com/tinderboxpushlog/
2. Scroll up and down, keeping a close eye on the colorful letters.
ACTUAL RESULTS:
During scrolling, some of the letters repaint with a darker 1px-wide stripe on their left edge. Once the scroll completes, the letters seem to "settle" in to their final no-stripe rendering.
See upcoming screenshots.
I first noticed this right around when retained layers landed -- given that this is a scrolling-dependent repaint bug, I think this is likely to be a regression from that. Marking as blocking that bug.
Reporter | ||
Comment 1•14 years ago
|
||
Updated•14 years ago
|
blocking2.0: --- → ?
Reporter | ||
Comment 2•14 years ago
|
||
Here's a screenshot taken after the scroll completed, to demonstrate what tbpl normally looks like, for comparison vs. the buggy screenshot.
(I took this screenshot a few minutes after the last one, actually, so the content changed slightly, but not very much.)
Reporter | ||
Updated•14 years ago
|
Summary: tbpl repaints with dark stripe at left edge on some characters, during scrolling → tbpl repaints with dark stripe at left edge on some characters during scrolling
Probably just no-AA rendering. Do you get the same results with rendering text into an opacity:0.99 surface?
Reporter | ||
Comment 4•14 years ago
|
||
Ah! Yes, I do.
Reporter | ||
Comment 5•14 years ago
|
||
Reporter | ||
Comment 6•14 years ago
|
||
Here's the screenshot of what I see in the attached testcase, in case it looks different on other platforms. Note the stripe along the left edge of the "B" characters on the first line.
Reporter | ||
Comment 7•14 years ago
|
||
Note: I get the same results on the attached testcase in a 1.9.2 build...
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7pre) Gecko/20100630 Namoroka/3.6.7pre
...but I haven't been able to reproduce the tbpl issue in 1.9.2. (though tbpl scrolls faster in 1.9.2, so maybe it's just less noticeable there)
Reporter | ||
Updated•14 years ago
|
Attachment #458450 -
Attachment is patch: false
Attachment #458450 -
Attachment mime type: text/plain → image/png
Retained layers made the non-AA rendering kick in while scrolling. I can fix that for tbpl, but not everywhere.
Should probably morph this into a bug on better text rendering in translucent X surfaces.
Comment 9•14 years ago
|
||
This works for me on Ubuntu 10.04; does it depend on X drivers?
Reporter | ||
Comment 10•14 years ago
|
||
Broken for me on both nvidia & ATI drivers.
dbaron just thought to check font-settings too, and it turns out that's the difference that kept him from seeing the bug in comment 9. I have Subpixel Smoothing enabled (the default), whereas he had "Best Shapes". When dbaron turns on Subpixel Smoothing, then he sees this bug.
Reporter | ||
Comment 11•14 years ago
|
||
Also, for anyone else testing this: after changing font settings in gnome-appearance-properties, you only need to refresh the testcase to get an updated (working or broken) rendering. (No need to restart Firefox.)
Reporter | ||
Updated•14 years ago
|
Summary: tbpl repaints with dark stripe at left edge on some characters during scrolling → Text renders with dark stripe at left edge on some characters in translucent X surfaces, when Subpixel Smoothing is enabled
Reporter | ||
Updated•14 years ago
|
Summary: Text renders with dark stripe at left edge on some characters in translucent X surfaces, when Subpixel Smoothing is enabled → [linux] Text renders with dark stripe at left edge on some characters in translucent X surfaces, when Subpixel Smoothing is enabled
blocking2.0: ? → final+
Reporter | ||
Updated•14 years ago
|
OS: All → Linux
Updated•14 years ago
|
Keywords: regression
Assignee: nobody → karlt
Updated•14 years ago
|
Whiteboard: [softblocker]
Updated•14 years ago
|
Whiteboard: [softblocker] → [softblocker][retainedlayers]
Is this still broken? We fixed some things related to this.
Reporter | ||
Comment 13•14 years ago
|
||
No, no broken anymore - hooray! Testcase is WORKSFORME (no dark bars) in today's nightly:
Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12pre) Gecko/20110209 Firefox/4.0b12pre
(I also verified that it's still broken in an older nightly (20101224) on this machine, to make sure that I'm not just inadvertently working around it somehow.)
Resolving WORKSFORME (but feel free to change to FIXED if you know what fixed it).
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•