New issue
Advanced search Search tips

Issue 649512 link

Starred by 3 users

Issue metadata

Status: Archived
Owner: ----
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Extension dropdown menu scrollbars randomly freeze

Reported by thereald...@gmail.com, Sep 22 2016

Issue description

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

Steps to reproduce the problem:
1. Click icon of extension with menu containing scrollable overflow.
2. Clicking in the scrollbar under the thumb for "page down" is randomly non-functional. The thumb is still draggable.
3. 

What is the expected behavior?
Page down scroll.

What went wrong?
My wild guess is that it has something to do with the new animated hover/selected effects for extension icons.

Did this work before? Yes Before v52 or v53

Chrome version: 53.0.2785.116  Channel: stable
OS Version: 6.3
Flash Version: 

The extension I use that it has affected most is:
https://chrome.google.com/webstore/detail/secure-bookmarks/leocjgngiajhfiikjolfhcpiokgbinep
but I've also had it happen in Stylish, albeit not that often since the style list is hardly ever long enough to create overflow.

Like I said, it occurs pretty randomly, maybe 10-20% of the time. It seems to happen with a higher frequency when opening the popup directly after opening the browser.
 
I'm developing an extension, and first noticed this issue myself over a month ago. It has been present across at least two stable-channel releases (including 53.0.2785.143). Also witnessed in Canary.

This bug is very easy to replicate. All you need is an extension whose popup overflows vertically. The frequency of the bug seems to be tied to how complex the rendering is (the number of elements, the number of style rules, etc.). So, frequency can be between 5% and 50%, depending on the complexity of the popup.

When the bug does occur, the popup can only be scrolled by dragging the scrollbar. No other scroll method seems to work (arrow keys, scroll wheel, scrollbar arrow buttons).

There is, however, a solution (that took me a long time to discover). Simply add the following element to the DOM:

<div style="position:fixed"></div>

Presumably, it doesn't have to be an empty <div> with an inline style, just a fixed-position element, though I haven't tested this.

I have attached a 1 KB extension that demonstrates the bug. To replicate the bug:

1. Install extension.
2. Open popup.
3. Attempt to scroll (with scroll wheel, arrow keys, or by using the scrollbar's arrow buttons).
4. If window scrolls successfully, close popup and goto step 2.

It should take no more than 20 attempts to replicate the bug.

To fix the bug:

1. Open dev tools.
2. Navigate to the Elements panel.
3. Insert <div style="position:fixed"></div> as HTML into the body.
4. Attempt to scroll.
chromebug.crx
1.2 KB Download
Almost 2 months and nobody (besides another user) has even confirmed this yet? This issue is super annoying, especially since it's likely a really easy fix. Somebody? Anybody?

Comment 3 by woxxom@gmail.com, Nov 9 2016

I can't repro in 53 or canary.
To locate the issue developers need to know exactly when it first occured.
Can you manually find the exact Chrome snapshot where the problem appeared (the previous snapshot should not have this problem) using https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html ?
The snapshot number range may be obtained via https://omahaproxy.appspot.com/ e.g. 51.0.2704.84 is 386251 and 53.0.2785.143 is 403382
Thank you for responding. Unfortunately, I'm not knowledgeable enough to pinpoint a "snapshot". I can tell you that I first encountered it after the update where bookmark/extension hover/focus states where "modernized" (animated, I guess). The two may be completely unrelated, but that's when the bug appeared. As for reproducing, the above test .crx reproduces the issue pretty consistently. In fact 3 out of the first 5 attempts at opening the popup and scrolling "page down" failed (thumb is still draggable). 

As I, and the other poster have stated, the issue occurs intermittently. It can and will scroll successfully many times in a row, but it freezes at least 5-10% of the time. I'm not sure what factors contribute to this bug, but sometimes it occurs much more frequently. 

I should also mention for testing purposes, that testing the popup multiple times on the same page-load seems to be unhelpful. Once it succeeds or fails, it seems to remain that way until a new page-load.
Project Member

Comment 6 by sheriffbot@chromium.org, Nov 9 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

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

Sign in to add a comment