After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786305 - Fullscreen XWayland window is offset by top bar when switched to via Alt+Tab
Fullscreen XWayland window is offset by top bar when switched to via Alt+Tab
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: wayland
3.24.x
Other Linux
: Normal minor
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-08-15 07:30 UTC by Kerrick Staley
Modified: 2021-07-05 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the issue, notice the desktop background is visible along the top of the screen (the gray bar in the CS:GO UI should be at the top) (2.95 MB, image/png)
2017-08-15 07:30 UTC, Kerrick Staley
Details

Description Kerrick Staley 2017-08-15 07:30:17 UTC
Created attachment 357608 [details]
screenshot of the issue, notice the desktop background is visible along the top of the screen (the gray bar in the CS:GO UI should be at the top)

To reproduce:
1. Run the game Counter Strike: Global Offensive in fullscreen in GNOME Shell (3.24.3, Mutter version 3.24.4) under Wayland (1.14.0).
2. Switch to another window.
3. Use Alt+Tab to switch back to the CS:GO window.

Expected result:
Window returns to fullscreen.

Actual result:
Window is almost fullscreen, but the top of the window doesn't reach the top of the screen. It stops where the GNOME Shell top bar would be, but instead of the top bar being visible, you see the desktop. (See attached image).

Notes:
I noticed that if I call `.maximize(3)` on the CS:GO MetaWindow object from Looking Glass, it fixes the issue until I switch windows again (3 == META_MAXIMIZE_BOTH).

Calling `.unmake_fullscreen()` followed by `.make_fullscreen()` on the MetaWindow object also temporarily fixes the issue.

If I switch to the window by opening the Activities overview and clicking the window, this issue does not occur.

This issue does not occur in GNOME under XOrg.
Comment 1 Jeremy Bicha 2017-11-14 18:45:19 UTC
A similar issue was fixed for GNOME on Xorg with mutter 3.26.2, but this bug still exists for the GNOME (Wayland) session with mutter 3.26.2.

On Ubuntu, the offset also includes the Ubuntu Dock.
Comment 2 GNOME Infrastructure Team 2021-07-05 13:45:30 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.