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 135375 - Problems with Copy/Paste in NetBeans 6.1 code editor
Summary: Problems with Copy/Paste in NetBeans 6.1 code editor
Status: RESOLVED DUPLICATE of bug 135732
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-05-19 18:15 UTC by omigliarini
Modified: 2008-07-17 10:12 UTC (History)
1 user (show)

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 omigliarini 2008-05-19 18:15:35 UTC
ISSUE: NetBean 1.6, component: Editor (editing java code en a MIDP project)

1-)The key combinatios Ctrl C and Ctrl V are frequently out of order.
2-) Once the string "cg_in_localidad" was misundesrtand as "cgin_localidad"


Thanks
Comment 1 Jiri Prox 2008-05-20 08:04:35 UTC
I'm sorry but I don't understand your report. 

1) What do you mean by "out of order." Does it mean they does not work at all? 
2) Did you mean the code was pasted wrongly?
 
Comment 2 Jiri Prox 2008-05-21 13:10:56 UTC
from reporter's mail:
1) Not al all, in some occasions the Ctrl C combination not replace the
last stored text.

Thanks for response, but we still need some info. Feel free to attach your response directly to this issue.
What JDK version do you use? Do alternate clipboard shortcuts (ctrl-insert, shift-insert) work? 
Comment 3 Jiri Prox 2008-05-22 09:40:48 UTC
from reporter's mail:

JDK version 1.6.0_06

1- The alternate clipboard shortcuts (ctrl-insert, shift-insert) work,

2- Today occurs that i paint same character in a text with the purpose
of replace it by another text, the new text spelled do nor replace the
old , but it was inserted
Comment 4 Vitezslav Stejskal 2008-06-02 09:46:48 UTC
So, the problem is that Ctrl+C/Ctrl+V randomly stop working, right? It would be helpful if you could find some pattern
in this behavior and advice us with steps how to reproduce it. Thanks
Comment 5 Vitezslav Stejskal 2008-06-02 10:47:50 UTC
Are you using multi-keybindings such as 'Ctrl+U U' for converting text to uppercase? If so then this is known to cause
problems with copy/paste, see issue #135732 for details. Thanks
Comment 6 Max Sauer 2008-06-23 08:57:17 UTC
Missing info from reporter=> INCOMPLETE.
Comment 7 omigliarini 2008-07-16 17:47:21 UTC
I have confirm that de Ctrl + U, U,L key combinations are the causal of the subsequent abnormal behavior of the Editor.
Try this:
1- edit Hello.java

1 class Hello 
2 {
3	public static void main(String[] args) 
4	{
5		System.out.println("Hello World!");
6	}
7}

2- paint line 5 and do Ctrl C. This copy the line to the clipboard.
3- on line 6 do Ctrl V . This duplicate de line 5 and create a new line 6.
4- paint the text Hello Word! on line 6, then do Ctrl U U. The text change to upper.
5- paint line 6 and do Ctrl C. 
6- on line 7 do Ctrl V . The new line is not correct.

I was confirm that switching to other file and then back to the first walk around the problem. 
Comment 8 Vitezslav Stejskal 2008-07-17 10:12:53 UTC
Thanks from the detailed information. This problem is fixed in dev builds, please see issue #135732 for details.

*** This issue has been marked as a duplicate of 135732 ***