This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 76129

Summary: [55cat] Dbl-Click on db conn should open connect dialog if disconnected
Product: db Reporter: giorgio42 <giorgio42>
Component: CodeAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: blocker Keywords: NETFIX
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152816    
Attachments: proposed patch v1

Description giorgio42 2006-05-09 20:56:59 UTC
[ BUILD # : 200605090500 ]
[ JDK VERSION : 1.6 ]


This is would be "good style" (implementing a default action), and the user (in this case, me :-)), would not have to display the context menu first, to connect to the database.

Cheers,
Georg
Comment 1 Jiri Rechtacek 2009-10-16 14:11:54 UTC
Reassigned to new owner.
Comment 2 matthias42 2012-10-07 12:38:15 UTC
Created attachment 125527 [details]
proposed patch v1

The attached patch returns the connect action as the preferred action of a connection node if the connection state is disconnected. If the node represents a connected node, the default (null) is returned.
Comment 3 Jaroslav Havlin 2012-10-12 15:16:10 UTC
Integrated as http://hg.netbeans.org/core-main/rev/6f9d6f79d63d

Thank you, Matthias!
Comment 4 Quality Engineering 2012-10-13 02:10:56 UTC
Integrated into 'main-golden', will be available in build *201210130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6f9d6f79d63d
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #76129: Dbl-Click on db conn should open connect dialog if disconnected