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.
Build 200412011810 (RC2), Windows specific. JDK 1.5.0_01 & 1.4.2_06 1) Have clean userdir, newly created Java project, edit Main.java 2) Mark e.g. 'String' and paste it to clipboard (Ctrl-C or Ctrl-Insert) 3) Move cursor anywhere (e.g. to the document begin) 4) Ctrl-F (Find) 5) Paste the text using Shift-Insert (! not Ctrl-V) 6) Enter (to find) 7) ERROR: No occurence found. There's "'' not found" text in status bar Notice: Using Ctrl-V in step 5 works fine. BTW: It took me several hours! to find out why it doesn't work. Sometimes I simply thought there is really no any occurence of searched text in the file although there was.
wrong summary, sorry.
The Find dialog contains a regular JTextField for entering of the searched string. Therefore the Shift-Insert does not work there because it's specific to the editor window. This has never worked in the past so it's not a regression but I think that this is a valuable enhancement.
I have just tested it in 3.6 and it works fine there! - it's a regression. BTW Shift-Insert works fine in all other edit boxes in 4.0 IDE (e.g. Project wizard, Project properties, etc.)
Yes, I can reproduce it in NB4.0 RC2. The problem seems to be fixed in maintrunk
No, I can reproduce it also in maintrunk
It works fine in 200410261800 build and fails in 200410271800 build.
Karle, my apologies, I was wrong. The regression is likely caused by the following integration into FindDialogSupport: revision 1.51 date: 2004/10/27 09:43:52; author: dbalek; state: Exp; lines: +2 -2 Issue #49696 fixed. Modified to prevent find operation from dropping last characters.
On today's editor meeting we have agreed that (although this is a regression) this does not qualify as P2 issue. Downgrading to P3.
fixed in [maintrunk] /cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogSupport.java,v <-- FindDialogSupport.java new revision: 1.65; previous revision: 1.64
Verified, thanks for the fix.
*** Issue 56950 has been marked as a duplicate of this issue. ***
Reopening, shift insert doesn't work now on Linux and Solaris in find dialog. It works in other parts of the IDE.
Target milestone is obsolete, please re-evaluate. Thanks.
Reproduced on Linux. Setting TM to future.
Fixed. Checking in FindDialogSupport.java; /cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogSupport.java,v <-- FindDialogSupport.java new revision: 1.77; previous revision: 1.76
Moving to the 'other' subcomponent.