This is correct behaviour for a modal dialog, which is also arguably not
"detached". A detached dialog would be a non-modal dialog. Only non-
modal dialogs can be treated as separate from their parent windows.
P.S. Launchpad can't handle non-Latin characters so can you please
rename/reattach the video?
** Changed in: gnome-shell (Ubuntu)
Status: New => Opinion
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2116981
Title:
Modal window raises its parent on interaction
Status in gnome-shell package in Ubuntu:
Opinion
Bug description:
When a (detached) modal dialog is activated (clicked), its parent
window (the application that created it) is raised immediately below
it, which is unexpected and disrupts the use of a browser auto-type
feature for a password manager.
This was first reported to KeePassXC¹, but they think this is a bug in
GNOME Shell².
1. https://github.com/keepassxreboot/keepassxc/issues/12290
2.
https://github.com/keepassxreboot/keepassxc/issues/12290#issuecomment-3074321082
KeePassXC uses a browser extension that interacts with the desktop app
to provide auto-type. When I activate it on a form field, the desktop
app creates a modal dialog for confirmation.
I'm not into desktop app development, so I'll explain the best as I
can.
The dialog is detached from the main window (unlike the ones you find
in GNOME apps nowadays) and should be able to move freely without its
parent — and it does. When the modal is activated (clicked anywhere),
it is always raising its parent from the background and placing it
immediately below it. Because of this, I am required to ALT+TAB to
return to the browser.
I cannot reproduce this on Fedora Workstation 42 (GNOME 48) and Debian
12 (GNOME 43) — therefore it made sense to bring this issue here.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell 46.0-0ubuntu6~24.04.9
ProcVersionSignature: Ubuntu 6.11.0-29.29~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-29-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 15 14:25:03 2025
DisplayManager: gdm3
InstallationDate: Installed on 2025-07-14 (1 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64
(20250215)
RelatedPackageVersions: mutter-common 46.2-1ubuntu0.24.04.9
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/+bug/2116981/+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