How to reset pgAdmin4 GUI?

I had this error too. The menu item "Reset Layout" was not visible. Actually NO menu item was visible, so I dug up the actual method that is triggered by the "Reset Layout".

To fix, do this:

  • Open the browser console
  • Paste this JavaScrips code: pgAdmin.Settings.show()
  • This should pop up dialog: "Are you sure you want to reset the current layout? ..."

Neither of the mentioned methods worked for me to reset the pgAdmin layout. Finally, what helped, was to delete the ..\AppData\Roaming\pgAdmin\ directory and install again.


RESET Layout :

1.The pgAdmin menu bar displays the following selections: File, Object, Tools, and Help.*

Use the File menu to access the following options:

File -> Reset Layout

OR

  1. Open the browser console and run following :-

pgAdmin.Settings.show()

This should pop up dialog: "Are you sure you want to reset the current layout? ..."


Like a web-page, press Ctrl + 0 for reset zoom level.

Tags:

Pgadmin 4