Skip site navigation (1) Skip section navigation (2)

Re: [pgadmin-support] Patch: view data for tables/views on double

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: ian(at)uns(dot)ns(dot)ac(dot)yu
Cc: pgadmin-support(at)postgresql(dot)org,pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin-support] Patch: view data for tables/views on double
Date: 2004-09-16 10:06:52
Message-ID: 414965BC.4000403@pse-consulting.de (view raw or flat)
Thread:
Lists: pgadmin-hackerspgadmin-support
Ivan Nejgebauer wrote:

First of all, this is certainly hackers stuff, please post on 
pgadmin-hackers!

> The attached patch a) defines a double click handler for the list in the 
> properties pane, so that a double click on an item

You're right, doubleclick is missing on the property pane.

  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.

This isn't acceptable like this, because it introduces different 
behaviour between clicking on a "properties" item and a tree item. Both 
must behave identically. Actually, not only double click is missing, but 
also right mouse click.

> 
> Rationale for different behavior with tables/views:

This is reasonable, but before that some prerequisites have to be met:
- the default action should be visible to the user, preferrably 
displayed bold in the context menu.
- the default action might differ from user to user. For sure, an 
unconditional "View Data" on a table is a bad idea. I already hear those 
guys yelling double clicking on a 100 million row table...

Regards,
Andreas

In response to

pgadmin-hackers by date

Next:From: cvsDate: 2004-09-16 10:07:42
Subject: CVS Commit by dpage: Updated todo.
Previous:From: cvsDate: 2004-09-16 10:04:07
Subject: CVS Commit by dpage: The password text field in the "Add Server" dialog

pgadmin-support by date

Next:From: Andreas PflugDate: 2004-09-16 10:07:17
Subject: Re: Patch: password style for the "Add Server"
Previous:From: Dave PageDate: 2004-09-16 10:05:53
Subject: Re: Patch: password style for the "Add Server" dialog

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group