这是indexloc提供的服务,不要输入任何密码
Skip to content

MacOS: pgAdmin asks for confirmation on Quit, but does not grab focus #8760

@miskr-instructure

Description

@miskr-instructure

Describe the bug

If pgAdmin is asked to quit by MacOS (either from Activity Monitor, or right clicking its tray icon and clicking "Quit"), it will not actually quit but ask for confirmation. This alone is acceptable (though would be nice if it could be disabled), the problem is that the window also doesn't focus itself when it asks for confirmation, so if the pgAdmin window is minimized or shadowed by another window, the user will see nothing happen: pgAdmin doesn't quit, but there will also be no popup or attention/grabbing effect.

To Reproduce

Steps to reproduce the behavior:

  1. Minimize pgAdmin or drag another window over it
  2. Right click pgAdmin on tray
  3. Click "Quit"
  4. Nothing happens: no visible popup appears, and pgAdmin also doesn't close

Expected behavior

pgAdmin should either

  • quit obediently
  • or it should steal focus and bring itself into the foreground when asking for quit-confirmation

Error message

n/a

Screenshots

Image

^ after clicking Quit

Image

^ this dialog only becomes visible when pgAdmin is manually maximized/brought into view manually

Desktop (please complete the following information):

  • OS: MacOS
  • Version: 15.4
  • Mode: Desktop
  • Browser (if running in server mode): n/a
  • Package type: dmg

Additional context

n/a

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions