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 219620 - No keyboard focus
Summary: No keyboard focus
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-05 18:30 UTC by DougRoyer
Modified: 2012-10-29 21:23 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 DougRoyer 2012-10-05 18:30:31 UTC
No keyboard focus. It installed fine, but it will not accept any keyboard input at all. I can not setup a project or edit an existing one.

Mouse focus works fine.

 Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-31-generic-pae i686)

I had this problem occasionally on 7.2, I would just restart netbeans and the problem would go away.

It happens all of the time with 7.3beta.

With 7.3Beta on XP with SP3, partial failure.
Some keyboard keys work, almost none of the special keys like backspace or ether of the Enter (return) or keypad Enter keys work. Makes it impossible to enter code on more than one line without repositioning with the mouse. Can not add a new line at any place.
Comment 1 DougRoyer 2012-10-05 21:21:53 UTC
Update:

Normally I develop on a headless Linux box and X-Host the app back to my desktop system. If I run it on a local X-Display - keyboard works.

When I run it X-hosted - no keyboard.
Win-XP - still random keys do not work.
Comment 2 Milutin Kristofic 2012-10-09 13:51:32 UTC
Can you please try your issue in Notepad.jar?
'java -jar $JAVA_HOME/demo/jfc/Notepad/Notepad.jar'
Comment 3 Milutin Kristofic 2012-10-22 11:41:33 UTC
I am sorry, but this rare scenario is not supported by netbeans.
Comment 4 DougRoyer 2012-10-22 17:27:18 UTC
There is no Notepad.jar on my Windows or Linux systems.
I even tried 'find / -iname notebook.jar' - none on any system.

I have tried java-1.5.0-openjdk, java-1.6.0-openjdk, java-1.7.0-openjdk, and java-7-oracle, and even java-ecj-4.6

Netbeans 7.3 does not work correctly on all 3 of my windows systems.
It only works on my linux box - no xhosting. 
Fails on xhost across to linux from linx
Fails on xhost across to windows (cygwin) from linux


Rare?
7.2 still works
Comment 5 DougRoyer 2012-10-22 17:28:07 UTC
There is no Notepad.jar on my Windows or Linux systems.
I even tried 'find / -iname notebook.jar' - none on any system.

I have tried java-1.5.0-openjdk, java-1.6.0-openjdk, java-1.7.0-openjdk, and java-7-oracle, and even java-ecj-4.6

Netbeans 7.3 does not work correctly on all 3 of my windows systems.
It only works on my linux box - no xhosting. 
Fails on xhost across to linux from linx
Fails on xhost across to windows (cygwin) from linux


Rare?
7.2 still works
Comment 6 Miloslav Metelka 2012-10-23 08:57:27 UTC
Btw 'find / -iname notebook.jar' would never find "Notepad.jar" even if it would be present.

Could you please run the IDE with

-J-Dorg.netbeans.editor.BaseCaret.level=FINEST

so that caret focus messages are shown? Thanks.
Comment 7 David Strupl 2012-10-29 21:23:29 UTC
Before we get enough information I am marking as incomplete. Reporter please note that your case is serious but rather rare is we are not getting similar report from other users. Please reopen there is enough information for us to work on the fix. Thanks for your understanding.