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 203826 is here again. It has the same symptoms. Moreover it is visible that status of actions (enabled/disabled) is changed after while when popup menu is shown. It is really slow. Does it some relation to broken clipboard? -- steps from bug 203826 --- Paste refactoring menu is not properly refreshed for the first time but only when context menu is called second time on the node of same type. It is high priority because it blocks commit validation tests and it is a regression. To reproduce: - create java project - create a new package - right-click JavaApplication1.java node and choose Copy - right-click newpackage. There is "Paste" instead of "Paste|Refactor Copy..., Copy" - right-click newpackage again. It is OK now. - right-click JavaApplication1.java node. There is "Paste|Refactor Copy..., Copy" item enabled but it should not be. - right-click JavaApplication1.java node again. It is OK - Paste is disabled. Product Version = NetBeans IDE Dev (Build 201209170001) (#1d9cebae5bf2) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01; Oracle Corporation
Caused by me messing with bug 88161.
Marking as duplicate. My fix created for bug 218447 seems to fix the "Paste|Refactory Copy.., Copy". *** This bug has been marked as a duplicate of bug 218447 ***
Bug 218447 seems to be fixed but this one is still reproducible.
In such case, I can't reproduce the problem with 1d21e3acbfb1 when I 'right-click newpackage. There is "Paste" instead of "Paste|Refactor Copy..., Copy"', I see "Paste|Refactor Copy..., Copy"
Still reproducible in dev build 201209210001. Steps: - download from http://bits.netbeans.org/download/trunk/nightly/2012-09-21_00-01-28/zip/netbeans-trunk-nightly-201209210001.zip - start IDE - create java project (java feature enabled) - right-click javaapplication1 package and choose "New|Java Package" - click Finish to create package - right-click JavaApplication1.java node and choose Copy - right-click newpackage. There is "Paste" instead of "Paste|Refactor Copy..., Copy" - right-click newpackage again. It is OK now. - right-click JavaApplication1.java node. There is "Paste|Refactor Copy..., Copy" item enabled but it should not be. - right-click JavaApplication1.java node again. It is OK - Paste is disabled. Product Version: NetBeans IDE Dev (Build 201209210001) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
I've just tried it on my Linux with KDE4 and Metal L&F: (In reply to comment #5) > Still reproducible in dev build 201209210001. Steps: > > - download from > http://bits.netbeans.org/download/trunk/nightly/2012-09-21_00-01-28/zip/netbeans-trunk-nightly-201209210001.zip > - start IDE > - create java project (java feature enabled) > - right-click javaapplication1 package and choose "New|Java Package" > - click Finish to create package > - right-click JavaApplication1.java node and choose Copy > - right-click newpackage. There is "Paste|Refactor Copy..., Copy"
Maybe platform or JDK specific.
OK, on Windows XP the behavior is broken.
Changeset: c5430e234bdf Author: Jaroslav Tulach <jtulach@netbeans.org> Date: 2012-09-27 12:59 Message: #218466: Wait for background refresh of paste action delegates before returning them when requested.
Would be nice to have this in Beta, so we will get an earlier feedback from end users.
I don't have a build to verify it in. It is P1 because it is a regression and it blocks tests. Otherwise it is not so critical because it works on second attempt.
(In reply to comment #11) > I don't have a build to verify it in. It is P1 because it is a regression and > it blocks tests. Otherwise it is not so critical because it works on second > attempt. I am removing 73beta-stopper tag. Too risky for Beta now, and not a P1 from user's point of view. Jirko, please verify the fix in trunk soon anyway.
Integrated into 'main-golden', will be available in build *201210010929* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c5430e234bdf User: Jaroslav Tulach <jtulach@netbeans.org> Log: #218466: Wait for background refresh of paste action delegates before returning them when requested. Issue #218466 - Paste not refreshed according to context
Verified in NetBeans IDE Dev (Build 201210010929).