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 84379 - ALT key does not deactivate properly when ALT-TAB is pressed
Summary: ALT key does not deactivate properly when ALT-TAB is pressed
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-09-06 22:14 UTC by dclayton
Modified: 2008-12-23 00:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dclayton 2006-09-06 22:14:51 UTC
When pressing ALT-TAB to switch to another application, NetBeans will sometimes
capture the ALT keypress and activate the NetBeans menu by highlighting the
"File" option.  This menu will still be activated when returning focus to the
NetBeans application.

The result is that a user who ALT-TABs away from and back to NetBeans may
execute unexpected commands because he or she expects keypresses to go to the
active editor window, not the menu.  I have actually damaged my development
environment doing this.  This behavior is inconsistent with other Windows
applications.
Comment 1 Marian Mirilovic 2006-09-11 12:50:39 UTC
It worksforme in NB dev (200608221800), JDK 6.0 (b98) ... could you please
provide your NB build number and JDK version/number ?
Comment 2 David Simonek 2006-09-18 14:14:53 UTC
Unfortunately this is known JDK bug, nothing we can do on Netbeans side.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6458497

Appearance of this bug relates to the time and the way how Alt+Tab is pressed.
When you press it slowly and first the Alt, then the Tab, release Tab, release
Alt, error is more reproductible.