Skip to content

Unlock Saved Passwords promps loses focus to a query tool in the background #9784

Closed

Description

@DanielMauderer

Describe the bug When I open pgAdmin 4, the focus is on the "Unlock Saved Passwords" prompt. After a second or so, the focus switches to the Query Editor in the background, causing me to type the password in clear text.

To Reproduce

Steps to reproduce the behavior:

Have a Query Editor open in a previous session
Close and reopen pgAdmin
If the Query Editor loads in the background, it steals focus once it is loaded completely

Expected behavior The password prompt should either trap the focus or block the background text fields from receiving any key press events.

Desktop (please complete the following information):

OS: Fedora Silverblue
pgAdmin version: 9.12
Mode: Desktop
Package type: Flatpak

Activity

  1. DanielMauderer commented on Jun 9, 2026

    @DanielMauderer
    Author

    ok behavior changed now it just looses focus. Now it is just annoying. If this is refined/confirmed I can fix it my self.

    OS: Fedora Silverblue
    pgAdmin version: 9.15
    Mode: Desktop
    Package type: Flatpak

  2. dpage commented on Oct 15, 2026

    @dpage
    Contributor

    Fixed in 7c5b0b7 (#10583).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions