Redesign orientation sensor
Open, NormalPublic

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