Automatic screen rotation broken with GNOME 3.38.2 on Wayland
Affected version
Fedora 33 Gnome 3.38.2 Issue appears in Wayland, but not XOrg
Bug summary
Prior to Fedora 33/Gnome 3.38.2, rotating my convertible laptop (Spectre x360 2020 model) caused the screen (and pen input) to rotate. A rotation lock control was visible in the Gnome menu. After the upgrade, the automatic rotation and rotation lock control are missing in Wayland (but everything works in XOrg).
This has been previously reported (#3479 (closed)), but fully folding my laptop to "tablet" mode does not make any difference for me.
Steps to reproduce
- Install
iio-sensor-proxy
- Run
monitor-sensor
under wayland - Observe that rotation changes are still firing in the terminal, but the screen and pen input do not rotate automatically.
- Run
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'imports.gi.Clutter.get_default_backend().get_default_seat().touch_mode'
- Notice output is always
(true, 'false')
in Wayland, but is(true, 'true')
in XOrg.