https://bugs.kde.org/show_bug.cgi?id=427217
Bug ID: 427217 Summary: Screen autorotate under wayland fails to detect tablet-mode on a convertible laptop Product: KScreen Version: 5.19.5 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: common Assignee: kscreen-bugs-n...@kde.org Reporter: benjamin.henn...@wanadoo.fr Target Milestone: --- On a Wayland session, when screen autorotate is enabled only in tablet-mode, it does not work at all. The automatic rotation does work perfectly if I do not tick the box "Only in tablet-mode". The switch to tablet-mode seems to be detected by Plasma: when entering tablet-mode the icons in the tray become bigger. The tablet-mode is also detected properly by libinput and evtest outputs Event: time 1601576158.041596, type 5 (EV_SW), code 1 (SW_TABLET_MODE), value 1 Event: time 1601576158.041596, -------------- SYN_REPORT ------------ when flipping the screen to enter tablet-mode. STEPS TO REPRODUCE 1. Open kcm in under Wayland and enable automatic screen rotation only in tablet mode. 2. Flip the screen to get into tablet mode and tilt the laptop on the side OBSERVED RESULT The screen does not rotate. EXPECTED RESULT The screen rotates. SOFTWARE/OS VERSIONS Linux: Archlinux kernel 5.8.11 (with a patch for libinput to properly detect the tablet-mode switch) KDE Plasma Version: 5.19.5 Qt Version: 5.15.1 ADDITIONAL INFORMATION The virtual keyboard is not enabled by switching to tablet mode either (as it used to be on a Surface Pro 3 I used to have). The bug may not be in kscreen itself. I don't know for sure. -- You are receiving this mail because: You are watching all bug changes.