Bug 391498 - Tablet mode for convertibles (laptops with hinge screens)
Summary: Tablet mode for convertibles (laptops with hinge screens)
Status: RESOLVED LATER
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-07 04:09 UTC by Mina
Modified: 2018-03-08 16:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mina 2018-03-07 04:09:01 UTC
My laptop is an HP envy x360 convertible. It's screen can be rotated 360 degrees (so that the back of the screen touches the back of the keyboard and the laptop becomes very much like a tablet).

The laptop has windows preinstalled. On windows when I rotate the screen 360 degrees, windows detects this and asks to "switch to tablet mode".

In tablet mode:
 - screen is rotated according to orientation*
 - keyboard and touchpad are disabled**
 - an on-screen keyboard pops up for anything that needs a keyboard (the android way)
 - (not sure of this) a 2-finger click triggers a right-click. This currently works in google chrome. Try it on chrome with a touch screen.





*(it seems the laptop has a built-in gsensor) (this can be done using `xrandr -o right` `xrandr -o inverted` `xrandr -o normal`...
**There volume up & down buttons and a "meta" button on the side. Those are meant to be used in tablet mode. When I disable the entire keyboard those are disabled too.
Comment 1 Mina 2018-03-07 04:36:51 UTC
My laptop's product model:

15-w107ne
Comment 2 David Edmundson 2018-03-07 23:23:51 UTC
A lot of this is something that's being worked on, especially on wayland where we have more control. All 3 of those should work in wayland with 5.13; but it's somewhat hardware dependent for detecting the tablet mode.

As for this ticket, it's quite vague with multiple points, and it's not really a bug per-se. I don't think we gain anything keeping it open.
Comment 3 Mina 2018-03-08 16:59:14 UTC
It's enough to get a reply! Thank you :D


Actually I just noticed that sometimes when I flip the laptop into a tablet the keyboard and touchpad are disabled correctly! (the keys on the side work but the keyboard & touchpad are disabled) but it's inconsistent. Sometimes it's disabled and sometimes not!

I've been searching and asking about the sensors. I can get readings of the gyro and accelerometer (and other sensors) at /sys/bus/iio/devices