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 187025 - Main menu stays activated when typing Alt-Tab quickly enough (for changing window focus away from NB)
Summary: Main menu stays activated when typing Alt-Tab quickly enough (for changing wi...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@platform
URL:
Keywords:
: 224002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-01 10:32 UTC by Bandi_T
Modified: 2013-12-03 18:21 UTC (History)
2 users (show)

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 Bandi_T 2010-06-01 10:32:54 UTC
Main menu gets activated and stays activated if I switch away from NB with Alt-Tab if I hit Alt and Tab quickly enough in the right cadence. Then when I switch window focus back to NB (doesn't matter whether with Alt-Tab or by activating the window on the taskbar), my keyboard focus is on the main menu instead of where I was in my typing, so to continue my typing first I need to unfocus the main menu (e.g. by hitting Esc or Alt or by clicking with the mouse).

Minor annoyance (easy to work around, no major side effects) but happens often for me.

Product Version = NetBeans IDE 6.9 RC1 (Build 201005242201)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13
Comment 1 David Strupl 2012-12-19 08:13:15 UTC
*** Bug 224002 has been marked as a duplicate of this bug. ***
Comment 2 dumblob 2013-12-03 18:03:16 UTC
I'm encountering similar issue. When I'm in the text editor and switch from NB to another non-NB window and back, the text editor lost its focus and therefore I'm forced to click there. Interestingly enough, it makes absolutely no difference if switching fast or slow between NB and non-NB windows. This is really annoying behavior because I'm switching between windows quite often.

Another interesting fact is I'm using NB 7.4 under Linux.

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1
Java: 1.7.0_45; OpenJDK 64-Bit Server VM 24.45-b08
Runtime: OpenJDK Runtime Environment 1.7.0_45-b31
System: Linux version 3.10.19-1-lts running on amd64; UTF-8; en_US (nb)
User directory: /home/user00/.netbeans/7.4
Cache directory: /home/user00/.cache/netbeans/7.4
Comment 3 dumblob 2013-12-03 18:21:33 UTC
(In reply to dumblob from comment #2)

I'd like to apologize for mystification. The actual problem is that after switching between NB and non-NB windows, NB jVi plugin can't switch between tabs using gt gT shortcuts (they cause NB window focus loss instead), but text editor does have focus (and I can write in without any problems). I'm not sure if this is jVis or NBs failure. It seems like some state-desynchronization between NB and jVi.