From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Neel Patel <neel(dot)patel(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [Patch][pgAdmin4][runtime]: RM#1375 - Migrate the runtime to QtWebEngine from QtWebKit |
Date: | 2016-11-08 10:59:03 |
Message-ID: | CA+OCxoxs5dQ9GP7JtODXum8M7=DK9+R7n6kWwyga9yNFx40Nig@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Awesome job! I've committed this with a minor tweak to the project
file to complain to the user if they're not using Qt 5.5 or above.
It'll still work though.
Regards, Dave.
On Fri, Nov 4, 2016 at 10:35 AM, Neel Patel <neel(dot)patel(at)enterprisedb(dot)com> wrote:
> Hi,
>
> Please find attached initial patch for migration of runtime to QtWebEngine
> from QtWebkit.
>
> Observation:-
>
> When user click on already opened link, it will not set existing tab index
> but always open in new tab.
> e.g. pgAdmin4 website is already open in new tab and user again open the
> same website then it will not set existing tab index but always open in new
> tab.
>
> First "createWindow" virtual protected method is getting called which does
> not contain any URL of page but it will create WebEnginePage for the
> WebEngineView.
> Once the WebEnginePage is created in above method, we are getting
> "acceptNavigationRequested" call which contains URL so before we save the
> URL, tab was already opened so we are not able to compare with existing
> opened tab.
>
> I have tested this patch on Linux & Mac and it is working as expected.
>
> Do review it and let us know for any comments.
>
> Thanks,
> Neel Patel
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-11-08 11:38:32 | pgAdmin 4 commit: Use a more reasonable dynamic default for the window |
Previous Message | Dave Page | 2016-11-08 10:57:49 | pgAdmin 4 commit: Use QtWebEngine with Qt5.5+ instead of QtWebKit. Fixe |