Re: Netbeans 6.1 focus-switch glitch



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.

I conclude that this is not a NetBeans issue.

--
Lew
.



Relevant Pages

  • Re: FAQ Topic - I have window.status="Moomin"; why doesnt the statusbar change? (2009-11-
    ... september.org>, Tue, 10 Nov 2009 00:45:25, Garrett Smith ... change during the test, but the status bar ... Using window.status (choosing a browser that does it) is far easier to ... and the progress can be seen with just a corner of the window ...
    (comp.lang.javascript)
  • Re: FAQ Topic - I have window.status="Moomin"; why doesnt the statusbar change? (2009-11-
    ... evidence that the status bar is a good place ... Where the status bar is present, the browser may be configured to ... So the script may be able to set status bar text, and the FAQ would be ... It is possible that the page contains instructions to read the status ...
    (comp.lang.javascript)
  • Re: formatting in a text box
    ... > different browser is used. ... It's on the drawing tool bar. ... View the page in HTML code mode? ... Use an HTML validator. ...
    (microsoft.public.frontpage.programming)
  • Re: Kiosk Mode for IE6
    ... There is a difference between full screen and kiosk mode. ... browser you should look at using Group Policy settings or try the MS ... from the View>Explorer Bar menu. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Internet Explorer URL Spoofing Threat
    ... Recently I advised Microsoft of a vulnerability in Internet Explorer ... completely different URL in the address bar. ... copy/paste the URL into a browser. ... it hardly reduces the effectiveness of this attack. ...
    (Focus-Microsoft)