Window goes on top but does not get focus

Bug #1997550 reported by Arnaud Chéritat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-ubuntu-dock (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have recently experienced an annoying behaviour which I think was not occurring before.

I have in dconf 'click-action' set to 'previews' (I like this behaviour).

When I click an open app icon in the dash-dock having several windows open, a preview of them appears as expected. When I click one of these previews the corresponding window gets on top as expected. But this window (call it A) does not have focus, which is unexpected.

Expected behaviour : window A gets focus

Actual behaviour : window A does not get focus

Why it matters: When I start typing text it types in the "wrong" window (I mean the window that had focus before while I am expecting to modify the text in the window that just went on top) and if I do not pay attention I may get into trouble by modifying files I do not want to modify. This could actually cause some serious trouble to an unlucky person, quite hard to debug if they do not know the cause.

Do not get confused: there are 'focus-...' options in 'click-action' but they concern what happens when you click the app icon. I am referring to what happens when you click the preview image, which is a different thing.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell-extension-ubuntu-dock 72~ubuntu5.22.04.1
ProcVersionSignature: Ubuntu 5.15.0-53.59-generic 5.15.64
Uname: Linux 5.15.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 23 11:26:01 2022
InstallationDate: Installed on 2022-07-23 (122 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitecture: all
SourcePackage: gnome-shell-extension-ubuntu-dock
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Arnaud Chéritat (a-cheritat) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Do you have any always-on-top windows? (bug 1997099)

tags: added: focus
Revision history for this message
Arnaud Chéritat (a-cheritat) wrote :

> [Danien van Vugt] Do you have any always-on-top windows?

No, I don't have such a window.

I have "Indicator Sticky Notes" installed, do you think this may be the cause? The stickers are decoration-less windows that are --not-- set to "always on top".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.