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.
In the BPEL Editor, Copy - Paste using Mouse is broken. You can Copy-Paste text using Ctrl+C abd Ctrl+V. But cannot do the same thing using mouse. STEPS TO REPRODUCE: Open a BPEL file in BPEL Editor. Switch to Source View. Using mouse select some text. Right click on the selected text and click Copy. Now, click somewhere else, Right click and notice that the "Paste" option in not available. Do a Ctrl+V to ensure that the text was actually been held in the clipboard - but NB does not show the "Paste" option.
strange ... I wonder if this problem exists in other XML source editors. I am sure that Ctrl-V worked in the past. Never tried to look for the Paste action.
what is going on here. I just tested it on windows and both Copy and Paste were avaialable in the source editor and both worked fine. what platform are you using.
changing to INVALID to see if our QE can quickly test this on other platforms. Otherwise we will need 12 hours until Hemant comes back.
Could reproduce this on Windows with build from 2006.09.21 Reopening the bug
This is on Windows XP on a Dell Intel laptop. I have Netbeans 5.5 Dev ( Build 200609150000, Ent Pack 20060915 )
must have been introduced in last 48 hours because i do not see it on 48 hour old build.
FYI: platforms: Windows XP, java 1.5.0_07 Windows XP, java 1.6.0-beta2-b86 It's reproduced with builds: 060922_16, 060919_33, 060915_1 and from 060623... So it looks like it's very old problem...
FYI: another use case: close navigator panel, open bpel editor switch to the source view close and then open IDE bpel source view opened, navigator panel closed all copy, paste, cut actions are disabled... It looks like problem joined with current active node and actionMap
Fixed in _dev branch.
File Changes: Directory: /enterprise/bpel/core/src/org/netbeans/modules/bpel/core/multiview/ ============================================================================== File [changed]: BPELSourceMultiViewElement.java Url: http://enterprise.netbeans.org/source/browse/enterprise/bpel/core/src/org/netbeans/modules/bpel/core/multiview/BPELSourceMultiViewElement.java?r1=1.1.2.7&r2=1.1.2.7.2.1 Delta lines: +5 -1 ------------------- --- BPELSourceMultiViewElement.java 28 Aug 2006 08:38:50 -0000 1.1.2.7 +++ BPELSourceMultiViewElement.java 3 Oct 2006 07:52:23 -0000 1.1.2.7.2.1 @@ -88,7 +88,11 @@ */ associateLookup(new ProxyLookup(new Lookup[] { // Lookups.singleton(getDataObject().getNodeDelegate()) - Lookups.fixed(new Object[] { getDataObject(), + Lookups.fixed(new Object[] { + // Need ActionMap in lookup so editor actions work. + // Fix for #85512. + getActionMap(), + getDataObject(), getDataObject().getNodeDelegate() }) })); /* * getDataObject() is put here because method createMultiView in
This is already fixed. Needs to be integrated in to release 5.5 branch
Reviewed this fix: the same thing already implemented in schema and wsdl source editors. Seems to be high effect, low risk fix.
Are there any other expected "benefits" from ActionMap? It seems strange that the only thing not working without the action map would have been the Paste?
Fixed in both branches.
"Paste" option in available WinXp 061004