Loss of focus when an application goes full screen

Bug #1946159 reported by Nicolás Abel Carbone
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons-ng (Ubuntu)
Fix Released
Medium
Daniel van Vugt

Bug Description

Steps to reproduce:

* Open a game (splitgate shows the problem, it is free-to-play on Steam)
* Alt-tab out of the game
* Try to come back to the game

Result: The games gains focus for only a second and then is again minimized to dash.

The problem goes away if the default Desktop Icons NG extension is disabled.

I am running Ubuntu 21.10 beta using Mesa on a Radeon 5500XT, using Wayland.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gnome-shell-extension-desktop-icons-ng 20-0ubuntu1
Uname: Linux 5.14.9-xanmod2 x86_64
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 5 20:16:12 2021
InstallationDate: Installed on 2020-11-04 (335 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
PackageArchitecture: all
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gnome-shell-extension-desktop-icons-ng
UpgradeStatus: Upgraded to impish on 2021-10-03 (2 days ago)

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds like the game is minimizing itself, which might be a bug in the toolkit it uses and shares with other games.

Can you find any affected app that doesn't involve setting up Steam?

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I suspect this is the fix (which will be in version 23):

https://gitlab.com/rastersoft/desktop-icons-ng/-/merge_requests/188

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Incomplete → New
status: New → Fix Committed
importance: Undecided → Medium
tags: added: fixed-in-23 fixed-upstream
summary: - Games (eg. splitgate) keeps minimizing to dash when Desktop Icons NG is
- enabled
+ Loss of focus when an application goes full screen
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
importance: Medium → High
status: Fix Committed → Triaged
assignee: nobody → Daniel van Vugt (vanvugt)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Alright, the loss of focus is trivial to reproduce in a Terminal window; just press F11.

As for games being minimized when they lose focus, that would be a feature of the game itself and not something that needs fixing after the focus issue is fixed.

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Triaged → In Progress
importance: High → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

Hi Daniel.
Yeah, that's right. I see now that the problem is that the window losses focus when in fullscreen. I guess the game minimizing is a consequence of the loss of focus. Sorry for my lack of clarity and thank you for the proposed fix.

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell-extension-desktop-icons-ng - 20-0ubuntu2

---------------
gnome-shell-extension-desktop-icons-ng (20-0ubuntu2) impish; urgency=medium

  [ Daniel van Vugt ]
  * debian/patches/Fix-focus-loss-on-fullscreen.patch (LP: #1946159)

 -- Gunnar Hjalmarsson <email address hidden> Wed, 06 Oct 2021 15:22:20 +0200

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Javier Blanco (j2bv16) wrote :

After installing the last update the problem still the same

Revision history for this message
Javier Blanco (j2bv16) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Javier,

If problems still exist after you have updated and logged in again then please open a new bug by running this command:

  ubuntu-bug gnome-shell-extension-desktop-icons-ng

Revision history for this message
Javier Blanco (j2bv16) wrote :

Updated, restarted, purged and installed again. Still the same bug.

New report #1946307

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