Redesign orientation sensor
Closed, ResolvedPublic

Description

The orientation sensor is not integrated with KScreen's manual rotation and does not work reliable. To my knowledge it was not integrated because back then KScreen did not work on the phone. But with the output abstraction in KWin and new QML version of KScreen KCM this is within reach.

Plan:

  • Remove orientation sensor from KWin.
  • In KScreen KCM let user allow to select an auto-rotation mode per output if the output is internal and the device supports orientation.
  • Write the user selection to KScreen's control files
  • If automatic rotation is selected KScreen daemon gets orientation data from QOrientationSensor and sends the current rotation to KWin
romangg created this task.Aug 31 2019, 10:36 AM
romangg triaged this task as Normal priority.
apol added a subscriber: apol.Sep 2 2019, 11:16 AM

I don't get why.

romangg moved this task from Backlog to Work In Progress on the KWin board.Oct 21 2019, 8:24 AM
bshah added a subscriber: bshah.Oct 21 2019, 11:59 AM
romangg raised the priority of this task from Normal to High.Dec 11 2019, 12:48 PM

Note: For me to get the rotation sensor to work I needed to install iio-sensor-proxy, start the associated systemd service and reload udev rules.

romangg moved this task from Work In Progress to Under Review on the KWin board.Dec 23 2019, 1:18 AM
romangg closed this task as Resolved.Apr 23 2020, 5:03 PM