New issue
Advanced search Search tips

Issue 863373 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 26
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Touchpad button generates extra events

Reported by jjtu...@gmail.com, Jul 13

Issue description

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

Steps to reproduce the problem:
1. Move mouse inside black box
2. Click by touchpad physical button

What is the expected behavior?
mousedown, mouseup and mouseclick events should be raised

What went wrong?
mouseenter, mousedown, mouseup, mouseclick and mouseleave events been generated (in this order). 

Did this work before? No 

Does this work in other browsers? Yes

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

This bug only occurs on some notebooks (i.e. dell precision 3510) and only in chrome on windows. I tested FF and it is not present there. I also tested chrome on ubuntu (using VirtualBox) and the bug was not present.

Bug only occurs when clicking by touchpad physical button. When using mouse, everything is fine. Also when raising event by taping inside touchpad, no bug is present. Only when physical hardware buttons at the bottom of touchpad are used.

There is a SO question describing this problem with some hints on how to hack the buggy behaviour https://stackoverflow.com/questions/29628936/chrome-tapping-on-touchpad-fires-mouseleave

In attached gif you can see that, at first I clicked using mouse and only 3 events were raised. But then I clicked using touchpad button and extra mouseleave event was raised. Then again I clicked using touchpad button and extra mouseenter and mouseleave events were raised. When I then moved my mouse another mouseenter event was raised.

It does look to me as if browser thinks touchpad physical button is different pointing device and thats why it first generates mouseenter (to get the new pointing device at the position), then down,up,click events are generated and mouseleave at the end (to get away new pointing device). But this is only hypothesis.
 
testCase.html
860 bytes View Download
mouseBug3.gif
283 KB View Download
Ive forgotten to add that the test case scenario is also available via jsfiddle at https://jsfiddle.net/buksy/q0s3d67k/
Labels: Needs-Triage-M67
Cc: viswa.karala@chromium.org
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on chrome reported version# 67.0.3396.99 and latest chrome# 69.0.3492.0 using Mac 10.12.6, Ubuntu 14.04 and Windows-10 with jsfiddle provided in comment#1. This issue is seen from M-60(60.0.3112.0), hence considering this issue as Non-Regression and marking it as Untriaged.

Thanks!
Im attaching a screenshot of non valid and valid mouseout events to make it easier identify non valid events a whats causing them.
valid_vs_invalid_mouseout_event.png
71.1 KB View Download
Labels: Needs-Feedback
viswa.karala@ how did you repro this on Mac. I'm testing on Mac and click for a little while and couldn't get it to reproduce. I can see the original bug say physical key on the track pad but Mac doesn't have such thing. So I was wondering whether you were able to repro the issue with the normal touch pad click.
I also tried on Dell XPS13 and can not reproduce.
Status: WontFix (was: Untriaged)
Closing this for now as there wasn't any response from the reporter. Reporter feel free to comment here or file a new bug f you have the information requested here. Mainly whether you can see the same issue on other devices or not.

Hello nzolghadr,

Im the reporter and I described in first message that this bug only occurs on some notebooks. I have dell precision 3510, my colleague has dell precision m2800 and he can see the bug too. I understand it is difficult to test/debug if your notebook doesnt suffer from the bug, but please do not close the issue.

Is is possible to find some developer with dell notebook (precision 3510/m2800) and assign the ticket to him/her?

Sign in to add a comment