packages
packages copied to clipboard
KDE Plasma does not auto rotate screen in Wayland
Summary
With the latest KDE Plasma snapshot of 2024-02-02, autorotate does not work in a Wayland session Part of Better 2-in-1 support ootb for all editions
Steps to reproduce
- Boot a 2-in-1 system with the 2024-02-02 Plasma ISO
- Fold the keyboard back to enable tablet mode
- Rotate the machine
Expected result
The screen rotates according to orientation
Actual result
The screen is not rotated
Environment
- [X] Is system up to date?
Repo
Shannon (stable)
Desktop Environment
Plasma
System details
Operating System: Solus 4.5 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 Kernel Version: 6.6.15-272.current (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx Memory: 17.5 GiB of RAM Graphics Processor: AMD Radeon Vega 10 Graphics Manufacturer: LENOVO Product Name: 81SS System Version: Lenovo IdeaPad FLEX-14API
Other comments
Main tracking issue: getsolus/packages/issues/1344
Is iio-sensor-proxy installed, if so what does monitor-sensor command show while rotating the device?
iio-sensor-proxy is installed by default (and is on the system), I'll get that output from monitor-sensor `tomorrow
According to the output, the sensor is detected and screen orientation changes are properly detected. The screen does not change orientation.
live@solus ~ $ monitor-sensor
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: normal)
=== No ambient light sensor
=== No proximity sensor
Accelerometer orientation changed: bottom-up
Accelerometer orientation changed: right-up
Accelerometer orientation changed: normal
Tested this on Plasma 6, also no auto-rotation happening
iio-sensor-proxy is installed.
monitor-sensor output is the same as previously
@ReillyBrogan Any chance you could look into this on your surface thing?
I found that auto rotation works if I disable the setting Settings - Display Configuration - Automatic - Only when in tablet mode
So apparently Plasma isn't detecting tablet mode. I'm not sure if the mode isn't being reported to Plasma properly or Plasma is not treating that signal properly? I looked but didn't find a related bug on bugs.kde.org
Is this still occurring?