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 Search dialog, if the Substring field is filled by pasting text from the clipboard using mouse (by pressing the middle button), the Search button remains disabled. If the paste action is invoked using a keyboard shortcut (Ctrl-V), the Search button gets enabled.
Accepted.
Caused by the fact that typing into textfields (substring/regexp) is detected by key listeners, not by document listeners. If the text is not typed but pasted or entered in yet another way, the UI is not notified of the change of textfields contents.
Fixed in the trunk. Modified file: utilities/src/org/netbeans/modules/search/types/TextCustomizer.java (1.23)