Closed Bug 612599 Opened 9 years ago Closed 9 years ago

Gray lines when using content.scrollTo

Categories

(Core :: Graphics, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Tracking Status
fennec 2.0b4+ ---

People

(Reporter: stechz, Assigned: stechz)

References

Details

Attachments

(3 files)

Attached image Screenshot
Occasionally (on desktop and on Android) gray lines will appear in content when content scrolls.

This is reproducible on Fennec with this page:
http://people.mozilla.org/~bstover/invalidate.html
(press S to step, or any other key to scroll automatically)

Fennec also needs a patch that listens to scroll events from content, which will be attached shortly.
Note these are not actually gray lines, but actually lines where content is 'faded' as if a layer containing the content was blended to a white background, but not completely covering those pixel rows.
Without the patch, there are no lines but I see:
###!!! ASSERTION: Messed up quadants (ThebesLayerBuffer.cpp line 164)

Also, I was wrong; Fennec already listens for scroll events. This patch just ensures that setDisplayPort isn't called when content scrolls.

The problem may be easier to figure out with cjone's test browser XUL.
Blocks: 612604
Reproducible on test-ipcbrowser.xul, with resolution and scale at 0.7.
tracking-fennec: --- → ?
tracking-fennec: ? → 2.0b4+
Assignee: nobody → ben
Attached patch SnapSplinter Review
Attachment #501856 - Flags: review?(jones.chris.g)
Attachment #501856 - Flags: review?(jones.chris.g) → review+
Pushed http://hg.mozilla.org/mozilla-central/rev/05937e37d81d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.