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.
Summary: | Fourth mouse button (wheel) is treated like second button | ||
---|---|---|---|
Product: | platform | Reporter: | hobel <hobel> |
Component: | Window System | Assignee: | David Simonek <dsimonek> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | zipped test application (nb project) |
Description
hobel
2007-02-21 17:05:02 UTC
OK, but in which situations the popup menu comes? During scrolling in editor? In projects view? In Nvaigator? Where? NetBeans should use Swing call isPopupTrigger() for deciding whether to show popup, so it should work same as other java apps. Both editor and navigator (probably in all scrollable views). I click the button which maps the wheel to scroll-wheel, and as soon as I move the wheel, the view scrolls and pops up the menu. As the "scroll button" is neither the second nor third mouse button it shouldn't have any other effect than scrolling. For instance JEdit or Eclipse work, so it's NetBeans specific. This looks more like Swing issue, let's try it - please run attached small testing app and please let me know if problem can be reproduced with test app. Thanks. Created attachment 39879 [details]
zipped test application (nb project)
The Swing example DOES have the same problem, yes. If that means that the function isPopupTrigger() is broken, is there any chance of getting that fixed? (or a way to work around it in NetBeans) I entered jdk bug 6624085 for this problem and added reporter to interest list, let's wait what JDK guys will say. See http://bugs.sun.com/view_bug.do?bug_id=6624085 Reporter, could you please attach info about trackball hardware? Thanks. I'm using a Logitech Marble Mouse USB. My xorg.conf on my Ubuntu system has this mouse config section: Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" #Option "Protocol" "ImPS/2" Option "Protocol" "Auto" Option "ZAxisMapping" "4 5" Option "XAxisMapping" "6 7" Option "EmulateWheel" "1" Option "EmulateWheelButton" "9" Option "Emulate3Buttons" "true" EndSection I.e., button '9' makes the device emulate a mouse wheel. Via a .Xmodmap file: pointer = 1 8 3 4 5 6 7 2 9 10 11 I turn the mouse buttons (switch buttons two and eight) so that I have left button, right button, middle button, and wheel button. Sorry, I don't exactly remember why the options are as they are, but it works perfectly (except for NB, obviously). |