Browser fixes

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>, Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com>, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Subject: Browser fixes
Date: 2013-05-16 19:20:04
Message-ID: CA+OCxozZjuyiCzGoWgdJoSo1EdqKcZyqLeX2bq64bBtY=xMyRA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

[CCing to -support as people there have been waiting for some of these fixes]

The attached patch (against master) cleans up a number of issues in
the browser code:

- It fixes the collapsing tree issue by reverting patch 1 which
attempted to fix a bug caused by patch 2. The bug in patch 2 has been
fixed by partially reverting some code that attempted (badly) to
re-display objects in the treeview after they had been moved to
another schema.

- Removes the few "Apply" buttons we had, and all the supporting code
for consistency with other dialogues and to dissuade users from
editing function code etc. in the dialogues (as we already try to do
with a Guru Hint).

- The removal of the "Apply" buttons means that patch 3 is no longer
required, and has been reverted to simplify the code.

- The removal of the "Apply" buttons also obsoletes another bug that
caused a crash if renaming an object and then using the Apply button.
Dinesh had been working on a patch for this issue which was > 20KB and
made the browser code even more complex than it is now.

Patch 1: http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=commit;h=e97d351dcbc42a38f0054a81f37727d511087ffa

Patch 2: http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=commit;h=3e05c4d832e5658419094c34ce0ee6959bc1d85a

Patch 3: http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=commit;h=cb5dba55dc491107e4152bd80ec496294e449934

Comments please? I'm planning on applying to master and REL-1_16.

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

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

Attachment Content-Type Size
fix_collapse_and_apply.diff application/octet-stream 18.8 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-05-17 09:12:13 pgAdmin III commit: Fix SSL certificate authentication.
Previous Message Dave Page 2013-05-16 15:42:21 pgAdmin III commit: Remove unmaintained standalone pgScript test app.

Browse pgadmin-support by date

  From Date Subject
Next Message Travis Dart 2013-05-16 23:23:10 pgAdmin SSL support on OS X
Previous Message Dave Page 2013-05-16 13:37:28 Re: bug: repeated messages in pgadmin (1.18.0 Alpha 1) query tool messages pane