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 131066 - Navigator does not remove and rename items for mobility development
Summary: Navigator does not remove and rename items for mobility development
Status: RESOLVED WORKSFORME
Alias: None
Product: javame
Classification: Unclassified
Component: Visual Designer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 16:59 UTC by Petr Dvorak
Modified: 2010-09-15 05:46 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 Petr Dvorak 2008-03-25 16:59:44 UTC
Product Version: NetBeans IDE Dev (Build 200803250006)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

This is a test scenario that shows that the Navigator window probably does not work correctly:

1. Open a fresh NB instalation with a mobility pack.
2. Go to File > New Project, select Mobility > MIDP Application
3. Click Next
4. Uncheck the "Create Hello MIDlet" checkbox
5. Click Finish
-> New project is created

6. Select the project in the Projects view, click File > New File
7. Select MIDP > Visual MIDlet in the New File wizard, click Next, fill in the package name ("midlet" for example),
click Finish
->you should see the Flow design

8. Go to the Navigator window now
9. Try to expand the "Displayables" node - it is empty, the arrow dissapears.
10. Right-click the "Displayables" node, choose New/Add > Form
-> New form "form" is created

11. Right-click form "form", choose Rename, fill in name "myForm" and confirm
-> nothing changes in the Navigator window, there is still name "form". We will refer to this form as to "myForm"
-> note2forget: if you select the "form" ("myForm") and if you change some property (title), the Navigator is refreshed

12. Right-click "Diaplayables" again, add new form again, rename it to "myNewForm"
-> you do not see any change again, there are 2 forms called "form" in the Navigator window
-> we will refer to this new form as to "myNewForm"

13. Right-click "myNewForm", choose "Delete", you will see the dialog with items to delete - confirm it
-> form is deleted in the Navigator

14. Right-click "myForm" and choose "Delete"
-> you will see the dialog, but there are no items to delete, so you cannot delete the "myForm"
Comment 1 Petr Dvorak 2008-03-25 17:10:29 UTC
Note: For some reason, this issue is not always reproducible (lets say 70% reproducible).
Comment 2 Adam Sotona 2010-09-15 05:46:06 UTC
with NB 6.9.1 I am unable to reproduce the issue