pgAdmin 4 always open in browser not as a standalone desktop application

installed PSQL10 but when pgAdmin is run from start then always open in browser.There is no option to run as a Desktop Application


Solution 1:

With new chrome versions it is possible to run pgAdmin 4 as "native" desktop app. While the pgAdmin v4 web server is running, right click the icon in the Windows System Tray and select Configure... In the Browser Command input add the following:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=%URL%

Note that if you have Google Chrome installed in a different location, you will need to update the chrome.exe shortcut above accordingly.

enter image description here

Now when you start pgAdmin 4 it has its own window which you can pin to taskbar/tab to and so on. Like before.

Solution 2:

Release notes say it now utilizes the browser to fix bugs in QtWebKit/QtWebEngine:

The desktop runtime now runs as a system tray application and utilises the browser on the system to display pgAdmin. This resolves numerous bugs and issues caused by QtWebKit/QtWebEngine.

https://www.postgresql.org/about/news/1846/

Solution 3:

Yes, that seems like the new direction pgAdmin seems to be going and they have their reasons for that which is all stated in their documentation. Here's a link to the documentation for more information: https://www.postgresql.org/about/news/1846/