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 200295

Summary: Completion list navigation fails in some situations
Product: editor Reporter: err <err>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: jlahoda, mmetelka
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 179047    
Attachments: use JTC property to force heavyweight completion popup

Description err 2011-07-21 18:48:15 UTC
Created attachment 109560 [details]
use JTC property to force heavyweight completion popup

The navigation fails when there's a text component on the glass pane and the text component brings up an associated completion list. The up/down arrows and the mouse clicks don't work.

I think this is jVi only (and possibly due to an underlying jdk issue). jVi pops up a command line for colon command and search pattern entry and this command line uses the code completion infrastructure. There an option for the command line to be either a modal dialog or on top of a glass pane. Some OS/jvm/window-manger combinations only work with one or the other.

I've discovered that the problem only shows up if the code completion popup is lightweight. 

Attached is a patch that forces a heavyweight popup if the text component has a particular client property. I hope this trivial patch, or something similar, can be applied.
Comment 1 err 2011-07-26 20:28:49 UTC
I don't know the proper way to pursue getting this trivial patch (or something like it) applied; or even to get a "won't do" response. I've added to cc list for more exposure.
Comment 2 Dusan Balek 2011-07-27 08:09:10 UTC
Patch integrated.

http://hg.netbeans.org/jet-main/rev/85dea862af28
Comment 3 Quality Engineering 2011-07-28 14:00:09 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/85dea862af28
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #200295: Completion list navigation fails in some situations - patch integrated.