Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reset pgAdmin4 GUI?

Tags:

pgadmin-4

I tried Ctrl++, Ctrl+-, then pgAdmin4 v1.1 (on Windows 10 Pro x64) error. Then, I tried re-install, but error still exist:

enter image description here

How to fix this error?

like image 449
Do Nhu Vy Avatar asked Nov 24 '16 02:11

Do Nhu Vy


People also ask

How do I reset my pgAdmin dashboard?

The File Menu¶ Click to open the Preferences dialog to customize your pgAdmin settings. If you have modified the workspace, click to restore the default layout.

How do you get to the dashboard in pgAdmin 4?

Right click on the menu and go to 'Add Panel'. You will find 'Dashboard' in the drop down menu. Click on it and the dashboard tab will open.

How do you reattach panel in pgAdmin?

To resolve this, you can simply hold the left mouse button down over the TEXT/TITLE of the floating panel to pick the panel up and move it. If you move the floating panel around the screen a blue box will appear behind the panel to show where the panel will be docked if you drop it.

How do I reinstall pgAdmin?

To install, download the wheel and install with a command such as pip install https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v4.29/pip/pgadmin4-4.29-py3-none-any.whl or pip install ./pgadmin4-4.29-py3-none-any. whl if you've manually downloaded the file.


5 Answers

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 image 119
maddy Avatar answered Oct 17 '22 15:10

maddy


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? ..."
like image 35
Louis Avatar answered Oct 17 '22 15:10

Louis


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

like image 10
Do Nhu Vy Avatar answered Oct 17 '22 15:10

Do Nhu Vy


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.

like image 9
Codigo Avatar answered Oct 17 '22 15:10

Codigo


go to file option and select reset layout. https://www.pgadmin.org/docs/pgadmin4/dev/pgadmin_menu_bar.html

like image 3
Santosh Kumar Avatar answered Oct 17 '22 14:10

Santosh Kumar