GNOME Bugzilla – Bug 659323
gnome-shell top panel shows over some low-res full-screen games, e.g. Hammerfight, Trine
Last modified: 2012-08-24 15:00:24 UTC
When I start the games "Trine" and "Hammerfight" in full screen, the gnome shell top bar is still seen above. I cannot produce a screenshot, unfortunately. Sometimes I see this in full-screen flash youtube clips as well. Besides blocking some of the view, I guess that this means that these apps are not being un-redirected, which means that their performance suffers.
P.S. My shell version is 3.1.91.1 (ricotz-testing ppa) running on ubuntu 11.10.
Same situation with gnome-shell 3.2.0+git20111012.967aee7a-0ubuntu1~11.10~ricotz0.
New info on this: This happens only when the games are set to work fullscreen, but on lower resolutions than the one used by the desktop (resolutions which are supported by the GPU and work properly). Setting the games resolution to the "native" one works around the issue.
Problem seems to be that MetaScreen width and height never get updated if screen is resized by xrandr or otherwise. Hence checking with meta_screen_get_size() or meta_screen_get_monitor_geometry() within meta_window_actor_should_unredirect() in mutter/src/compositor/meta-window-actor.c will never match a resized screen. Would suggest adding a callback if possible to update MetaScreen. Bug 660847 can be closed as a duplicate of this bug.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 649748 ***