Public bug reported:

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)

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

** Attachment added: "Screen recording demonstrating the window behavior"
   
https://bugs.launchpad.net/bugs/2116981/+attachment/5889854/+files/Grava%C3%A7%C3%A3o%20de%20tela%20de%202025-07-15%2003-20-25.webm

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2116981

Title:
  Modal window raises its parent on interaction

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2116981/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to