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.
-Copy some text into the clipboard from a notepad. -right click in the editor =>paste is not enabled
It works for me on the RH9 Linux (using gedit). Martin R. will test on Windows. Tim, could you please mention the build number and JDK version? Thanks.
It works for me on winXP on JDK 1.4.2 and 1.5 Setting TM preliminary to future
Changing subcomponent to clibboard.
reproducible in 4.0 final java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) the clipboard should be probably empty before trying to reproduce
I cannot reproduce it. Can you reproduce it always using mentioned reproduction steps? (If yes, I could prepare some debug patch) Is it reproducible also using latest dev builds? What type of editor are you using? HTML? Java? Are there any guarded blocks in the document? Thanks.
Here are the steps to reproduce this bug: -close all opened files -restart NetBeans -open a java file -select some code -rmb -copy -open a java/form file -rmb over a component -properties -switch to the opened java file -minimize netbeans (click on the button in the taskbar) -maximize netbeans (click on the button in the taskbar) -rmb in the java file => "Copy" is disabled the issue is also reproducible in 4.1 (I switched between the design view and source view in a form/java file)
Thanks. I reproduced it on current dev builds. It can be reproduced more easily: 1. open first java file and select some code 2. open second java file and invoke context menu via rmb 3. click the tab of the first file (Note there is no focus in the first file) 4. rmb - copy is disabled It is because the second file gained the focus instead of the first during performing the step 3 I will investigate further
It is not NetBeans problem. It is regression in JDK 1.4, already fixed in JDK 1.5. (I confirm I cannot reproduce the problem using JDK 1.5) For more details: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4912806 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4799336 closing as wontfix
ok
Moving to the 'other' subcomponent.