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.
Everytime a new test class is run, I loose focus (e.g. I'm in browser, mail client, etc.) and JUnitTestRunner gets it. So I can't continue in my work...I have to wait to next focus switch. It's really really annoying and it blocks me in my work. Product Version: NetBeans IDE 7.1 (Build 201112071828) Java: 1.6.0_29; Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402 System: Mac OS X version 10.7.3 running on x86_64; MacCentralEurope; cs_CZ (nb) User directory: /Users/ondrej/.netbeans/7.1 Cache directory: /Users/ondrej/.netbeans/7.1/var/cache
It is reproducible in Product Version: NetBeans IDE Dev (Build 20120329-d043f946333a) Java: 1.6.0_29; Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402 System: Mac OS X version 10.7.3 running on x86_64; MacRoman; en_US (nb) User directory: /tmp/new Cache directory: /tmp/new/var/cache apple.awt.UIElement is set to false in common.xml so that tests do not steal focus when running any comments?
ooops, my bad :-( apple.awt.UIElement setting is not correctly propagated through macros in common.xml this is the cause: http://hg.netbeans.org/main/diff/21999677ab8c/nbbuild/templates/common.xml
main#1bef28e75b8b
Integrated into 'main-golden', will be available in build *201204050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1bef28e75b8b User: Lukas Jungmann <jungi@netbeans.org> Log: #208817 - Focus grabbed by tests