The same is happening on ubuntu 22.04.2 LTS on my Lenovo ThinkPad X1
Yoga 4th. Giampiero's details are the same on my machine.

A few more notes that may or may not be relevant:

* The screen has for me always been rotated in the direction that it
would rotate if the screen rotation would have been enabled. Because I
carry the laptop in my backpack in a rotated position. (But rotation was
locked!)

* I have some notes from when a similar thing happened to me back on
ubuntu 18.04. Then, according to my notes, i fixed it by permanently
disabling automatic rotation using `gsettings set org.gnome.settings-
daemon.plugins.orientation active false`. This setting no longer exists

* I have switched back from wayland to xorg because of how Gnome 42
breaks the screenshotting workflow. (It's fixed in Gnome 43 but that is
not available yet, or ever - i assume). I have only started observing
this problem again once I switched back to xorg. However, that timing
coincides with when I started travelling with my laptop again. So it
could be relevant or not.

* It happens even if automatic screen rotation was disabled using the
gui and when `gsettings get org.gnome.settings-
daemon.peripherals.touchscreen orientation-lock` reports `true`

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1976554

Title:
  [Lenovo X1 Yoga 5th Gen] Screen auto rotates randomly after suspend

Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu 22.04 LTS
  Release:      22.04

  iio-sensor-proxy: 3.3-0ubuntu6
  mutter: 42.0-3ubuntu2

  
  Since update to Ubuntu 22.04:

  If i leave screen rotation in GNOME enabled and come back form suspend
  mode (open/close Laptop) the screen is rotated wrong. Mostly 90
  degrees left from normal view axis.

  Expected behaviour:

  The screen should not rotate until logged in again or there should be
  a delay before choosing an new rotation whilst laptop is opened.

  Same problem seems to be present in older iio-sensor-proxy versions.

  Mabye affected to Mutter and or iio-sensor-proxy
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2020-06-30 (707 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  Package: mutter 42.0-3ubuntu2
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/usr/bin/zsh
  ProcVersionSignature: Ubuntu 5.15.0-33.34-generic 5.15.30
  Tags:  jammy
  Uname: Linux 5.15.0-33-generic x86_64
  UpgradeStatus: Upgraded to jammy on 2022-04-22 (46 days ago)
  UserGroups: adm cdrom dialout dip lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1976554/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to