Bug 1227871 - Autorotate is not working in KDE
Summary: Autorotate is not working in KDE
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 20:01 UTC by Chris
Modified: 2024-07-16 20:09 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
fvogt: needinfo? (chrisvte)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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