Closed Bug 909128 Opened 11 years ago Closed 11 years ago

Thunderbird - Per-pixel scroll views don't redraw correctly.

Categories

(Core :: Web Painting, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: jsbruner, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

Can't be positive this is a layout issue, but starting here. Could be a widget->Cocoa bug, but unlikely.

Thunderbird Daily 26.0a1 (2013-08-25), now has major issues when scrolling. Parts of messages move, others don't. However, this definitely looks like an issue with redrawing.

My best guess is that something caused the redraw to not be called often enough, but what and why is unknown to me and beyond my skill-set.

I'll upload a video of the glitch shortly.
Attached video RenderingGlitch.mov
Screencast of the bug.
Hmm, loading the video may prove difficult. So adding a dropbox link as well. See URL.
Also note that reaching the top or bottom of a view correctly redraws everything.
The current UX Nighty's add-on manager looks like it has a similar issue. FYI.

Getting a regression window now...
Last good: Daily 26.0a1 (2013-08-23)
First bad: Daily 26.0a1 (2013-08-24)

Changesets in between the 23rd and the 24th:

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fb2318875cd4&tochange=01576441bdc6

Also according to the duped bug this happens on Windows as well. Save to say this is an all platforms issue then.
OS: Mac OS X → All
Summary: Thunderbird, OS X - Per-pixel scroll views don't redraw correctly. → Thunderbird - Per-pixel scroll views don't redraw correctly.
Actually the other bug probably shouldn't have been duped. The issues are almost certainly related but not necessarily the same.

So keeping this bug specifically about the scrolling issues on OS X...
OS: All → Mac OS X
Matt, any insight on the regression range here?  (You landed a bunch of things in that range, though none pops out as obviously related.)
Flags: needinfo?(matt.woodrow)
FYI, toggling layers.acceleration.disabled fixes things. I'm wondering if bug 909128 is the cause...
Umm... Bug 907926 I mean.
Attached patch Fix CopySurfaceSplinter Review
Yes, definitely a regression from bug 907926.
Attachment #795216 - Flags: review?(jmuizelaar)
Flags: needinfo?(matt.woodrow)
(In reply to Josiah Bruner [:JosiahOne] from comment #9)
> FYI, toggling layers.acceleration.disabled fixes things. I'm wondering if
> bug 909128 is the cause...

I tried toggling this as well : switch from true to false. It seems to resolve the rendering issues

I have no idea what this means/does . what are the disadvantages (if any of keeping it set to false?)
See Also: → 909144
Blocks: 909136
Comment on attachment 795216 [details] [diff] [review]
Fix CopySurface

Review of attachment 795216 [details] [diff] [review]:
-----------------------------------------------------------------

A unit test would be nice
Attachment #795216 - Flags: review?(jmuizelaar) → review+
Looks like Moz2D has a unit test for this, plus we have reftests that hit this path.

We just don't run BasicLayers reftests for mac, or any of the Moz2D tests.

https://hg.mozilla.org/integration/mozilla-inbound/rev/6efe5d76831e
https://hg.mozilla.org/mozilla-central/rev/6efe5d76831e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: