Page MenuHomePhabricator

Race condition in Chrome when clicking on links near bottom of screen if Navigation Popups gadget is enabled
Open, LowPublic

Description

I see the following behavior in Chrome 48 (all extensions disabled) on Windows 7, with Navigation Popups gadget enabled in user preferences:

When clicking on a link that's near the bottom of the screen in VE, usually the screen scrolls up and the link inspector window appears, as expected. But sometimes the screen will scroll up without the link inspector window appearing; instead some random text will be selected.

I suspect this is a race condition of some sort, because often I repeat the exact same procedure (scroll down, click on link, close link inspector, repeat) for a few times, and then all of a sudden the above behavior shows. It's not reproducible, and I don't see it in Firefox.

If I double-click on a link near the bottom of the screen, I see the same behavior: the screen is scrolled up, some random text is selected, no link-inspector shows. (This happens in Chrome and Firefox.) If instead I double click on a link that's not near the bottom of the screen, the link-inspector opens and the link is selected, as expected.

Everything works correctly if the Navigation Popups gadget is disabled in user preferences.

Event Timeline

AxelBoldt raised the priority of this task from to Needs Triage.
AxelBoldt updated the task description. (Show Details)
AxelBoldt added a project: VisualEditor.
AxelBoldt subscribed.
Jdforrester-WMF changed the task status from Open to Stalled.Feb 23 2016, 8:25 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF subscribed.

Can you give an example page where this occurs for you? I tried this a few times on https://en.wikipedia.org/wiki/Barack_Obama without success.

I just noticed that everything works fine if I disable the Navigation popups gadget in my user preferences. I'll edit the problem description and task title accordingly.

AxelBoldt renamed this task from Race condition in Chrome when clicking on links near bottom of screen to Race condition in Chrome when clicking on links near bottom of screen if Navigation Popups gadget is enabled.Feb 23 2016, 8:44 PM
AxelBoldt updated the task description. (Show Details)
Aklapper changed the task status from Stalled to Open.May 8 2020, 2:53 PM
Aklapper lowered the priority of this task from Medium to Low.

Changing task status from stalled to open as requested information has been provided.