Public bug reported:

On Ubuntu 26.04 (Wayland), windows don't keep their stacking order after
switching to another workspace and back. A terminal and Nautilus window that
were in front of an editor, such as GNOME Text Editor or Obsidian, end up
behind it.

Steps to reproduce:
1. On workspace 1, open an editor window (GNOME Text Editor or Obsidian), then a
   terminal and a Nautilus window in front of it.
2. Switch to an empty workspace 2.
3. Switch back to workspace 1.

Expected: the terminal and Nautilus window are still in front of the editor.
Actual: they are now behind the editor.

Version: mutter 50.1-0ubuntu2.4, gnome-shell 50.1-0ubuntu1.2

This is fixed upstream by mutter merge request !4992, "Fix erroneous stack order
changes on workspace switches" (commits 04bc846e and a676249c), which closes
upstream issue #4398. The fix was released in mutter 50.3 (gnome-50 branch)
and 51.0.

Please consider cherry-picking it into the resolute mutter package.

Upstream issue: https://gitlab.gnome.org/GNOME/mutter/-/work_items/4398
Upstream fix:   https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4992

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: libmutter-18-0 50.1-0ubuntu2.4
ProcVersionSignature: Ubuntu 7.0.0-34.34-generic 7.0.14
Uname: Linux 7.0.0-34-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/i386-pc/boot.mod 
./boot/grub/i386-pc/bufio.mod ./boot/grub/i386-pc/crypto.mod 
./boot/grub/i386-pc/extcmd.mod ./boot/grub/i386-pc/gettext.mod 
./boot/grub/i386-pc/normal.mod ./boot/grub/i386-pc/terminal.mod
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct  1 05:38:15 2026
InstallationDate: Installed on 2026-08-10 (52 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: mutter
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mutter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

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

Title:
   Window stacking order changes after switching workspaces — fixed
  upstream in mutter 50.3 (!4992)

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


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to