[regression] gnome-shell aspect ratio doesn't rotate with the rest of the screen

Bug #1822513 reported by Alexandre Jasmin on 2019-04-01
42
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
High
Marco Trevisan (Treviño)
mutter (Ubuntu)
High
Marco Trevisan (Treviño)

Bug Description

I'm testing 19.04 on an Acer-One S1003. An interesting quirk of that tablet is that the default screen orientation is portrait (as can be seen in BIOS setup, grub etc.)

Ubuntu 19.04 support screen rotation out of the box. But after a recent update, the landscape mode is broken.

In landscape, only the left hand portion the screen displays an image. The right hand part is black.

The part that's shown is about as wide as the screen would be in portrait orientation.

Another quirk is that landscape screenshots (taken with printscreen) have a portrait size, with some garbage at the bottom.
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 19.04
GsettingsChanges:
 b'org.gnome.shell' b'favorite-apps' redacted by apport
 b'org.gnome.shell' b'had-bluetooth-devices-setup' b'true'
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'ibus'"
Package: mutter
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Tags: disco
Uname: Linux 5.0.0-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

Related branches

Daniel van Vugt (vanvugt) wrote :

Could you please try installing the previous mutter version by downloading the .deb files from here:

  https://launchpad.net/ubuntu/+source/mutter/3.32.0-1/+build/16489975

and then install them all?

tags: added: disco
affects: xorg-server (Ubuntu) → gnome-shell (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Changed in mutter (Ubuntu):
status: New → Incomplete

The problem disappears after downgrading mutter.

Daniel van Vugt (vanvugt) wrote :

Please:

1. Try logging into "Ubuntu on Wayland" as a workaround.

2. Run this command to send us more system information:

   apport-collect 1822513

tags: added: regression-update
Changed in mutter (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Incomplete → Triaged
importance: Undecided → High
no longer affects: gnome-shell (Ubuntu)
summary: - Part of the screen is black in landscape orientation
+ [regression] gnome-shell aspect ratio doesn't rotate with the rest of
+ the screen
tags: added: x11-scaling
Changed in gnome-shell (Ubuntu):
status: New → Triaged
importance: Undecided → High

apport information

tags: added: apport-collected
description: updated

apport information

apport information

tags: added: xrandr-scaling
removed: x11-scaling

apport info sent while the system was showing the problem in X11.

I can also confirm that the aspect ratio is correct regardless of orientation on Wayland

Daniel van Vugt (vanvugt) wrote :

Thanks for your efforts.

I know many/most tablets have a hardware LCD orientation of portrait (unlike laptops which are landscape).

Changed in gnome-shell (Ubuntu):
status: Triaged → Invalid
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in mutter (Ubuntu):
status: Triaged → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.32.0-1ubuntu2

---------------
mutter (3.32.0-1ubuntu2) disco; urgency=medium

  * debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
    - Don't invert the screen size when rotation is enabled (LP: #1822513)
    - Remove unneeded cleanup changes
    - Use xcb checked function to set scaling to catch errors
    - Update screen size only after monitors modes have been derived
      (LP: #1822616)
    - Trigger a monitors rebuild only if scale has changed (LP: #1823485)
    - Only update UI scaling when output scaling is enabled (LP: #1822478)

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 03 Apr 2019 19:19:59 -0400

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers