After press shortcut for show navigator, navigator has no focus. If navigator is docked (pinned) it works correctly. No focus is only if navigator is not always shown.
I am using 7.3 rc1
Navigator is not handled by PHP. We just provide elements, which are displayed there.
I installed ubuntu 12.04 and oracle-java7-installer (Oracle Java(TM) Development Kit (JDK) 7)
Ok. I have ubuntu also. You can copy details from Help->About menu item
Product Version: NetBeans IDE Dev (Build 201301210001)
Updates: Updates available to version , NetBeans 7.3 Beta 2
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
1, I minimized navigator.
2, I opened Java file
3, I pressed Ctrl+2 (shortcut for navigator)
4. I have focus and I can move with keyboard arrow keys.
Do you mean minimized or floating navigator?
Created attachment 131028 [details]
Product Version: NetBeans IDE 7.3 RC1 (Build 201301240957)
Java: 1.7.0_11; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21
System: Linux version 3.2.0-37-generic-pae running on i386; UTF-8; sk_SK (nb)
My Process is same except 4. (I cannot move with arrows keys).
I attached two screenshots:
navi1.png - start position, now I press shortcut for navigator
navi2.png - navigator was shown but arrows keys does not not work (has no focus)
after I click in navigator, then arrows key works
Created attachment 131029 [details]
Ok. It cannot be reproduced in java editor, but it is in php editor in nb 7.3. Colleague Honza from platform/navigator will look at it.
Created attachment 131054 [details]
After the Navigator window is activated, statement
is called. Unlike the Java Navigation, CslNavigatorPanelUI does not override this (requestFocus) method, so to fix this issue just apply following patch.
Honza, thank you. There is requestFocusInWindow overriden, I thought it was enough.
Integrated into 'main-golden', will be available in build *201302070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Milutin Kristofic <firstname.lastname@example.org>
Log: #225467 - navigator has no focus
*** Bug 226451 has been marked as a duplicate of this bug. ***