Bug 1227871

Summary: Autorotate is not working in KDE
Product: [openSUSE] openSUSE Tumbleweed Reporter: Chris <chrisvte>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: chrisvte, fvogt
Version: CurrentFlags: fvogt: needinfo? (chrisvte)
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Chris 2024-07-15 20:01:49 UTC
I am using a 2-in-1 laptop (HP Envy x360) and the autorotation of the screen was working fine. In some update it stopped working, I didn't notice at first.

iio-proxy-sensor-proxy package is installed and monitor-sensor detects the current orientation of my laptop without issues but the only reaction I get is the increase of size of the title bar of the windows (because of the Touch Mode) but nothing more.

The same behavior happens using a live image of Tumbleweed (KDE-Live-x86_64-Snapshot20240714) with Wayland.

I tried KDE Neon (KDE Plasma 6.1.2) and it just works fine.

There is more people with similar issues like https://bugs.kde.org/show_bug.cgi?id=465318 and https://forums.opensuse.org/t/autorotate-display-on-2-in-1/175496
Comment 1 Fabian Vogt 2024-07-16 07:05:28 UTC
I have an Envy x360 as well and the rotation is just unreliable. FWICT it's just random whether it works for any given boot or not. That might be a different issue to yours though as in my case monitor-sensor just doesn't detect any orientation.
Comment 2 Fabian Vogt 2024-07-16 08:08:54 UTC
If installing qt6-sensors helps, this is fixed by https://build.opensuse.org/request/show/1187689.
Comment 3 OBSbugzilla Bot 2024-07-16 10:15:03 UTC
This is an autogenerated message for OBS integration:
This bug (1227871) was mentioned in
https://build.opensuse.org/request/show/1187800 Factory / qt6-sensors
Comment 4 Chris 2024-07-16 20:09:34 UTC
(In reply to Fabian Vogt from comment #2)
> If installing qt6-sensors helps, this is fixed by
> https://build.opensuse.org/request/show/1187689.

Yes, it is solved now, you made my day :D

zypper in qt6-sensors