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 211216 - JDBC:DERBY Sample Node Will Not Stay Choosen
Summary: JDBC:DERBY Sample Node Will Not Stay Choosen
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Windows Vista
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 02:49 UTC by MackSix
Modified: 2012-04-25 10:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (67.66 KB, image/png)
2012-04-16 02:49 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-04-16 02:49:09 UTC
Created attachment 118297 [details]
Screenshot

When I right click on the jdbc:derby Sample Database node, it will not stay chosen. It automatically un-chooses itself after ~2 seconds. If I right click on it, if I do not click "connect" or "disconnect" within 2 seconds, it un-chooses itself and the options all turn grey and are locked out (except for the "properties", and if I choose that, it shows a blank propertied window for the node.)

See attached screenshot.

Product Version: NetBeans IDE Dev (Build 201204150400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 MackSix 2012-04-17 22:53:11 UTC
Steps to reproduce.

1.) Start NetBeans and go to services tab.
2.) Right click on jdbc:derby://localhost:1527/sample [app on APP] node in Services>>Databases and choose connect.
3.) Do the same and choose disconnect.

If you choose the node now, it will only stay highlighted for ~2 seconds and then lose focus.

This may be related: http://netbeans.org/bugzilla/show_bug.cgi?id=210757

This is regression from 7.1.2 -> P1
Comment 2 MackSix 2012-04-17 22:56:28 UTC
Product Version: NetBeans IDE Dev (Build 201204170400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 3 Jan Peska 2012-04-23 14:03:53 UTC
fix: http://hg.netbeans.org/core-main/rev/955779a0bcc1
Comment 4 Quality Engineering 2012-04-25 10:00:58 UTC
Integrated into 'main-golden', will be available in build *201204250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/955779a0bcc1
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #211216 - JDBC:DERBY Sample Node Will Not Stay Choosen
Don't fire an event if connector is already disconnected.