Orientation sensor reading ignored during monitor unplug
On a laptop device with a 360 degree folding hinge it is possible to put the device in "tent-mode". On entering "tent-mode" the orientation sensor detects that the screen is now upside-down and rotates the screen 180 degrees accordingly.
However on monitor plug/unplug the orientation sensor is not honoured when selecting the next video mode. This results in the laptop display incorrectly returning to normal orientation during these operations.
holly$ gnome-shell --version
GNOME Shell 3.32.1