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 94243 - Option items are unset after switching between windows
Summary: Option items are unset after switching between windows
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Gregory Murphy
Depends on:
Reported: 2007-02-03 02:35 UTC by bugbridge
Modified: 2007-12-07 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-03 02:35:11 UTC
Original status: 3-Accepted

Described on 2006-01-18 as:

1. install Creator 2 build060117
2. create a new web app
3. drag-drop any component with option items, eg Dropdown List, Listbox, etc
4. take Dropdown List for instance, in Outline, click on
dropDown1DefaultOptions, then open Options dialog from Properties window
5. change Display or Value to the items, or add new items (do not close the
dialog at this time)
6. switch between the dialog and any other windows with mouse or keyboard

The changes made in step 5 will be set back to default. 
* On Windows, do step6 twice one will easily see the problem. On Solaris, one
may need to do more times, or click on the cell in the option dialog.

On 2006-03-03 gjmurphy wrote:
I am unable to reproduce on English Creator FCS, on Windows XP.
Can you try on a release build?

On 2006-03-07 response was:
The key step is the 4th. Be certain to go to Outline window, select
dropDown1DefaultOptions; then one will see there's "options" entry in Properties
window. Open Options dialog from there. (Please do not open Options dialog from
right-click contexual menu.) Then proceed with the left steps. 

I can show you through VNC. Let me know if you need the login info.

On 2006-03-09 gjmurphy wrote:
I've tried to follow the steps exactly as described, I still cannot reproduce.
What platform are you using, and what locale is it running in?

On 2006-03-10 response was:
Reproduced on WinXP, either English locale or Chinese locale.
If you are not able to reproduce,
try switching to another window then back to Options dialog.

On 2006-03-17 gjmurphy wrote:
I was able to reproduce this exactly once, on Creator installed on English
Windows XP, with some additional steps.

I had to delete my Creator user directory, start Creator, open a new project. I
then dropped a listbox on the designer. I then opened up Windows Explorer. I
then selected the options bean, opened the property editor for the options
property, modified the first option label, hit return. I then switched back to
explorer window, and from within, opened a second explorer. Using ctrl-tab, I
switched back to Creator, back to new Explorer window, then back to Creator.
After the final switch, my edits disappeared.

Subsequently, I was unable to reproduce. I suspect this is some obscure problem
with the Windows JVM.

Workaround exists: just perform operation again.