New issue
Advanced search Search tips

Issue 891837 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Compat



Sign in to add a comment

Dragging widget on wrike.com is extremely slow

Reported by thex...@gmail.com, Oct 3

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Example URL:
https://www.wrike.com/

Steps to reproduce the problem:
1. Go to https://www.wrike.com/
2. Try dragging elements around in "Organize everything you need to complete your project in one place"
3. Observe performance

What is the expected behavior?
Buttery smooth

What went wrong?
Very choppy

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 10.0
Flash Version: 

Works flawlessly in Microsoft Edge.
 
03-194996472.webm
776 KB View Download
Labels: Needs-Triage-M69
Components: Blink>Input
Cc: phanindra.mandapaka@chromium.org
Labels: Triaged-ET Needs-Feedback
thexpaw@ Thanks for filling the issue...

Unable to reproduce the issue on reported chrome version 69.0.3497.100 using Windows 10. Attaching screen-cast for reference.
Steps: 
---------
1. Launched reported chrome 
2. Navigate to https://www.wrike.com/
3. Dragged the elements around in "Organize everything you need to complete your project in one place"
As we are observed that performance is smooth

@Reporter: Request you to retry this issue with fresh profile without any extensions & apps or reset all the flags and let us know if issue still persists.

Thanks..!
891837.mp4
3.6 MB View Download
Yeah I already tried it with a guest profile, which has no extensions and it still happened. Some other people also confirmed they could see the same issue, so it's not an issue unique to my setup/system.

I'm not sure how to get a consistent repro though.
Project Member

Comment 5 by sheriffbot@chromium.org, Oct 8

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
Unable to reproduce this issue. 
Reporter: could you please provide a tracing record from chrome://tracing ?
Sure.
trace_dev.json.gz
4.0 MB Download
trace_test.json.gz
1.7 MB Download
Project Member

Comment 8 by sheriffbot@chromium.org, Oct 11

Cc: eirage@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Gentle ping...

@ eirage: As per comment # 6 and comment #7, could you please have a look in to it for further triaging it. 

Thanks..!
Components: -Blink>Input Blink>Layout Blink>Paint
Status: Untriaged (was: Unconfirmed)
Thanks for pinging me. 

From the trace it looks like the janky is because main thread is very busy. Maybe  it's due to paint or layout

+Blink>layout and Blink>paint to triage

Majority of time appears to be spent in updating layer positions and in hit testing according to trace. Unsure why either would be triggered by dragging.

Components: -Blink>Paint -Blink>Layout Blink>HitTesting Blink>Compositing
Status: Available (was: Untriaged)
Hit testing is part of tracking what's under the mouse so I'm not super surprised that's involved. Moving a layer around by dragging would require updating layer positions, so not surprising that's there.

No idea why it's particularly slow, however.
Cc: nzolghadr@chromium.org
Components: -Blink>Compositing -Blink>HitTesting Blink>DataTransfer Blink>Input
Labels: -Pri-2 Pri-3
My bad, looks like it's indeed an input issue.

drag and drop events were not coalesced like mouse events.[1]
[1]https://cs.chromium.org/chromium/src/content/common/drag_messages.h?g=0&l=31

From the tracing it looks like the reporter are using a 1000Hz mouse, which will result in tons of ondrag and ondragover events. I can only reproduce this with a 1000Hz mouse but not a 125Hz one.
It's either because the hit test on drag events or the page are doing some layout on dragover events.

+navid, do you think we should plan to clean up the drag messages? 
I suspect this also affects dragging tabs in Chrome window itself. It's definitely not as laggy as the widget on the site, but it's noticeably not very smooth.
Labels: Needs-Feedback
We might face some issues when coalescing drag events. Mainly because there is no alternative way for the page to get those non-coalesced events for drag events. But at the same time I cannot imagine a use case for getting the coalesced drag events.

Can the reporter also verify this hypothesis regarding the low vs high frequency mouse and whether the slowness goes away with low frequency mouse? Particularly since it is mentioned that it works fine on Edge, I wonder whether Edge does the coalescing. As far as I remember they weren't doing anything like that.
I just tried with a wireless mouse, which presumably has a low polling rate, and indeed I do not experience lag with it.

Sign in to add a comment