New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 682669 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Weird behavior of scroll bar is seen pinch to zoom in the page in PDF

Reported by adha...@etouch.net, Jan 19 2017

Issue description

Chrome Version: 57.0.2986.0 (Official Build) 12c8d70173fc1a04fa588b75be71ab5e80655c60-refs/heads/master@{#444600} (32/64-bit)
OS: Windows 10(Touch device)

What steps will reproduce the problem?
(1)Launch chrome and navigate to https://msu.edu/~urban/sme865/resources/embedded_pdf.html 
(2)pinch to zoom in the page and observe the scroll bar.(Kindly refer the video)

Actual result:Weird behavior of scroll bar is seen pinch to zoom in the page.

Expected:Scroll bar should be seen properly after pinch to zoom in the page.

This is a Non-Regression issue seen from M-49(i.e 49.0.2565.0)
 
Actual result.mp4
455 KB View Download

Comment 1 by adha...@etouch.net, Jan 19 2017

Components: Internals>Input>Touch>Screen

Comment 2 by bokan@chromium.org, Jan 19 2017

Cc: bokan@chromium.org
Components: -Blink>Scroll -Internals>Input>Touch>Screen Internals>Compositing>Rasterization
Labels: -Pri-2 Pri-3
Status: Untriaged (was: Unconfirmed)
Looks like some precision issues related to compositing scrollbars. Doesn't seem very serious though. I don't have a Windows touch machine to test on at the moment, does this happen on iframes/subscrollers as well?

Comment 3 by vmi...@chromium.org, Jan 19 2017

Cc: danakj@chromium.org enne@chromium.org
Owner: vmi...@chromium.org
Status: Assigned (was: Untriaged)
Taking this to try and reproduce on Windows + touch.

It's a bit concerning that we're showing what looks like uninitialized content.

On Linux using the mobile device emulation mode I notice slightly different issue which is that 1 pixel of the PDF content is visible outside, on the right side of the scrollbar.  This is also briefly noticeable in the "Actual result.mp4" video above at time 0:05.

Comment 4 by vmi...@chromium.org, Jan 19 2017

Labels: Needs-Feedback
Owner: ----
Status: Unconfirmed (was: Assigned)
I'm wasn't able to reproduce locally on a Razer Blade Stealth (2016) with touch screen.

Could you please attach a copy of the output form visiting the "chrome://gpu/" page?

Comment 5 by adha...@etouch.net, Feb 3 2017

Labels: -Needs-Feedback
Kindly find below copy of chrome://gpu.

chrome gpu.png
889 KB View Download
Owner: vmi...@chromium.org
Cc: jbau...@chromium.org
Labels: -Pri-3 Pri-2
Status: Assigned (was: Unconfirmed)
I was able to reproduce the issue on the Razer Blade Stealth with Crome 56, and latest Chrome Canary 58.0.3000.0.

It looks like the damage rect for the plugin is incorrect.  Only the thin vertical line on the right is being swapped to the screen.  Disabling partial swap with --disable-partial-swap seems to fix this.

It's tricky to reproduce.
 * Pinch-zoom in on the page slightly.
 * Use touch input to scroll the PDF frame via it's scroll bar.
 * If it doesn't break, try different zoom scales
Owner: jbau...@chromium.org
Yeah, looks like the plugin is being double-scaled with pinch zoom. Maybe some zoom issues are putting its damage rects in the wrong place.

Comment 10 by enne@chromium.org, Feb 6 2017

Cc: malaykeshav@chromium.org
cc malaykeshav, as this looks similar to  issue 660744 
Cc: weiliangc@chromium.org jaydasika@chromium.org
Components: Internals>Compositing
Owner: jaydasika@chromium.org
It seems like the layer with the plugin on it is being scrolled, but it isn't being treated as damaged. If I modify LayerTreeImpl::DidUpdateScrollOffset to do 

"if (true || node->scroll_offset != scroll_tree.current_scroll_offset(layer_id)) {" then it seems to work,  though I don't know enough about the code to understand what's going wrong otherwise.
Cc: chrishtr@chromium.org pdr@chromium.org
Owner: ----
Status: Available (was: Assigned)
Dropping this from my queue.

+pdr, chrishtr who are working on scrolling and scrollbars. 
Cc: ericrk@chromium.org dcasta...@chromium.org vmp...@chromium.org osh...@chromium.org
 Issue 722494  has been merged into this issue.
Cc: wkorman@chromium.org
Owner: chrishtr@chromium.org
Status: Assigned (was: Available)
From #13's bug, if I run a debug build with 1.4 dsf, then I get a cyan strip running next to the scrollbar, which indicates "non painted region". It seems like we don't have recordings there. 

I'm not sure if that's a separate issue though. chrishtr@ could you triage?
#13 might have been related to  Issue 711112 
Components: Internals>Compositing>Scroll
Owner: ----
Status: Available (was: Assigned)
Status: Untriaged (was: Available)
This needs re-triage to determine severity.
Owner: fsam...@chromium.org
Status: Assigned (was: Untriaged)
Labels: Hotlist-Polish
Owner: ----
Status: Untriaged (was: Assigned)
I'm not actively looking at this so unassigning myself.
Status: Available (was: Untriaged)

Sign in to add a comment