Public bug reported:

Environment:

Ubuntu: 26.04.1 LTS
GNOME Shell: 50.1
Mutter candidate: 50.1-0ubuntu2.2
Session: Wayland
Monitor count: 4
Primary monitor: monitor 1

Problem description:

I use Ubuntu 26.04.1 LTS with GNOME Shell 50.1 in a Wayland session and
four monitors configured as an extended desktop.

When I move a window between monitors using keyboard window-management
shortcuts, the window initially appears on the selected monitor.
However, after I click elsewhere and the window loses focus, it may move
to a different monitor.

Observed behavior:

| Initial monitor    | Requested destination | Destination after clicking 
elsewhere |
| ------------------ | --------------------- | 
------------------------------------ |
| Monitor 1          | Monitor 2             | Monitor 2                        
    |
| Monitor 1          | Monitor 3             | Monitor 2                        
    |
| Monitor 1          | Monitor 4             | Monitor 2                        
    |
| Monitor 2, 3, or 4 | Monitor 1             | Monitor 1; works correctly       
    |
| Monitor 2          | Monitor 3             | Monitor 4                        
    |
| Monitor 2          | Monitor 4             | Monitor 2                        
    |

The window appears to be moved correctly immediately after using the
keyboard shortcut. It jumps only after clicking another window or an
empty area of the desktop.

Expected behavior:

A window moved to a monitor should remain on that monitor after losing
focus.

Actual behavior:

After losing focus, the window is repositioned on another monitor. The
destination appears to depend on the source and target monitors.

Workaround:

The issue can be avoided by resizing the window after moving it, also
via keyboard shortcut.

- Move the window to the desired monitor with the keyboard shortcut.
- Resize it to half-screen size.
- Resize it back to full size.
- Click elsewhere.

After this resize operation, the window remains on the selected monitor.


Additional observations:

The problem occurs only with keyboard-based window movement; if the
window is moved via mouse it always sticks to the selected monitor.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: mutter (not installed)
ProcVersionSignature: Ubuntu 7.0.0-31.31-generic 7.0.14
Uname: Linux 7.0.0-31-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 16 08:05:48 2026
InstallationDate: Installed on 2026-01-03 (255 days ago)
InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
SourcePackage: mutter
UpgradeStatus: Upgraded to resolute on 2026-06-08 (99 days ago)

** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167440

Title:
  Wayland: keyboard-moved windows jump to the wrong monitor after losing
  focus on four-monitor setup

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


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

Reply via email to