Re: Patch: view data for tables/views on double click

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <ian(at)uns(dot)ns(dot)ac(dot)yu>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Patch: view data for tables/views on double click
Date: 2004-09-16 09:56:07
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E43064A6@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of
> Ivan Nejgebauer
> Sent: 16 September 2004 10:43
> To: pgadmin-support(at)postgresql(dot)org
> Subject: [pgadmin-support] Patch: view data for tables/views
> on double click
>
> The attached patch a) defines a double click handler for the
> list in the properties pane, so that a double click on an
> item in the list launches the properties editor for the item
> (or the data view if the item is a table or a view); and b)
> modifies the tree view double click handler so that a double
> click on a table or a view launches the data view for the
> corresponding table/view.
>
> Rationale for different behavior with tables/views: most of
> the time, it is expected that the user is interested in
> table/view _data_, not properties, so the default action on a
> table/view shoud be to display its data.
>
> Comments?

That breaks the principle of least surprise because it introduces
inconsistent behaviour.

Perhaps a better approach would be to open the data view only if
'double-click-for-properties' is turned off?

Regards, Dave

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2004-09-16 10:05:53 Re: Patch: password style for the "Add Server" dialog
Previous Message Diego A. Gil 2004-09-16 09:55:22 Re: Patch: view data for tables/views on double