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 60307 - Mouse wheel does not work on code completion
Summary: Mouse wheel does not work on code completion
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-21 02:40 UTC by _ tboudreau
Modified: 2009-11-02 10:55 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 _ tboudreau 2005-06-21 02:40:40 UTC
Trying out a build of the new code completion.  The mouse wheel doesn't work, at least on mac os.

BTW, I also notice on Mac OS, both the completion and doc are always using heavyweight popups - 
probably better to use javax.swing.PopupFactory unless you need the popup to receive focus.
Comment 1 Roman Strobl 2005-07-12 12:29:19 UTC
Mouse wheel works on WinXP in code completion. Seems to be a MacOS specific issue.
Comment 2 _ tboudreau 2005-09-30 07:49:27 UTC
Any plans to fix for 5.0?  I run into this about 20x a day.

Possibly an issue with whatever kind of window you're using, on mac?  Though I don't know of any such 
problems.

I'd still strongly suggest using PopupFactory, not your own JWindows for this sort of thing - this kind of 
bug is exactly why.
Comment 3 Miloslav Metelka 2005-11-07 12:14:50 UTC
We do use PopupFactory (please see CompletionPopup class). We use 'null' as
owner component in PF.getPopup() (i.e. heavyweight popup gets used) as if not
doing so we had problems that mouse events were passed to underlying editor pane
instead of the particular popup. Tim, if you have any time to test it, it might
be interesting to test whether it would help to pass 'completionComponent' at
CompletionPopup:72 instead.
Anyway we should resolve into 5.0.
Comment 4 Miloslav Metelka 2006-12-14 12:17:54 UTC
In the longterm we would like to parent to JEditorPane - it would also fix issue
58540. Marking for 6.0.
Comment 5 Jan Becicka 2008-02-15 08:09:54 UTC
P4 imo
Comment 6 Dusan Balek 2008-12-01 20:42:54 UTC
Later.
Comment 7 Quality Engineering 2009-11-02 10:55:11 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX