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 46907 - Find dialog delay
Summary: Find dialog delay
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-08-04 20:18 UTC by plank
Modified: 2007-11-05 13:44 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 plank 2004-08-04 20:18:35 UTC
This issue came up since upgrading from 3.5 to 3.6

I do not believe this issue to be solely related 
to the find dialog box, but this is the easiest 
occurance to report.

1. Select some text.
2. Press 'ctrl+f' immediately followed by <enter> 

I expect this to find me the next occurance of 
the selected text. It did in netbeans 3.5. And 
that is what it does if I wait for the find 
dialog to appear after pressing ctrl F.

But what happens when I don't wait for the IDE to 
catch up is that when I press enter, it 
overwrites the selected text with the carriage 
return, and then shortly afterward, the find 
dialog box pops up.

This could be a case of 'tough luck, get a faster 
PC' - but I'm hoping this can be fixed 
programatically.

My work-around is to type more slowly.

rob.
Comment 1 Dusan Balek 2004-08-13 11:46:23 UTC
Fixed in [maintrunk].
Blocking key events dispatched to editor after Ctrl-F util the Find
dialog gets focus.

Checking in ExtKit.java;
/cvs/editor/libsrc/org/netbeans/editor/ext/ExtKit.java,v  <--  ExtKit.java
new revision: 1.45; previous revision: 1.44
done
Checking in FindDialogSupport.java;
/cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogSupport.java,v 
<--  FindDialogSupport.java
new revision: 1.44; previous revision: 1.43
done
RCS file:
/cvs/editor/libsrc/org/netbeans/editor/ext/KeyEventBlocker.java,v
done
Checking in KeyEventBlocker.java;
/cvs/editor/libsrc/org/netbeans/editor/ext/KeyEventBlocker.java,v  <--
 KeyEventBlocker.java
initial revision: 1.1
done