Re: Patch: view data for tables/views on double click - Mailing list pgadmin-support

From Dave Page
Subject Re: Patch: view data for tables/views on double click
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E43064A6@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Patch: view data for tables/views on double click  (Ivan Nejgebauer <ian-pgasup@uns.ns.ac.yu>)
List pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Ivan Nejgebauer
> Sent: 16 September 2004 10:43
> To: pgadmin-support@postgresql.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


pgadmin-support by date:

Previous
From: "Diego A. Gil"
Date:
Subject: Re: Patch: view data for tables/views on double
Next
From: "Dave Page"
Date:
Subject: Re: Patch: password style for the "Add Server" dialog