Public bug reported:
I am seeing what appears to be the same issue as upstream GNOME Mutter
issue #4494.
On Ubuntu 26.04, GNOME Wayland, when I move a maximized window to
another monitor using the standard move-to-monitor keyboard shortcut,
the window initially moves to the target monitor. However, after I
click/focus it, or after another state change such as focus change, it
jumps back to the previous monitor.
Steps to reproduce:
1. Log into an Ubuntu 26.04 GNOME Wayland session.
2. Use a multi-monitor setup.
3. Open an application window.
4. Maximize the window.
5. Move it to another monitor using Shift + Super + Left/Right, depending on
monitor layout.
6. Click/focus the moved window, or focus another window and then return to it.
Expected result:
The maximized window remains on the monitor it was moved to.
Actual result:
The window returns/jumps back to the monitor where it was before the move.
This seems to match the upstream Mutter fix:
* GNOME Mutter issue #4494
* GNOME Mutter merge request !4852
* Upstream commit ad122fe: “window/wayland: Use current position for state
changes if up to date”
The upstream commit message says the stale-position case happens when a
window is moved without client-side configuration involvement, for
example when moving to another monitor without changing size. It also
adds a regression test named move-maximized-to-monitor, which matches
this issue.
Please consider cherry-picking this fix into the Ubuntu 26.04 mutter
package via SRU if it is not already queued.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: libmutter-18-0 50.1-0ubuntu2.2
ProcVersionSignature: Ubuntu 7.0.0-22.22-generic 7.0.0
Uname: Linux 7.0.0-22-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 16 01:08:31 2026
InstallationDate: Installed on 2024-12-31 (532 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64
(20240827.1)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
SourcePackage: mutter
UpgradeStatus: Upgraded to resolute on 2026-05-09 (37 days ago)
modified.conffile..etc.default.apport: enabled=0
mtime.conffile..etc.default.apport: 2026-05-26T15:28:58.444855
** Affects: mutter (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute
--
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/2156820
Title:
Maximized Wayland window moved to another monitor jumps back after
focus/click
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2156820/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs