Request for feedback: Alternate desktop runtime architecture

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org, "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Request for feedback: Alternate desktop runtime architecture
Date: 2018-01-23 14:48:36
Message-ID: CA+OCxozDyrZHDGPmP+x8h11yn2mZmtv42x_dBOu3mBcrMf6NBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

All,

As you may know, the most troublesome part of pgAdmin 4 has been the
desktop runtime application, which has relied on QtWebKit and QtWebEngine
(of various origins and versions) to render the UI as part of the Qt
framework.

This has caused performance issues, rendering issues with remote desktop
sessions, keyboard navigation issues and more. It probably accounts for 25%
or more of the bugs reports we deal with.

Unfortunately, whilst there are alternatives to Qt for this purpose, none
that we've found are mature enough for our purposes, and would require a
significant amount of effort to add the features we would need to support
pgAdmin.

I've therefore been experimenting with another approach in which pgAdmin is
rendered in a regular web browser when running in desktop mode. Like some
other similar applications, a server process is launched and lives in the
system tray, from where it can be shutdown at any time, or new windows
opened. When it is first started, it will launch a browser window to render
pgAdmin automatically. If additional instances are launched, the previously
running instance will be re-used to avoid wasting resources.

This is a proof of concept at the moment, for which I would appreciate any
feedback. Windows and Mac builds can be found here:

https://developer.pgadmin.org/~dpage/runtime-revamp/

and the GIT branch can be found here:

https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=shortlog;h=refs/heads/runtime-revamp

Thanks!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Melvin Davidson 2018-01-23 15:22:23 Re: Request for feedback: Alternate desktop runtime architecture
Previous Message Dave Page 2018-01-23 13:49:49 pgAdmin 4 commit: Get rid of the VC++ build script so we just have a si

Browse pgadmin-support by date

  From Date Subject
Next Message Melvin Davidson 2018-01-23 15:22:23 Re: Request for feedback: Alternate desktop runtime architecture
Previous Message microsys.gr microsys.gr 2018-01-23 13:40:05 Table Properties... > [Columns tab] very slow