This appears to be correct behaviour. When a dialog is modal you don't want it to be possible to raise the dialog above some other app without bringing the dialog's parent along. The resulting window stack would be too confusing if the parent was hidden behind.
The situation seems to be confused more here by the modal dialog having window buttons, but that's just questionable app design. I feel like KeePassXC needs fixing by changing its dialog to non-modal. ** Changed in: gnome-shell (Ubuntu) Status: Opinion => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs