New issue
Advanced search Search tips

Issue 625696 link

Starred by 6 users

Issue metadata

Status: Duplicate
Merged: issue 630014
Owner: ----
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Two-finger left swipe on touchpad randomly, only sometimes, goes back to previous page in history, with a broken animation

Reported by teo8...@gmail.com, Jul 4 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Steps to reproduce the problem:
1. On a laptop with a touchpad, go to some site
2. click some link
3. touch the touchpad with two fingers and swipe to the left

What is the expected behavior?
Nothing at all (unless there is a horizontal scroll bar, in which case this should scroll horizontally).

OR some consistent, sensible, reliable behavior.

What went wrong?
Only some times, when you swipe to the left the whole page pans to the right and, behind it, the page you previously visited appears. Or, just a white blank background appears.
Either way, if you swipe all the way to the left AND then click, you'll end up navigating back one step in history as if you had used the back button.

Is this supposed to be some "brilliant" feature?

If so:
1. This is an idiotic idea in the first place. It could appear to make some sense if a swipe-to-left gesture was used to go back on mobile devices, which fortunately it isn't. Also, it's a gesture that you can too easily make by mistake and it conflicts with horizontal scrolling: that is, you may make the gesture to try and see if there is content to scroll to the left, and boom, you go back in history. (by the way, this is exactly what happens on mobile when you swipe down vertically one bit too much and accidentally reload the page, because of the brilliant idea that swiping down when at the top of the pages should cause a refresh - however, you don't emulate that behavior on laptop touchpad, do you?)

But on top of that, it's terribly buggy:

2. If it is by design, then it should work always, consistently, reliably. Instead, it only happens sometimes. If you try it again and again, at some point it will likely happen. 

3. if you swipe only to a certain point, below a certain threshold, the animation should revert (or "bounce back") and the page should go back to its normal state. Instead, it remains halfway through, with the page moved halfway to the right and part of the other page (or an ampty white background) on the left. With another swipe gesture you move it a little bit further, and you can go forth and back.

It is SO fucked up that when I first observed it, which hapened to be on a page of mine which has some absolutely-positioned overlays, I thought there was something wrong with my html and css and that I was unintentionally creating wider-than-the-window horizontally-scrollable content.

Did this work before? N/A 

Chrome version: 51.0.2704.106  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 22.0 r0
 

Comment 1 by teo8...@gmail.com, Jul 4 2016

Here's a screenshot
Screenshot from 2016-07-04 22-30-32.png
311 KB View Download
What I noticed is that the gesture appears to be enabled only after a short delay during which two fingers are both on the touchpad. That may explain some of the "inconsistencies" in behavior you noticed.

Additionally, when scrolling a page up/down with two fingers, the whole page tends to wobble ever so slightly along the horizontal axis, if you do not follow a perfectly vertical line: indeed, Chromium is starting the "maybe-I'm-gonna-go-back-in-history" animation while you're scrolling up/down if there is a bit of lateral motion in the initial vector of each swipe motion. And of course, there is nearly always some. It's really visually disturbing.

Comment 3 by teo8...@gmail.com, Jul 26 2016

> What I noticed is that the gesture appears to be enabled only after a short
> delay during which two fingers are both on the touchpad. 

Do you mean it is a necessary, but not sufficient conditions? Or can you reproduce it systematically by just having both fingers on the touchpad for a time and then swiping? If that is the case, I can't.

> Additionally, when scrolling a page up/down with two fingers, the whole page
> tends to wobble ever so slightly along the horizontal axis, if you do not
> follow a perfectly vertical line

Never observed this either.

Are you on Mac OSX perhaps? I am on Linux.


Anyway, this behavior should not exist at all, certainly not on Linux and Windows.

Nor on OSX, unless it's a common native convention on that OS. In which case it is not automatically the right thing to do but it's worth considering.

Comment 4 by m...@iitnow.com, Jul 28 2016

This behavior is not limited to trackpads.

I've discovered this happens with a regular mouse that has a side-scrolling mouse-wheel. I'm using a basic Logitech mouse (M510). I can reproduce this  issue 100 % of the time. The trick to reproducing the issue is to NOT move the mouse cursor while scrolling. 

If I move the cursor while in the middle of this transition, the page will snap back. 

This is a video of this behavior on my computer.
https://youtu.be/8n-gpahfy8M

I'm running Chrome 52.0.2743.82 64bit on Ubuntu 16.04.

Comment 5 by austin@google.com, Aug 11 2016

I'm observing this on Chrome 52.0.2743.116 64 bit on Ubuntu 14.04.1 on a laptop with a trackpad.

Unlike the video in comment 4, when I scroll horizontally, the page jumps horizontally by seemingly random amounts, but never more than about 50 pixels from the edge of the window, and if I release the scroll the page stays partially offset and does not snap back until I scroll again (horizontally or vertically). The video looks like something working as intended. What I'm seeing absolutely does not.

This happens on some pages and not on others. For example, it happens on GMail and this bug page, but it doesn't happen on www.google.com, www.youtube.com, or on really simple pages like chrome://version.

Comment 6 by teo8...@gmail.com, Aug 11 2016

> The video looks like something working as intended.

Well that's not exactly true (unless we assume it is intended to be demential) for several reasons:
- navigating back and forth in history by horizontal scrolling should not exist as a feature in the first place
- the video seems to show (we can't tell for sure) the case where the user slowly does the whole scrolling from beginning to end. It doesn't show what happens if the user stops scrolling and releases the "sliding scroll wheel" (whatever that is) in the middle of the scrolling. The expected behavior in this case would be to either snap back or quickly continue and finish the animation (depending on whether a certain threshold was passed). To me the video suggests that the animation just remains half-way, though we would need to see what the user is doing with their finger to tell for sure.

> What I'm seeing absolutely does not.

Now that's for sure. Of course the behavior you are observing and describing does seem to be even crazier than the one in the video, as is the one that I observe.


This thing is pathetic, it looks like it's some work-in-progress incomplete feature (which shouldn't have been conceived in the first place because it's idiotic even if it was implemented in the most perfect way) that has accidentally slipped in to production by mistake.

I wonder how it is possible that nobody from chromium has commented yet.

Comment 7 by austin@google.com, Aug 11 2016

> This thing is pathetic

There's no need to be rude. Bugs happen, and we should respect the hard work of the Chromium developers.

This clearly looks like the back/forth gesture on OS X, except that on OS X it's triggered by (I think) a three finger drag to distinguish it from a two finger scroll drag. I would guess the event handlers for that gesture unintentionally got entangled with the event handlers for regular horizontal scroll events on Linux.

Comment 8 by ad...@cryto.net, Sep 13 2016

I am also experiencing this issue, in Chromium 52.0.2743.116 on NixOS (Linux) 16.03. I've also experienced the same issue for a few months in Google Chrome (stable) on openSUSE 13.1, right up until I switched to NixOS.

In both cases I am using the sidescroll feature of a desktop mouse - the Trust GXT33 (also known under many other names: http://cryto.net/~joepie91/areson/). To my knowledge, this mouse does *not* simulate a trackpad.

The issue was not 100% reproducible for me - it did not work on all websites. This might be due to custom scroll event handlers on those sites, I'm not really sure.
Mergedinto: 630014
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment