Closed Bug 1244792 Opened 8 years ago Closed 6 years ago

Gmail composition textbox "checkerboards" during scrolling

Categories

(Web Compatibility :: Site Reports, defect, P3)

x86_64
Linux
defect

Tracking

(Performance Impact:none, platform-rel +, firefox47 wontfix, firefox48 wontfix, firefox49 wontfix, firefox50 affected)

RESOLVED FIXED
Performance Impact none
Tracking Status
platform-rel --- +
firefox47 --- wontfix
firefox48 --- wontfix
firefox49 --- wontfix
firefox50 --- affected

People

(Reporter: botond, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: perf, Whiteboard: [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait])

Attachments

(1 file)

STR:

  1. Write a long email in GMail, such that the textbox
     for composing the email overflows vertically.

  2. Scroll the email contents with the mouse wheel.

Expected results:
  During async scroll, areas brought into view by scrolling
  are already rendered.

Actual results:
  During async scroll, areas brought into view by scrolling
  are blank, until a repaint renders them.

This is not checkerboarding in the conventional sense (for example, it doesn't produce reports in about:checkerboard).
Blocks: apz-desktop
Whiteboard: [gfx-noted]
Attached image gmailscroll.gif
Here's what I see.
I'm pretty sure this is an issue on the website, but bug 1232491 may help here. As long as it's just a transient thing though I don't know if it's worth spending a lot of time on.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #3)
> As long as it's just a transient thing though I don't know if it's
> worth spending a lot of time on.

Ehsan reported being thoroughly annoyed by this behaviour.

Do we have an understanding of what is that the website is doing to cause this? Would it help if we reached out the Gmail devs about this?
So actually I'm not seeing this any more. I tried in OS X Nightly, using (1) the "compose" dialog (which shows up in the bottom-right corner of the gmail window), (2) the "compose" dialog maximized, so that it's centered in the window, (3) a reply box to an existing email. I pasted in 50 paragraphs of lorem ipsum text and scrolled madly up and down on OS X. The only checkerboarding I saw was actual APZ checkerboarding with the pink background (I have the pref set).

Were you seeing this on Linux only?
ni?myself to retest this when I'm in the office tomorrow.

ni?Ehsan to see what OS he was using when he experienced this.
Flags: needinfo?(ehsan)
Flags: needinfo?(botond)
(In reply to Botond Ballo [:botond] from comment #6)
> ni?myself to retest this when I'm in the office tomorrow.

I definitely do still see this with latest Linux Nightly.
Flags: needinfo?(botond)
Which of the compose/reply boxes listed in comment 5 do you see it in? All of them?
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #8)
> Which of the compose/reply boxes listed in comment 5 do you see it in? All
> of them?

Ah - only the reply box. It hasn't even occurred to me to check the compose boxes; my bad.
(In reply to Botond Ballo [:botond] from comment #6)
> ni?Ehsan to see what OS he was using when he experienced this.

OSX latest.
Flags: needinfo?(ehsan)
Whiteboard: [gfx-noted] → [gfx-noted] [platform-rel-Google] [platform-rel-Gmail]
Priority: -- → P3
Version: Trunk → 48 Branch
platform-rel: --- → ?
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #3)
> I'm pretty sure this is an issue on the website, but bug 1232491 may help
> here.

I had a look at some display list dumps while this was happening. The text that's scrolled into view but only becomes visible on the next paint - that's already in the display list in the previous paint. So, I don't think this is the sort of issue with the website that bug 1232491 would solve. It may be a different issue with the website, or our issue after all.
Markus and I looked at this in some more detail. What's happening is, the content being scrolled into view (the email text and the border around it) are in the DOM (and the display list etc.), but the portion the site believes to be out of view is covered up by another element (an element with class "aC2"), which is anchored to the bottom of the scrollable area, and whose height is adjusted by script. When content is async-scrolled into view, until the script makes the corresponding height adjustment, the text that's newly scrolled into view is covered up by this element.

This confirms that the issue is with the site.
Component: Panning and Zooming → Desktop
Product: Core → Tech Evangelism
Version: 48 Branch → Trunk
platform-rel: ? → +
Adding needsdiagnosis so that Comment #12 is explained in terms of code, URI and suggestions to fix it. 
Once done we can switch to contactready and ni :karlcow so I can go on contacting Google about it.
Also is there a difference with Chrome/Safari and why?
Whiteboard: [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] → [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [needsdiagnosis]
Flags: needinfo?(miket)
Note that we (and by that I mean Botond) have already contacted google about this using the mailing list that was set up, and we got a response back from them that they would try to fix it at some point in the near future.
Ah indeed… July 16, 2016. I had missed this.
Message-Id : <CAHzMtdtkLX=5OEq8y5iH2w2-DCijBGX9vJDpAp=9LBGNOQLdZA@mail.gmail.com>

Switching to sitewait. Thanks kats!
Whiteboard: [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [needsdiagnosis] → [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait]
Flags: needinfo?(miket)
Rank: 7
Rank: 7 → 8
Is this re-producing :botond? If so — perhaps worth re-pinging the DL thread as it's been a few months...
Flags: needinfo?(botond)
(In reply to Desigan Chinniah [:cyberdees] [:dees] [London - GMT] from comment #16)
> Is this re-producing :botond? If so — perhaps worth re-pinging the DL thread
> as it's been a few months...

It does still reproduce. I pinged the thread as suggested.
Flags: needinfo?(botond)
Whiteboard: [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait] → [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait][qf]
Whiteboard: [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait][qf] → [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait][qf-]
Keywords: perf
I think that with the new GMail design, that was fixed.
:botond can you still reproduce?

We tested on Windows 10 and Nightly 63, but the scrolling was performed perfectly. We used a HTML format e-mail.
Flags: needinfo?(botond)
I can confirm that the issue no longer reproduces! It seems to have been fixed on GMail's side.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(botond)
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Performance Impact: --- → -
Whiteboard: [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait][qf-] → [gfx-noted] [platform-rel-Google] [platform-rel-Gmail] [sitewait]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: