Re: Netbeans 6.1 focus-switch glitch
- From: Daniele Futtorovic <da.futt.news@xxxxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 01:19:49 +0200
On 30/07/2008 23:33, Lew allegedly wrote:
On Jul 30, 2:16 pm, zerg <z...@xxxxxxxx> wrote:This is slightly annoying. Switching tasks away from Netbeans and back
seems to focus the menu bar most of the time, so if you, say, type some
code, then alt-tab to the browser displaying some javadoc, then alt-tab
back and type, it pulls down menus and generally goes nuts.
As near as I can tell, most Windows apps focus the menu bar if alt is
pressed, but ignore alt if the app is just gaining focus and alt is
depressed at the time; that is, they require an alt-down event to focus
the menu bar, and alt-down events are only generated if alt goes from
raised to depressed while the app has focus. If you hit alt-tab in a
browser, the browser sees the only alt-down event generated.
Unfortunately, Netbeans appears to generate alt-down events if it gains
focus while alt is being held down. So both the browser AND Netbeans see
alt-down events if Netbeans is the destination app.
I tried to duplicate this behavior using NetBeans under windows and I
cannot. I put focus in an editor window (a .java source file, as it
happens), alt-tabbed to a different window (Firefox browser), then alt-
tabbed back to NB. Focus remained in the editor window and did not go
to the menu bar.
Double that.
Focus goes to the menu bar on ALT KEY_RELEASED, or maybe KEY_TYPED, but not on KEY_PRESSED.
--
DF.
.
- Follow-Ups:
- Re: Netbeans 6.1 focus-switch glitch
- From: zerg
- Re: Netbeans 6.1 focus-switch glitch
- References:
- Netbeans 6.1 focus-switch glitch
- From: zerg
- Re: Netbeans 6.1 focus-switch glitch
- From: Lew
- Netbeans 6.1 focus-switch glitch
- Prev by Date: Re: Compile Date
- Next by Date: Re: Upgraded USENET (Re: Missing Lew's posts but not the impostor?)
- Previous by thread: Re: Netbeans 6.1 focus-switch glitch
- Next by thread: Re: Netbeans 6.1 focus-switch glitch
- Index(es):
Relevant Pages
|