Bug 474077 - Make AutoRotation and TabletMode available on Xorg backend
Summary: Make AutoRotation and TabletMode available on Xorg backend
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-standalone (show other bugs)
Version: 5.27.7
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-03 04:16 UTC by dofficialgman
Modified: 2023-09-05 20:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dofficialgman 2023-09-03 04:16:11 UTC
SUMMARY
I have hardware incapable of running wayland (proprietary drivers that only receive security updates).
The device has a touchscreen with IMU correctly mapped and accessible with iio-sensor-proxy.
Only wayland sessions have automatic device rotation available.

STEPS TO REPRODUCE
1. use xorg session
2. see that automatic device rotation is not available

EXPECTED RESULT
autorotation is available in both xorg and wayland sessions

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 23.10 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
I was able to find that @romangg was the author of the removal of orientationsensor from drm https://phabricator.kde.org/D26036 and then also addition to the kwayland backend https://phabricator.kde.org/R110:65585290f1098d401c19a645545bea93bf08f2e9
Comment 1 Nate Graham 2023-09-05 20:53:49 UTC
This is intentional right now; X11 development is not a priority and we are planning to switch to Wayland by default in Plasma 6.0.