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 181722 - [69cat] unable to enter text in dialogs
Summary: [69cat] unable to enter text in dialogs
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 6.x
Hardware: PC All
: P1 normal with 1 vote (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: REGRESSION
: 181699 181769 181780 181957 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-09 14:15 UTC by gholmer
Modified: 2010-03-16 20:59 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A possible fix. (1.64 KB, patch)
2010-03-11 14:46 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2010-03-09 14:15:52 UTC
I've found two dialogs that I'm consistently unable to enter text in:

a) commit comments dialog
b) change value dialog in debugger

I can clear the text and I can paste text, but I can't type characters in.
Comment 1 Vladimir Voskresensky 2010-03-09 15:13:56 UTC
the same happens to me.
I can only add that the same issue with Quick Search as well.
Not sure that is editor issue, because in editor I can type :-)
But may be something wrong with focus.

This regression occurs on Friday.

To help I can turn on any logging you'd like to see
Comment 2 swpalmer 2010-03-09 15:35:09 UTC
a) Happens on Windows XP and Windows 7 as well
Comment 3 swpalmer 2010-03-09 15:37:05 UTC
re: A) Should also add that CTRL-V to paste text works (on Win XP anyway).
I can also type TAB and backspace, but haven't found any other keys that work in the commit comments field.
Comment 4 kawazu428 2010-03-09 15:46:05 UTC
Same here about the commit-comments dialog, CTRL-V workaround works as well. Platform is Ubuntu 10.04, GTK look-and-feel.
Comment 5 Egor Ushakov 2010-03-10 03:33:04 UTC
*** Bug 181699 has been marked as a duplicate of this bug. ***
Comment 6 Egor Ushakov 2010-03-10 03:33:29 UTC
also in quick search field
Comment 7 Ondrej Vrabec 2010-03-10 08:34:44 UTC
*** Bug 181769 has been marked as a duplicate of this bug. ***
Comment 8 stefan79 2010-03-10 08:40:00 UTC
I´ve the same problem at Commit-Dialog and in Slowness-Detection-Dialog.
Comment 9 swpalmer 2010-03-10 08:47:06 UTC
And of course this happens in the "Review and Report Problem" dialog that is available when an unexpected exception is encountered (which happens a lot editing Java code with 201003081350) as well - making it frustrating to enter bug reports.
Comment 10 Ondrej Vrabec 2010-03-10 09:52:41 UTC
*** Bug 181780 has been marked as a duplicate of this bug. ***
Comment 11 Jesse Glick 2010-03-10 10:22:00 UTC
Happening to me in my regular user dir. Cannot reproduce on a fresh user dir, even with the same JDK (6) and L&F (Ocean); cannot consistently reproduce even in my regular user dir: some sessions it happens, some not.
Comment 12 Michel Graciano 2010-03-10 10:31:03 UTC
I can reproduce it for an fresh user dir when importing settings from previous version.

Product Version: NetBeans IDE Dev (Build 100310-5af6a9204dc0)
Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13
System: Linux version 2.6.31-20-generic-pae running on i386; UTF-8; en_US (nb)
Comment 13 Vladimir Voskresensky 2010-03-10 11:04:29 UTC
I can not give exact steps, but I'm starting with clean userdir and after some coding it occurs 100%. The only way to fix - restart IDE
Comment 14 Jiri Rechtacek 2010-03-11 11:12:44 UTC
No commit in Dialogs infra for a long time, no way how made such regression. No Dialogs API problem. Reassign to back to evaluate.
Comment 15 misterm 2010-03-11 12:19:45 UTC
This error appeared after an error on spellchecker was fixed. I just can't remember the spellchecker issue.
Comment 16 Jiri Rechtacek 2010-03-11 12:32:40 UTC
misterm, thanks for a hint. Ccing. jlahoda who known more about spellchecker
Comment 17 Jesse Glick 2010-03-11 13:08:23 UTC
o.n.m.spellchecker.ComponentPeer seems like a plausible culprit. Was also added to the build recently.
Comment 18 David Strupl 2010-03-11 13:54:04 UTC
To justify such a bold evaluation did anyone tried to disable the spellchecker modules and tried to reproduce (from those poeple being able to reproduce)?
Comment 19 Jesse Glick 2010-03-11 14:05:22 UTC
It's as good a guess as any. Could of course be something else entirely.

I am not personally able to reproduce this consistently, or I would check.
Comment 20 Michel Graciano 2010-03-11 14:06:54 UTC
Looks like Michael is right, I just did the test David asked for and after disable the module the IDE is back to normal, now I can enter text for commit messages and quick search again.
Comment 21 Michel Graciano 2010-03-11 14:07:48 UTC
Looks like Michael is right, I just did the test David asked for and after disable the module the IDE is back to normal, now I can enter text for commit messages and quick search again.
Comment 22 Michel Graciano 2010-03-11 14:09:34 UTC
Looks like Michael is right, I just did the test David asked for and after disable the module the IDE is back to normal, now I can enter text for commit messages and quick search again.
Comment 23 Michel Graciano 2010-03-11 14:16:26 UTC
Sorry for several messages, Bugzilla hangs for some minutes here and I sent more messages that I wished :(
Comment 24 Jesse Glick 2010-03-11 14:23:25 UTC
(In reply to comment #23)
> Bugzilla hangs for some minutes here

bug #181882
Comment 25 Jan Lahoda 2010-03-11 14:46:14 UTC
Steps to reproduce:
1. Start the Java debugger, let it stop on some breakpoint
2. Place mouse cursor over a simple variable (e.g. an integer variable), let the tooltip with the value of the variable appear.

Caused by 9072b53e794c. There is (normally) only one Keymap for each of UI, so setting no-op default action to a component's Keymap will cause problems to all components using the same UI class. I am attaching a patch that prevents that. Vita please review.
Comment 26 Jan Lahoda 2010-03-11 14:46:53 UTC
Created attachment 95065 [details]
A possible fix.
Comment 27 Vitezslav Stejskal 2010-03-12 06:31:18 UTC
(In reply to comment #25)
> Caused by 9072b53e794c.

Ah, I'm sorry about that. I'm looking at the patch... Thanks, Honzo.
Comment 28 Vitezslav Stejskal 2010-03-12 07:34:31 UTC
http://hg.netbeans.org/jet-main/rev/8ae6b701e275 - It's parented of the regression changeset (9072b53e794c) and so anybody feeling like fetching it directly to their repo should easily be able to do so.

Unfortunately, I wasn't able to reproduce the problem on my Mac, but that's not that important I guess. I just applied Honza's patch and checked that the tooltips keep working the way they are supposed to in regards to gaining focus and handling keyboard events.

Could somebody affected by this please confirm that the fix really works? If it does not, please reopen. Thanks
Comment 29 Tomas Stupka 2010-03-13 08:13:41 UTC
*** Bug 181957 has been marked as a duplicate of this bug. ***
Comment 30 Michel Graciano 2010-03-16 18:00:29 UTC
v. 100316-ac7e616ba291
I am working on it for a couple of hours and I made some test and can't reproduce the bug anymore. It looks like fixed to me.
Comment 31 schkovich 2010-03-16 20:59:53 UTC
I've encountered this problem when entering comment on commit to SVN repository. 

Problem is not present anymore in build 201003160201.