It's a complicated series of events but in the end it's really just Ubuntu Dock that's the problem...
1. Open the overview using Super. 2. Start typing in "Type to search". While you're typing the Ubuntu Dock disappears. 3. Because the Ubuntu Dock disappeared, the workspace shape has changed so the desktop icons disappear but you don't notice because you're still in the overview. 4. Hit Enter to complete the search and launch the app. 5. The Ubuntu Dock reappears. 6. desktop-icons-ng restarts, which takes the focus away (because it too is a window now) from the newly launched app. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in Ubuntu. https://bugs.launchpad.net/bugs/1922772 Title: App search causes Ubuntu Dock to hide, desktop-icons-ng to restart and the new window to lose focus Status in gnome-shell-extension-ubuntu-dock package in Ubuntu: Confirmed Bug description: Release: Ubuntu 21.04 (20210406 iso image) Software, version: gnome-shell, 3.38.4-1ubuntu1 How to reproduce: 1) Boot up Ubuntu 21.04 image (live session or installed) 2) Once inside shell, go to overview (either using Super key or clicking on Activities) 3) Search for any application (eg., terminal) and launch it. Expected: The application launches normally and usable. Actual: The application launches but the window looses focus. When the application is launching, the desktop icons disappear for few seconds and reappear. When they reappear the launched application window will not have focus. If we launch the application from the app grid (without searching first) or from the dock, the window retains the focus. Tested on VM (quickemu and virt-manager). ProblemType: Bug DistroRelease: Ubuntu 21.04 Package: gnome-shell 3.38.4-1ubuntu1 ProcVersionSignature: Ubuntu 5.11.0-13.14-generic 5.11.7 Uname: Linux 5.11.0-13-generic x86_64 ApportVersion: 2.20.11-0ubuntu61 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Apr 6 22:14:04 2021 DisplayManager: gdm3 InstallationDate: Installed on 2021-04-06 (0 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210405) ProcEnviron: LANGUAGE=en_IN:en PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_IN SHELL=/bin/bash RelatedPackageVersions: mutter-common 3.38.4-1ubuntu1 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1922772/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

