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 248060 - Keyboard inserts characters which I did not enter
Summary: Keyboard inserts characters which I did not enter
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 07:17 UTC by ricktw
Modified: 2015-02-27 20:49 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 ricktw 2014-10-21 07:17:51 UTC
Once in a while Netbeans is messing up my keyboard input. When I enter a character the editor inserts a different one.

If I try to insert 'e' and press that key say five times, one or two out of five it actually inserts an 'e', the other strokes it insert a 'random' character. It seems to be one of the characters entered just before the strange behavior starts..

The same goes for navigation keys. If I stroke the 'right arrow' say five times, one or two out of five it actually moves the cursor to the right, the other strokes it either does nothing or navigates the other direction.

It happens only in Netbeans, if the issue is occurring and I go to any other program, the keyboard works just fine.


The only thing which helps is restarting Netbeans.

I know this is just too less info and there is no reproduction scenario, but I just created this issue to see if others are facing the same issue (a colleague of mine does) and you guys can request more info of me.
Comment 1 Svata Dedic 2014-10-21 07:30:53 UTC
As you're on Linux, pls include info / versions of your distribution, window manager/desktop software, keyboard configuration. Is an alternative keymap, or national keyboard active ? Please paste in your JRE/JDK version (see NB's Help | About box).
Comment 2 ricktw 2014-10-22 08:49:01 UTC
Additional information:
- Ubuntu 14.04.1 LTS
- Window manager: Unity (compiz)
- Keyboard: English (International AltGr dead keys)
- Netbeans:
Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Updates: NetBeans IDE is updated to version NetBeans 8.0.1 Patch 1.1
Java: 1.7.0_65; OpenJDK 64-Bit Server VM 24.65-b04
Runtime: OpenJDK Runtime Environment 1.7.0_65-b32
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/rick/.netbeans/8.0.1
Cache directory: /home/rick/.cache/netbeans/8.0.1
Comment 3 Svata Dedic 2014-11-28 16:47:51 UTC
Does the character/control key errors affect just the Editor ? Could you play with the issue a little, and try to reproduce on some input line in a dialog ?

Does the defect affect all file types, or just the java (or some other specific file) type ?

When comparing with other programs, did you try other _Java_ programs as well ?
Comment 4 ricktw 2014-12-01 08:00:02 UTC
(In reply to Svata Dedic from comment #3)
> Does the character/control key errors affect just the Editor ? Could you
> play with the issue a little, and try to reproduce on some input line in a
> dialog ?
> 
> Does the defect affect all file types, or just the java (or some other
> specific file) type ?
> 
> When comparing with other programs, did you try other _Java_ programs as
> well ?

I did not have the issue for a while. Next time I will investigate further and try to answer your additional questions.
Comment 5 Svata Dedic 2015-02-27 20:49:26 UTC
Cannot reproduce, the reporter did not reproduce either in past several months. Closing until further info is available.