pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Pop-up notification from Object Explorer won't get dismissed automatically if Query Tool is opened

Open s101d1 opened this issue 2 years ago • 2 comments

Describe the bug

When the server or database is connected in Object Explorer window, the pop-up notification ("Server connected" or "Localhost/<db_name> - Database connected") at the bottom-right corner won't get dismissed if user opened Query Tool immediately after the pop-up notification appeared (see the screenshot below).

To Reproduce

Steps to reproduce the behavior:

  1. After starting the pgadmin4, expand the server in Object Explorer window. The green "Server connected" or "Localhost/<db_name> - Database connected" pop-up notifications at bottom-right corner should appear.
  2. Immediately open the Query Tool with shortcut key (Alt + Shift + Q).
  3. The pop-up notification will linger and won't get dismissed automatically until either user put a cursor focus on the Object Explorer window (e.g. clicking any items in the Object Explorer) or user closed the pop-up notification manually.

Expected behavior

The pop-up notification should get dismissed automatically.

Screenshots

The screenshot

Desktop (please complete the following information):

  • OS: Linux Mint 21
  • Version: 7.4
  • Mode: Desktop
  • Package type: APT

Additional Request

Please add option to disable any pop-up notifications in Preferences. I personally don't like the pop-up notifications and would like to have an option to disable them entirely.

s101d1 avatar Jul 14 '23 18:07 s101d1

This looks like a bug in the upstream notification lib. We'll need to upgrade the lib to latest which in turn depend on MUI to be upgraded.

adityatoshniwal avatar Feb 22 '24 04:02 adityatoshniwal

Not fixed even after upgrading to MUI 5.

akshay-joshi avatar Apr 24 '24 07:04 akshay-joshi

Connect any database which is not connected. The notification stays longer than usual. Around 10-15 seconds.

Image

adityatoshniwal avatar Jul 03 '24 05:07 adityatoshniwal

Working fine.

yogeshmahajan-1903 avatar Jul 10 '24 07:07 yogeshmahajan-1903