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 134158 - ACTIONS: bound components are not updated with connection search engine
Summary: ACTIONS: bound components are not updated with connection search engine
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 13:11 UTC by Jana Maleckova
Modified: 2008-06-12 08:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2008-04-29 13:11:02 UTC
Product Version: NetBeans IDE Dev (Build 20080428054446)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
have basic JDA project
1. open Application Action Editor with all listed action
2. select e.g. "closeAboutBox" action => closeButton is listed in bound component window
3. press "q" in textbox for search
see - correct action is listed (quit) but bounded component hasn't been relevant yet - it corresponds with previous
selection.
Comment 1 Petr Dvorak 2008-04-30 10:13:37 UTC
Reproducible. The reason is that no item is selected in the list when searching. The list (with components and actions)
should force a select of the 1st (or 0th?;)) item while searching.
Comment 2 Jana Maleckova 2008-04-30 13:53:51 UTC
in case, user selects action, which comes from search, bound components are not changed and remain in the same state as
before searching. So it doesn't matter if item is selected or not. Search must be canceled to restore correct updating
of bound components.
Comment 3 Jan Stola 2008-06-03 10:28:57 UTC
There seems to be two issues:
1. The Bounds Components are not cleared when nothing is selected.
2. When the table is filtered then the selection is not correctly calculated. The selected index still refers to the 
original (e.g. non-filtered) table. Try for example to type 'q' into Search, select the only (e.g. quit) action and 
press Edit Action. The Close action is being edited instead.
Comment 4 Jan Stola 2008-06-03 13:44:47 UTC
Fixed - the described test-case works by now.

Modified files:
http://hg.netbeans.org/main?cmd=changeset;node=a6021a3e58fa (the first issue e.g. empty selection)
http://hg.netbeans.org/main?cmd=changeset;node=aca9f084065a (the second issue e.g. index in filtered table)
Comment 5 Jana Maleckova 2008-06-12 08:53:40 UTC
verified on

Product Version: NetBeans IDE Dev (Build 20080611050940)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)