Bug 76017 - Two finger touch pad scrolling in the horizontal axis is in the wrong direction
Summary: Two finger touch pad scrolling in the horizontal axis is in the wrong direction
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version: 4.2.0.4 release
Hardware: IA64 (Itanium) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-11 09:11 UTC by roee
Modified: 2014-10-31 20:26 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description roee 2014-03-11 09:11:24 UTC

    
Comment 1 Thomas Hackert 2014-04-06 16:34:18 UTC
Hello roee, *,
Thanks for reporting a bug in LibreOffice. It's unclear from the
information you provided exactly what's going wrong. Could you please
give us more details, including clear steps to reproduce the problem?

Thanks,
Thomas.
Comment 2 Kevin Suo 2014-04-07 13:19:34 UTC
I tested in both LibreOffice Calc and Writer, the touchpad two-finger-scrolling works as expected.

Fedora 20 x86, Lenovo R61i, LibreOffice 4.2.3.3

As the bug reporter reported the OS as Windows, should someone test it under Windows also?
Comment 3 roee 2014-04-07 13:46:01 UTC
Steps to reproduce:

Open up Calc.

First let's demonstrate two-finger scrolling in the vertical axis, which works as expected:

- On the touch pad, perform a two-finger scrolling gesture in an upwards direction.

- This drags the sheet up, bringing a part of the sheet from further down into view.  This is as expected.

- On the touch pad, perform a two-finger scrolling gesture in a downwards direction.

- This drags the sheet down, bringing a part of the sheet from further up into view.  This is as expected.  So in the vertical axis, two-finger scrolling works as expected.

Now do the same test with two-finger scrolling in the horizontal axis, which doesn't work as expected:

- On the touch pad, perform a two-finger scrolling gesture from left to right.

- This drags the sheet to the left, bringing a part of the sheet from further right into view.  This is opposite of what is expected.

- On the touch pad, perform a two-finger scrolling gesture from right to left.

- This drags the sheet to the right, bringing a part of the sheet from further left into view.  This is opposite of what is expected.
Comment 4 Kevin Suo 2014-04-07 16:03:34 UTC
(In reply to comment #3)

> - On the touch pad, perform a two-finger scrolling gesture from left to right.
> 
> - This drags the sheet to the left, bringing a part of the sheet from
> further right into view.  This is opposite of what is expected.

I dont agree with you.  
two-finger scrolling gesture from left to right =  dragging the scroll bar right = more contents on the right side show up. 
This is what we expect,  and it is what any other applications behave. 

> - On the touch pad, perform a two-finger scrolling gesture from right to left.
> 
> - This drags the sheet to the right, bringing a part of the sheet from
> further left into view.  This is opposite of what is expected.

this is also what we expect. 

So,  not a bug. 

Anyway, I dont think libreoffice can determine the touchpad guesture issue. It may be up to your touchpad driver settings?
Comment 5 Kevin Suo 2014-04-07 16:15:05 UTC
Some more info :

Based on my experience,  on mobile phone screens, two figure scroll left-to-right will move the screen left-to-right.  However touchpad of a notebook  is different - it moves the scroll bar left-to-right, rather than move the content left-to-right. Applications just like firefox behave the same way.
Comment 6 roee 2014-04-07 16:25:13 UTC
I'm sorry, no, I think you're incorrect.  It is not a touch pad issue, and the behavior you're describing is not what's expected.

The expected behavior (standard across all applications and all platforms) is that a two-finger scroll on a touch pad drags the sheet, NOT the scroll bar.  Remember that the sheet and the scroll bar move in opposite directions from each other.  With a two-finger scroll on a touch pad, the expected behavior is that the sheet moves in the direction of the gesture, which means the scroll bars move in the opposite direction.

This is standard across all applications, and in fact LibreOffice does it correctly in the vertical axis.  It's only in the horizontal axis that LibreOffice has it wrong.  This is a bug, and needs to be fixed for LibreOffice to be 1) self-consistent, and 2) consistent with expected behavior across all applications.

I will again describe the behavior, this time including also the behavior of the scroll bars for further clarity.  Please read this carefully:

To reproduce:

Open any LibreOffice application.  Perhaps Draw makes this most clear.

First let's demonstrate two-finger scrolling in the vertical axis, which works as expected:

- On the touch pad, perform a two-finger scrolling gesture in an upwards direction.  --> The vertical scroll bar moves down and the sheet moves up, bringing a part of the sheet from further down into view.  This is as expected.

- On the touch pad, perform a two-finger scrolling gesture in a downwards direction.  --> The vertical scroll bar moves up and the sheet moves down, bringing a part of the sheet from further up into view.  This is as expected.

Now do the same test with two-finger scrolling in the horizontal axis, which doesn't work as expected:

- On the touch pad, perform a two-finger scrolling gesture from left to right.  --> The horizontal scroll bar moves right and the sheet moves left, bringing a part of the sheet from further right into view.  This is opposite of what is expected.

- On the touch pad, perform a two-finger scrolling gesture from right to left.  --> The horizontal scroll bar moves left and the sheet moves right, bringing a part of the sheet from further left into view.  This is opposite of what is expected.
Again, the expected behavior, in either axis, is that the sheet moves with the gesture, not the scroll bar.
Comment 7 roee 2014-04-07 16:28:22 UTC
(In reply to comment #5)
> Some more info :
> 
> Based on my experience,  on mobile phone screens, two figure scroll
> left-to-right will move the screen left-to-right.  However touchpad of a
> notebook  is different - it moves the scroll bar left-to-right, rather than
> move the content left-to-right. Applications just like firefox behave the
> same way.

I respectfully disagree.  I'm running on a notebook (currently an HP Envy running Win8.1). I just tried this in Firefox, since you mentioned it.  Firefox behaves correctly per my definition.  The sheet, not the scroll bar, moves with the gesture.
Comment 8 Joel Madero 2014-04-10 00:12:26 UTC
never confirmed so reopened is incorrect
Comment 9 Jean-Baptiste Faure 2014-05-01 16:36:55 UTC
(In reply to comment #6)
> [...]
> The expected behavior (standard across all applications and all platforms)
> is that a two-finger scroll on a touch pad drags the sheet, NOT the scroll
> bar. 

This behavior is configurable on my touchpad under Linux. I guess it is configurable on Windows too.

Best regards. JBF
Comment 10 roee 2014-05-01 18:10:39 UTC
Yes, there is a setting in Windows to globally reverse the direction.  However, this not the point.  Whichever way Windows is configured, LibreOffice will behave the opposite way of all other applications under that configuration.  So I can reverse the global setting in Windows to make LibreOffice behave "correctly", but then all other applications behave incorrectly.

To re-iterate, we don't need to debate which direction is "right" or "wrong".  As you pointed out, that preference can be changed in a global setting in the OS.  The problem is the inconsistency among applications -- that LibreOffice does the opposite of all other applications.

Cheers,
-Roee


(In reply to comment #9)
> (In reply to comment #6)
> > [...]
> > The expected behavior (standard across all applications and all platforms)
> > is that a two-finger scroll on a touch pad drags the sheet, NOT the scroll
> > bar. 
> 
> This behavior is configurable on my touchpad under Linux. I guess it is
> configurable on Windows too.
> 
> Best regards. JBF
Comment 11 Beluga 2014-10-31 20:26:26 UTC
On a Lenovo T520 with Win 7, two-finger scrolling in Firefox scrolls vertically exactly like LO and Windows file explorer (fingers down, scrollbar down..). Horizontal scrolling in LO, however, does not do anything.
In Firefox as in file explorer, horizontal scrolling left moves the scrollbar left, right moves the bar right.

So it seems the reporter's claim of standard behavior does not hold water. The behavior is apparently device-specific or OS-specific.

At least on my Lenovo, two-finger scrolling is not about moving freely on a canvas in 4 directions. It is simply scrolling, like the name and the cursor helpers imply.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.