[wayland] Fullscreen games offset after returning from alt-tab

Bug #1732245 reported by Jeremy Bicha on 2017-11-14
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mutter
Confirmed
Low
mutter (Ubuntu)
Medium
Unassigned

Bug Description

Impact
======
Using Alt-Tab to leave a fullscreen game and then return breaks the game by offsetting the display by the size of the GNOME Shell top bar (and the Ubuntu Dock if running).

Test Case
=========
1. Log into the default Ubuntu session. (Make sure that Wayland is running by running this command. If you have output, you are running Wayland.

env | grep -i wayland

2. Run a game full screen.

I installed Steam and used Team Fortress 2 because it's free (but a very large download)

3. Press Alt-Tab to switch to another window and then press Alt-Tab to switch back to the game.

The game should display and function normally.

Workaround
==========
Open the Activities Overview and click the game window instead of using Alt-Tab to switch back to the game.

Other Info
==========
This bug is split from LP: #1725649 where the problem was seen and fixed for the Xorg session. This bug is for the Wayland sessions.

Jeremy Bicha (jbicha) on 2017-11-14
Changed in mutter (Ubuntu):
importance: Undecided → Medium
tags: added: artful wayland wayland-session
Changed in mutter (Ubuntu):
status: New → Triaged
Jeremy Bicha (jbicha) on 2017-11-14
description: updated
Changed in mutter:
importance: Unknown → Low
status: Unknown → Confirmed

Note that Mutter fullscreen handling isn't fully fixed even for Xorg, see bug 1755501.

(It's not a regression, at least not a recent one, but something that works fine with all other desktops. I think any use-case which doesn't support resizing after it opens its non-resizable fullscreen window, would suffer from the same Mutter bug.)

Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 17.10 (artful) reached end-of-life on July 19, 2018.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in mutter (Ubuntu):
status: Triaged → Incomplete
Harald H. (haarektrans) wrote :

Please also see upstream reports: https://gitlab.gnome.org/GNOME/mutter/issues/397

To post a comment you must log in.
This report contains Public information  Edit
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.