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.
1. Select, for example, some folder in the Explorer window and call Properties window from context menu. 2. Focus is in the Propeties window. Push ALT-TAB key until Explorer is activated. 3. Pushing Down or Up arrow in Explorer does nothing, focus has been lost. As workaround I close Explorer via ALT-F4 and open it again from main menu. Product Version = Sun ONE Studio 5, Standard Edition (Build 030304) IDE Versioning = IDE/1 spec=3.42 impl=030304 Operating System = SunOS version 5.8 running on sparc Java; VM; Vendor = 1.4.0; Java HotSpot(TM) Client VM 1.4.0-b92; Sun Microsystems Inc.
I am sorry, but I cannot reproduce (strictly speaking I am not understand): If you said that invoke properties window by pushing context menu "Properties", than new separate properties window should be opened, than you cannot move focus by Tab / Ctrl+Tab to Explorer (it's another window) !
Absolutely agree new Property window is other one. But the ALT-TAB key allows to walk on all existing windows, correct? The issue report underlines when we will be again in this Property window a focus is lost. Note also this issue exists ONLY for the SDI mode. All correctly works for the MDI one. I very hope my explanation will help you.
Thanks for explanation, but I cannot reproduce still. Maybe settings of your window manager is important: do you use "focus follows mouse" ?
Unfortunately I don't see me latest comments done today morning for this issue. Therefore I need to repeat some notes. Probably I'm clear why you cannot to reproduce this issue. Firstly there is a small typo in the my previous comment. The following sentence when we will be again in this Property window needs to read as when we will be again in this Explorer window. -------- Secondly I would like to note this issue is reproducible for the jdk1.4.0 but not jdk1.4.1. All works without any issues for the latest jdk version.
Yes, I havce reproduced it, thanks. Issue is reproducible only with [jdk1.4.0](x), it isn't reproducible on [jdk1.4.1](x) neither [jdk1.4.2](bx). Marek, it seems like if Window(Explorer) is "focused" (active), it has not focus, focus is still inside property sheet window.
I tested on Linux, current dev build and it works (JDK 1.4.0_02, nb dev build 030312, SDI). Marian please can you check. Is it specific only to Solaris? I switch among windows using keyboard Alt-Tab in my case. Recently as I fixed issue #29848 there was change in ExplorerTab.requestFocus(). Thanks.
Marek: I can still reproduce it :(
I would like to say I reproduce this issue on Solrais platform with JDK1.4.0 and SDI mode. I use the latest Nevada build from 2003/02/10.
As it happens only on Solaris and JDK 1.4.0 I suggest to close this issue. It looks like it is problem of JDK with transfering focus between heavyweight components (native windows). It works fine on JDK 1.4.1 so as workaround I suggest to upgrade JDK. We investigated it with Marian and focus stays in original (Properties) window. We do not receive FOCUS_GAINED for activated window (Explorer).
No problems you can close this issue as 'will not fix'. Although there is a small objection against this. We need to use the JDK1.4.0 version to test the S1S5SE. It's requirement of MPK QA manager. Some tests will be failed due to this issue will not be fixed. What should we explain in this case? I don't think the workaraund suggested by you can like all.
Hmm hmm :). We can ask AWT team. They probably have some issue for it. I have no idea what could we do with it. We call requestFocus() on our component when window is activated. Then it is responsibility of AWT to transfer focus. I will check what we call from NB and ask AWT team if there is some issue about it.
We found issue in Bugtraq: It is #4504821: "Focus is not regained sometimes when alt-tabbing between applications." It was fixed in JDK 1.4.1. What should I do with this issue?
I suppose you need to close this issue. I'll exclude all tests depending on this one from testing for JDK1.4.0 version. Thanks for your time.
Ok. Done.
verifying, closing.