pgAdmin 4 commit: Query tool and debugger rendering issue in Linux

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Query tool and debugger rendering issue in Linux
Date: 2016-06-21 14:24:52
Message-ID: E1bFMbk-0007UY-RU@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Query tool and debugger rendering issue in Linux

Issue : -

Whenever we open any alertify dialog inside the query tool and debugger panel then panel contents are not visible. Query tool panel display as blank.
This issue is only reproducible in Linux.

Solution:-

Animations and transitions are not automatically GPU accelerated and by default use browser's slow rendering engine.
We need to set 'translate3d' value of '-webkit-transform' property in order to use GPU.

After applying this property under linux, Webkit calculates wrong position of the elements so panel contents are not visible.

To make it work, we need to explicitly set '-webkit-transform' property to 'none' for .ajs-notifier, .ajs-message, .ajs-modal classes.

Fixes #1186

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ae99ce742857a663f874cf9df05d5c81463c722b
Author: Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>

Modified Files
--------------
web/pgadmin/tools/datagrid/__init__.py | 22 ++++++++++++++++++++--
.../tools/datagrid/templates/datagrid/index.html | 10 +++++++---
web/pgadmin/tools/debugger/__init__.py | 19 +++++++++++++++++++
.../tools/debugger/templates/debugger/direct.html | 10 +++++++++-
4 files changed, 55 insertions(+), 6 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-06-21 14:25:03 Re: [pgAdmin4][runtime]: RM 1186 - Query tool and debugger rendering issue in Linux
Previous Message Neel Patel 2016-06-21 14:14:36 [pgAdmin4][runtime]: RM 1186 - Query tool and debugger rendering issue in Linux