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 66280 - [50cat] Menus won't scroll with mouse wheel
Summary: [50cat] Menus won't scroll with mouse wheel
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 19:48 UTC by drslinky1500
Modified: 2009-12-21 05:00 UTC (History)
1 user (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 drslinky1500 2005-10-07 19:48:41 UTC
[ BUILD # : 5.0 beta ]
[ JDK VERSION : 1.5.0_01 ]

I am on linux, using both, a home made Desktop with an asus MB, and an HP laptop with I'm sure whatever was the cheapest at the time. Both are displaying 1024 x 768, both are using JDK 1.5, and both have the same problem.

I was originally using the Sept 21 build, now I am
using the beta, and its the same thing.

The menu I usually scroll is the swing components
menu. Go to the form editor, right click on the form, go to "Add From Palette", go to "Swing", put your pointer in the menu list of swing components, at 1024x768 there should be enough components that you get a horizonal scroll bar, now, use your mouse wheel to scroll down the components.

When I scroll, the menu disapears on either computer.

Then try a holding click through the menu like you
would on old MAC OS 7.x, it won't scroll down to the bottom of the menu.

When I do this, nothing happens.

Thanks


Greg
Comment 1 Jan Becicka 2005-10-10 08:46:46 UTC
Not sure, which component is the right one...
Comment 2 David Simonek 2005-10-10 12:06:57 UTC
Stan, could you look at this? Something touching palette. Thanks.
Comment 3 Stanislav Aubrecht 2005-10-10 15:35:34 UTC
this issue has actually nothing to do with palette. ;)

the problem is in form's org.netbeans.modules.form.palette.ScrollPopupMenu
this class wraps default JPopupMenu in a JScrollPane when the popup menu is too
tall to fit on the screen.
the popup menu ui listens for mouse events and cancels the popup if the event
source does not come from a jpopupmenu class. however the source of all mouse
wheel events is set to the scroll pane wrapper so the jpopupmenu is not found
and the popup is cancelled.

i tried to find some hack around this but with no luck so far.
Comment 4 Stanislav Aubrecht 2005-10-11 15:55:33 UTC
i give up, reassigning to component's owner ;)
Comment 5 Jan Stola 2005-10-11 17:20:44 UTC
Doesn't look fixable in the current implementation of ScrollPopupMenu.
Later we may consider some rewrite.
Comment 6 Tomas Pavek 2007-09-07 15:48:40 UTC
We've divided the components into more categories in 6.0, so the menu content should always fit on the screen now. The
scrollable menu is less urgent then.
Comment 7 Quality Engineering 2009-12-21 05:00:42 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team