Fullscreen games lose "fullscreen" after an Alt+Tab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Medium
|
|||
mutter (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Artful |
Fix Released
|
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.
Test Case
=========
1. Run a game full screen.
I installed Steam and used Team Fortress 2 because it's free (but a very large download)
2. 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.
Regression Potential
=======
This is fixed in mutter 3.26.2 (LP: #1730097)
These patches also fix LP: #1725821 but I was having trouble coming up with a specific test case for that issue that I could reproduce with my Intel graphics card.
The upstream bug mentions that this may re-introduce tearing with full-screen videos with Firefox because Firefox disables hardware graphics acceleration on Linux. Personally, I feel that is a Firefox bug and shouldn't block this fix. (The workaround for that is to visit about:config in Firefox and set layers.
The issue of poor performance with full-screen games with GNOME 3.26 (a regression from GNOME 3.24) is a popular complaint in forums and should be fixed by these patches.
Other Info
==========
This bug is for the Xorg session. For the Wayland session, see LP: #1732245
Original Bug Report
===================
When playing a steam game in "fullscreen" (in this case stellaris) if I alt-tab out and then back the game is no longer full screen and a portion the size of the menu bar at the top is reserved, not showing the menu just a portion of the background colour. Also after this happens all mouse clicks are offset by that same margin.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.1-0ubuntu4
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 21 12:16:27 2017
DisplayManager: gdm3
GsettingsChanges:
b'org.gnome.shell' b'command-history' b"['ubuntu-bug']"
b'org.gnome.shell' b'favorite-apps' b"['firefox.
b'org.
InstallationDate: Installed on 2017-10-13 (7 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to artful on 2017-10-21 (0 days ago)
tags: | added: nvidia |
summary: |
- Fullscreen games loose "fullscreen" after an alt+tab + [nvidia] Fullscreen games lose "fullscreen" after an Alt+Tab |
Changed in mutter (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
summary: |
- [nvidia] Fullscreen games lose "fullscreen" after an Alt+Tab + Fullscreen games lose "fullscreen" after an Alt+Tab |
affects: | gnome-shell (Ubuntu) → mutter |
Changed in mutter: | |
importance: | Undecided → Unknown |
status: | Confirmed → Unknown |
Changed in mutter (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in mutter (Ubuntu Artful): | |
status: | New → In Progress |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Medium |
Changed in mutter (Ubuntu Artful): | |
importance: | Undecided → Medium |
Changed in mutter: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
description: | updated |
Changed in mutter (Ubuntu): | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.