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.

Bug 151179

Summary: Alt-Tab Focus issues
Product: ide Reporter: compucoder <compucoder>
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description compucoder 2008-10-23 16:38:20 UTC
When you use Alt-Tab to switch between NB and another app and then switch back it can keep the NB IDE in Alt mode. This
is dangerous as you may start typing and instead of writing code you could execute an action which could be bad.

To reproduce just use Alt-Tab to switch between NB and another program and keep doing it so you are flipping between
them and you will see it stuck in Alt-Mode.

I think you need to add an item in your onWindowFocus handler that makes sure Alt-mode is off and that the editor window
has focus for editing.

Thanks.
Comment 1 Jana Maleckova 2008-10-23 19:57:08 UTC

*** This issue has been marked as a duplicate of 73960 ***