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.
Summary: | value of new property is taken from the currently selected entry | ||
---|---|---|---|
Product: | utilities | Reporter: | Masaki Katakai <masaki> |
Component: | Properties | Assignee: | Marian Petras <mpetras> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jf4jbug, mmirilovic, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Masaki Katakai
2007-11-20 03:13:22 UTC
"Comment" field will be also re-used in newly added property. Confirmed (dev. build 071106, JDK 1.5.0_13, Linux, x86, 32-bit). *** Issue 130569 has been marked as a duplicate of this issue. *** *** Issue 123353 has been marked as a duplicate of this issue. *** *** Issue 123806 has been marked as a duplicate of this issue. *** *** Issue 130228 has been marked as a duplicate of this issue. *** There is additional information about this issue in bug report #130228. *** Issue 131470 has been marked as a duplicate of this issue. *** *** Issue 132139 has been marked as a duplicate of this issue. *** This bug is caused by contention of two routines manipulating with cell selection of the table. One routine is called every time the cell selection is changed and its goal is to correct cell selection if the selection should be cleared - in this case, it corrects the selection such that the cell corresponding to the last selected bundle entry (key/value pair) is selected. The second routine just selects the cell corresponding to the value just added by the user. Because addition of a new key/value pair comprises change of cell selection, both of these routines are called when the user adds a new entry which caused the symptoms described in this bug report. Fixed. The fix is quite simple - it temporarily disables the selection-correcting routine for the period of time when a new property is being added to the resource bundle. The result is that this correction routine does not override the selection determined by the routine for addition of a new bundle entry. Changeset: http://hg.netbeans.org/main/rev/b7541129cbe4 is ready for patch1 verified on Product Version: NetBeans IDE Dev (Build 20080423054047) 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) Merged into release61_fixes repository changeset: 77443:4c4d6839d177 user: mpetras@netbeans.org date: Thu Apr 17 22:26:42 2008 +0200 summary: fixed bug #122347 - "value of new property is taken from the currently selected entry" verified on patch 1 |