linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.55k stars 742 forks source link

Touch screen orientation does not follow screen rotation #7757

Open Redsandro opened 6 years ago

Redsandro commented 6 years ago
 * Cinnamon version 3.8.8
 * Distribution - Mint 19
 * Graphics hardware: Intel HD Graphics 620; Driver: i915
 * ThinkPad X1 Yoga 64 bit

Issue

When rotating a laptop 90 degrees (tablet mode) or flip the screen over 210 degrees (effectively rotating the display 180 degrees) (table stand mode), the touch orientation will remain the same.

This makes tablet mode or "netflix mode" unusable.

Steps to reproduce

Expected behaviour

A touch event should always be where your finger touches the screen. No exceptions. Ever.

The touchpad and the point-stick are also in the wrong orientation, although one could argue that these won't be used in tablet- or table-stand-mode. However, I would use table-stand (180 degrees) with a bluetooth mouse. I assume this won't work properly either, but I cannot test that at the moment as my bluetooth mouse is broken.

cgarciaq commented 5 years ago

I confirm the problem! I have a Dell XPS 13 9365 with touch screen and this is happening to me as well.

Fortunately I have been able to solve it partially using a script I found called magick-rotation (google it). I did have to install it manually, but in the end worked. So, now only the trackpad has the wrong orientation (the touch screen is OK).

The script allows you to block the touch input clicking on it, which is very nice when you only want to use the pen (it does not block the pen input, only your fingers).

I would like this script (or cinnamon) to have some more functionality:

Well, I'll write a feature request :-)

ovari commented 5 years ago

Screen orientation does not work on ASUS VivoBook Flip 12 either.

@clefebvre can code from Ubuntu be used to implement screen orientation?

Thank you

Redsandro commented 5 years ago

Problem still exists on Cinnamon 4.2

LennertVA commented 4 years ago

Confirmed to be present on 4.2.4.