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.
Product Version: NetBeans IDE Dev (Build 200708210000) First time right-click in Design view brings on menu with disabled item Delete. Next clicks works fine. Steps to reproduce 1. Create BluePrint1 Sample and BPEL module. 2. Add to Module sample Loan Application Schema. 3. Add to Sample reference to Module. 4. Open purchaseOrder and import reference to newLoanApplication. 5. Add two Elements to purchaseOrder using Complex type from newLoanApplication. 6. Go to source code view. 7. Remove first line with Elements and immediately switch to Design view. 8. Removed Element will disappear from Design view in few seconds. 9. Right-click on second Element which is still presents. You'll see context menu with disabled Delete item. Right-click again -- everything fine. Note: if you deside to remove Element from schema view, not from source, issues will not reproduce.
I dont see this issue. Secondly, if you do see this bug which goes away with second click or few secs, how is this a P2?
You did not understand or I was not clear enough :) Yes, deleted Element gone in few seconds -- this is NOT a bug. After first Element gone you should right-click on second Element. Delete menu item disabled -- this IS bug.
I understood the issue and I am not talking about first element. After deleting First element, I switch to the DV view, see the First element disappear in few secs. After that I right-click on second Element and see the Delete menu item. Its not disabled. I cannot see the bug. My question to you was since the Delete menu item comes back to you on second-click or few secs, what is user unable to do? how is this justified to be a p2?
Created attachment 47076 [details] screenshot
I able to reproduce as many time as I tried to. Did you delete element using source view or schema view? There is workaround (second time right click), so this is not P1.
Tony, please can you take a look at this bug?
Product Version: NetBeans IDE Dev (Build 200708210000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) I was unable to reproduce this also. Steps: -Create BluePrint1 sample project -rightclick BluePrint1 module -> select new Loan sample schema -open Purchase Order Schema -add reference to loan schema via Add->Import->loanSchema -(two times)right click element node of purchase order add element->existing type ->referenced schema -> choose a type -go to source view, delete newElement -switch to Design View, newElement is gone -right click newElement1 and Delete is enabled
I talked to Sam about this bug and he said it could be related to http://www.netbeans.org/issues/show_bug.cgi?id=85578 Design view: Delete not always enabled on pop-up menu Please note that the steps to reproduce 85578 are different from the ones described in this bug. We are unable to see this issue with the steps described in this bug. The cause for 85578 is not known. I will raise this bug in iteam and reduce its priority to p3
Yes, bugs looks similar. Well, I'm unable to reproduce with latest build and agree with P3.
Product Version: NetBeans IDE Dev (Build 200709260000) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) I can reproduce this by the steps described in desc1, on Mac OS.
Easier steps to reproduce this: 1. Create a new Java App 2. Add a new schema 3. In schema view add 2 new elements 4. Switch to Design View 5. Right click one of the new elements and select Delete and then refactor 6. Once Design View updates, repeat step 5 and Delete is disabled. These Steps work on Mac, Solaris and WinXP.
To enable Delete if it is disabled it to click somewhere in the editor then bring the contex menu back up.
This is working in 6.1
Still happens problem. Product Version: NetBeans IDE Dev (Build 200807170007) Java: 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 1.6.0_05-b13-52 System: Mac OS X version 10.5.4 running on x86_64; MacRoman; en_US (nb)
Not for this release.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss