Closed
Bug 1370575
Opened 7 years ago
Closed 6 years ago
Overpainting when composing a reply in GMail
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
People
(Reporter: RyanVM, Assigned: mattwoodrow)
References
Details
(Keywords: perf, Whiteboard: [platform-rel-Google][platform-rel-Gmail])
Attachments
(2 files)
916.17 KB,
image/gif
|
Details | |
5.87 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
This might be a dupe of an existing bug, but I didn't see an obvious candidate when I searched. I noticed very sluggish performance while typing a reply to a message in a GMail thread today. When I turned paint flashing on, it appears that every character I typed was forcing the entire message viewing pane to repaint (rather than just the message composition box or some smaller area). A similar effect is also visible when composing a new message, though the sluggishness isn't as apparent since it's only the repainting the new message pane when typing.
Reporter | ||
Comment 1•7 years ago
|
||
I recorded this on a clean profile.
Updated•7 years ago
|
Whiteboard: [qf] → [qf:p1]
Comment 2•7 years ago
|
||
Smells a bit like bug 1343538. I'll find us someone to dive deeper here.
Comment 3•7 years ago
|
||
Markus: I'm assigning this one to you since you're already looking at bug 1343538. If we find that root causes are different, let's fix GMail first. Thx!
Assignee: nobody → mstange
Comment 4•7 years ago
|
||
Markus confirmed that he will try to get this bug fixed by Fx57.
Comment 5•7 years ago
|
||
This might not make it for 57 so I am moving it to P2 for post 57 work.
Whiteboard: [qf:p1] → [qf:p2]
Comment 6•7 years ago
|
||
I can still reproduce, though -- this isn't bad in a *new* compose message. It's only super-bad (invalidating approximately the whole viewport) in replies to an existing email thread, as shown in RyanVM's screencast. Bumping to P1 since this is a common workflow and GMail is a commonly-used site. :) Markus, do you think you can still get to this? If not, maybe mattwoodrow can take a look?
Flags: needinfo?(mstange)
Summary: Overpainting when composing messages in GMail → Overpainting when composing a reply in GMail
Whiteboard: [qf:p2] → [qf:p1]
Updated•7 years ago
|
Whiteboard: [qf:p1] → [qf:i60][qf:p1]
Updated•7 years ago
|
Whiteboard: [qf:i60][qf:p1] → [qf:f60][qf:p1]
Updated•6 years ago
|
platform-rel: --- → ?
Whiteboard: [qf:f60][qf:p1] → [qf:f60][qf:p1][platform-rel-Google][platform-rel-Gmail]
Updated•6 years ago
|
Whiteboard: [qf:f60][qf:p1][platform-rel-Google][platform-rel-Gmail] → [qf:f61][qf:p1][platform-rel-Google][platform-rel-Gmail]
Assignee | ||
Comment 7•6 years ago
|
||
I can reproduce this too, stealing. This is the same underlying issue as bug 1442844, where we reflow a frame multiple times (the first with a 0 size), and generate unnecessary invalidations from the first one. DLBI normally handles this well, but the table code still does manual invalidation, and results in this. I think we can fix this particular case, but the general problem is harder to fix.
Assignee: mstange → matt.woodrow
Flags: needinfo?(mstange)
Assignee | ||
Comment 8•6 years ago
|
||
Attachment #8963871 -
Flags: review?(mstange)
Updated•6 years ago
|
Attachment #8963871 -
Flags: review?(mstange) → review+
Pushed by mwoodrow@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a5bfd78a9594 Do less manual invalidation when tables changes, and rely on DLBI instead. r=mstange
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a5bfd78a9594
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•6 years ago
|
Whiteboard: [qf:f61][qf:p1][platform-rel-Google][platform-rel-Gmail] → [qf:p1:f61][platform-rel-Google][platform-rel-Gmail]
Updated•2 years ago
|
Performance Impact: --- → P1
Whiteboard: [qf:p1:f61][platform-rel-Google][platform-rel-Gmail] → [platform-rel-Google][platform-rel-Gmail]
You need to log in
before you can comment on or make changes to this bug.
Description
•