see attached movie.
Instead, if you press next previous occurrence, you can type in search text - but only once (at first time). Then, it is not possible to change text you are looking for.
Created attachment 107050 [details]
To get access to Find dialog, use command-F shortcut or from menu Edit->Find.
It works fine in 6.9.1
I can confirm, that Command + F works with Mac OS X - thus, this error is not a stopper. However, why pressing magnification glass doesn't open the dialog?
The following is happening:
1) user clicks on 'Find' button
2) setPressed(true) is invoked on the DefaultButtonModel
3) setEnabled(false) is invoked on the DefaultButtonModel because FindAction was disabled due to focus change to 'Find' button
5) user releases mouse
4) setPressed(false) is invoked on the DefaultButtonModel
5) setPressed() does nothing since setEnabled() false cleared ARMED and PRESSED state.
It looks like regression in openide/action.
Created attachment 107122 [details]
Test and unfinished fix
One fix in the infrastructure, one in the profiler:
The similar code to ergonomics#e6f2fe03f69a is used on several other places. These need to fixed too.
Fixed in profiler-main
user: Tomas Hurka <email@example.com>
date: Tue Mar 22 11:32:33 2011 +0100
summary: additional bugfix #196776: connect FindAction with TopComponent's lookup via ContextAwareAction
Integrated into 'main-golden', will be available in build *201103230400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Tulach <firstname.lastname@example.org>
Log: #196776: Ignore changes of focus to button with ContextAwareAction
Merged as releases#6f0fb8e64568
i cannot reproduce this case in profiler in latest 7.0rc1 build - verified.
Product Version: NetBeans IDE 7.0 RC1 (Build 201103250000)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.35-28-generic running on amd64; ANSI_X3.4-1968; en_US (nb)