Lowering some windows causes other, unrelated windows to also be lowered.

Bug #1744970 reported by Andrew
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Artful by Daniel van Vugt

Bug Description

Steps to reproduce:

  1. Open four windows, each using half of the screen:

                        ┌──C──╥──D──
      ┌──A──╥──B──┐     │┌──A─╨╥──B─┴┐
      │     ║     │     ││     ║     │
      │     ║     │     └┤     ║     │
      └─────╨─────┘      └─────╨─────┘
         2D view            3D view

  2. Lower window A.

Expected behavior:

  Window A is lowered:

                        ┌──A──╥──D──
      ┌──C──╥──B──┐     │┌──C─╨╥──B─┴┐
      │     ║     │     ││     ║     │
      │     ║     │     └┤     ║     │
      └─────╨─────┘      └─────╨─────┘
         2D view            3D view

Actual behavior:

  Window A and window B are lowered:

                        ┌──A──╥──B──
      ┌──C──╥──D──┐     │┌──C─╨╥──D─┴┐
      │     ║     │     ││     ║     │
      │     ║     │     └┤     ║     │
      └─────╨─────┘      └─────╨─────┘
         2D view            3D view

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.2-0ubuntu0.1
ProcVersionSignature: Ubuntu 4.13.0-30.33-generic 4.13.13
Uname: Linux 4.13.0-30-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jan 23 07:50:21 2018
DisplayManager: gdm3
InstallationDate: Installed on 2016-09-15 (495 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to artful on 2018-01-21 (2 days ago)

Revision history for this message
Andrew (andrewkvalheim) wrote :
Revision history for this message
Andrew (andrewkvalheim) wrote :

See also Launchpad bug #2627, "Non-leading whitespace mangled in bug description and comments".

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

Very nice. I fixed the whitespace by editing the description externally and replacing them with non-breaking spaces.

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

I am reminded of bug 1729461, although different. I also think there are similar bug reports elsewhere but can't find them.

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

Bug confirmed. But to lower a window with middle click you need to be logged into a Xorg session. It doesn't work in Wayland sessions (bug 1698083).

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

It looks like this bug might be fixed in mutter 3.26.3 by this:

https://gitlab.gnome.org/GNOME/mutter/commit/415584344a5d4b577321616f1ddeb4c4536253bc

Changed in mutter (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-shell (Ubuntu):
status: Confirmed → Triaged
tags: added: fixed-in-3.26.3
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: Triaged → Fix Released
Changed in mutter (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Surprisingly not fixed(!?)

Tested on:
gnome-shell (3.27.91-0ubuntu1)
mutter (3.27.91-1)

Changed in gnome-shell (Ubuntu):
status: Fix Released → Triaged
Changed in mutter (Ubuntu):
status: Fix Released → Triaged
tags: removed: fixed-in-3.26.3
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks like upstream just noticed. This fix went in AFTER 3.27.92 ...

commit 00b8ca7aebbd7c2288716dff2d04d0e75be523ac
Author: Georges Basile Stavracas Neto <email address hidden>
Date: Thu Dec 14 11:38:54 2017 -0200

    Revert "window: Raise and lower tile match in tandem"

    Raising and lowering windows in tandem without a proper grouping
    mechanism ended up being more annoying than functional.

    This reverts commit e76a0f564c1e07e32fe857d0f8e5b723c3bbe57d.

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

Fix released in mutter 3.28.0

Changed in mutter (Ubuntu):
status: Triaged → Fix Released
no longer affects: gnome-shell (Ubuntu)
tags: added: bionic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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