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.
All refactor sub menu items are disabled since build #3692. Probably caused by the commit samaresh: fix for 116998: Multiple cut/copy/paste doesnt work in schema 1.6 xml/schema/schemaui/src/org/netbeans/modules/xml/schema/ui/basic/SchemaColumn.java See http://deadlock.netbeans.org/hudson/job/testsHistory/ws/results/netbeans_6.0_validation/20071004063727/quality_engineering-validation/deadlock/testrun_071004-073449/testbag_3/user/o.n.t.x.s.A/refactorComplexType/screen.png http://deadlock.netbeans.org/hudson/job/testsHistory/ws/results/netbeans_6.0_validation/matrix-netbeans_trunk-quality_engineering-validation-deadlock.html
Let me take a look.
Just made a fresh build, I can see that refactor sub menu items are enabled. Tony, Misha can you please verify the same?
All refactor sub menu items are available for me. Build 200710040000 on Mac and Linux.
jskrivanek, the changes I made yesterday shouldn't cause this issue. Also we're able to see enabled manu items, not sure what's causing the tests to fail. Can you try this manually on your system and if it works, check the test code.
To reproduce: - create a new java project - open new file wizard - choose XML|XML Schema - finish the wizard - right-click "http://xml.netbeans.org/" and choose "Add|Complex Type..." - confirm the Add dialog - right-click "http://xml.netbeans.org/" and choose "Add|Attribute..." - confirm the Add dialog - select "Complex Types" - right-click "newComplexType" and choose "Add|Attribute Reference..." - int the dialog select "Attributes|newAttribute" - click OK - right-click newComplexType but Refactor sub menu items are disabled Build 20071005040152, Java: 1.6.0_03-b02, Windows XP.
Reproducible for me. JDK6, WinXP, build 200710050000
I can reproduce following those steps on Linux Build 200710050000. I found that it is only reproducible in Columns view and a work around is to click in the second column (the one with the complex types).
Since there is a workaround this should be a P2.
This is not a regression, just a new issue discovered recently.
This is a regression because something that worked before build 20071004063727 doesn't work anymore. And according to http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html I am changing priority to P1. Also, please, take into accout that this issue breaks the validation suite on deadlock.netbeans.org. It means all NetBeans developers are affected because NetBeans continuous build is marked as unstable since October 4-th. Thank you in advance for fixing this issue or reverting offending commit.
Upon further review, the workaround is only good for the steps provided, but the problem goes further but always only in Column View, I actually think this is P1 and a stopper now.
I'm testing this on Beta 1 and found the same issue, so I do not understand the claim that it used to work before 10-04. In any case, I have a fix that will fix the issue partially, that is, user needs to click and then right-click. This is applicable to cases when user wants to do things on B but the earlier click was on C in path A->B->C. /cvs/xml/schema/schemaui/src/org/netbeans/modules/xml/schema/ui/basic/SchemaColumn.java new revision: 1.7; previous revision: 1.6 /cvs/xml/xamui/src/org/netbeans/modules/xml/xam/ui/column/ColumnListView.java new revision: 1.5; previous revision: 1.4 I'm marking this as a P3. If the unit tests still do not work, please fix the tests and add a left-click before the right-click actions.
The test used to work before 10-04. Anyway thank you for the fix. The test passed in recent builds.
Product Version: NetBens IDE Dev (Build 200710031200) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03_b05 System: Windows XP version 5.1 running on x86; Cp1252; en_us (nb) With the stated configuration the problem is still there. It is strange that tests started to fail because the issue existed before 10/4 it was just not caught. I will try to reproduce again w/ Beta1 to see if it has always been a problem.
Reproducible in Beta 1 which was well before 10/4 Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709141330) 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)
Still reproducible in Beta2
Of course it is, otherwise I would have marked it as fixed. First left-click and then right-click to have the correct menu items.
Works for me in 6.1 and trunk builds. Please verify.
System: Product Version: NetBeans IDE Dev (Build 200805271203) 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.2 running on x86_64; MacRoman; en_US (nb) Still reproducible for me. (see screenshot)
Created attachment 62013 [details] Issue seen in 6.5 dev build
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