GNOME Shell disabling wrong screen when docking laptop

Bug #1722725 reported by Michael Thayer
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
High
gnome-shell (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I often switch between working with a docking station, closed laptop and an external monitor, and an open laptop without docking station or monitor. I noticed since updating to 17.10 that GNOME Shell would not switch correctly from the setup where the laptop was being used open without a docking station to the other. When I opened the laptop in the docking station the external monitor would come on, and when I closed the laptop it went off again. I manually switched the primary screen to be the external one and that solved it for now, so I assume that GNOME Shell was disabling the external screen instead of the internal one (it is a bit hard to see, and I have not yet tried ssh-ing in).

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 11 09:06:34 2017
DisplayManager: gdm3
GsettingsChanges:
 b'org.gnome.shell' b'favorite-apps' b"['ubiquity.desktop', 'org.gnome.Nautilus.desktop', 'firefox.desktop', 'libreoffice-writer.desktop', 'libreoffice-calc.desktop', 'libreoffice-impress.desktop', 'org.gnome.Software.desktop', 'gnome-control-center.desktop']"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
InstallationDate: Installed on 2016-05-31 (497 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to artful on 2017-10-05 (6 days ago)

Revision history for this message
Michael Thayer (michael-thayer) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think you're describing something like bug 1716160, but it's hard to tell while most of the description is about the old rather than current behaviour.

Please try to improve the bug description here to be more about the new behaviour than the old behaviour.

tags: added: multimonitor
Changed in gnome-shell (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 1723025.

Revision history for this message
Michael Thayer (michael-thayer) wrote :

I have definitely observed bug 1716160 as well, even after correcting the GNOME settings (though it happens less often then). However this does not match either of the two. I still do not have a good feeling for exactly when it happens, so if you do not mind I will just update the bug next time it triggers with an unstructured chronology of what happened before.

It might be related to bug 1723025, but I can't say for sure.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Revision history for this message
lnx4tw (lnx4tw) wrote :

https://bugzilla.gnome.org/show_bug.cgi?id=788915

Looks like other people are experiencing this issue.

Changed in gnome-shell (Ubuntu):
importance: Undecided → High
status: Incomplete → Triaged
Changed in gnome-shell:
importance: Unknown → High
status: Unknown → Confirmed
Changed in gnome-shell:
status: Confirmed → Fix Released
Changed in gnome-shell (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Michael Thayer (michael-thayer) wrote :

Would it be possible to apply the upstream patches to the version in Bionic? I am happy to install the updated packages before they hit the repositories.

Revision history for this message
John C Fowler (jcfowlerca) wrote :

Is the fix adding a "Do Nothing when Docked" to xfce4-power-manager?

Revision history for this message
Michael Thayer (michael-thayer) wrote :

The patches are attached to gnome-bugs #788915.

tags: added: fixed-in-3.26.3
Revision history for this message
Michael Thayer (michael-thayer) wrote :

Do you expect 3.26.3 to end up in Bionic? If not, would it be possible to back-port the fix?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

We now expect 3.28 in bionic... which contains 3.26.3 and much more.

Revision history for this message
Michael Thayer (michael-thayer) wrote :

Even though 3.28 is due out after the Bionic feature freeze? What about X.Org 1.20, which is due out a few days later?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.27.91-0ubuntu1

---------------
gnome-shell (3.27.91-0ubuntu1) bionic; urgency=medium

  [ Didier Roche ]
  * New upstream version (LP: #1751070, LP: #1722725,
    LP: #1714989, LP: #1724557, LP: #1723857, LP: #1744970):
    - debian/patches/70_allow_sound_above_100.patch,
      debian/patches/ubuntu-lightdm-user-switching.patch patches
      refreshed for new release. Removed ': function()' syntax as
      upstreamed removed them in those context.
    - debian/patches/ubuntu_panel_center_date_workarea.patch removed as
      upstreamed now.
    - debian/control.in, debian/rules:
      bump deps, add sassc and libnm-dev which is now required.
      drop caribou dep, as the OSK is now built-in.
    - debian/rules:
      use now with renamed build options.
  * debian/ubuntu-session-mods/ubuntu.css, debian/rules:
    - adapt to new GNOME Shell theme including OSK.
    - color shift keys in orange in OSK and use differente svg.
  * debian/rules:
    - some duplication removal.
  * debian/patches/27-nm-libexec-path.patch,
    debian/patches/71_smarter_alt_tab.patch,
    debian/patches/fix-wayland-vbox-crash.patch,
    debian/patches/optional-hot-corner.patch,
    debian/patches/ubuntu_block_mode_extension_update.patch,
    debian/patches/ubuntu_gdm.patch,
    debian/patches/ubuntu_lock_on_suspend.patch:
    - unfuzzed
  * Cherry-pick git_ea0770ae22a6c34797db4343cf7d2f59bb8d68f6.patch:
    - upstream mutter API bump.
  * debian/gnome-shell-common.install, debian/rules:
    - the .css files aren't shipped anymore, so copy from the built version.

  [ Jeremy Bicha ]
  * Update NetworkManager dependencies

 -- Didier Roche <email address hidden> Fri, 02 Mar 2018 10:04:06 +0100

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.