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.
I recently switched NB to "Dark Metal" (FINALLY the whole IDE can be made light-on-dark - yeah!). But I noticed that my mouse's horizontal scroll no longer had any effect on NB windows. Same thing for "Dark Nimbus". It continues to work fine in "Mac OS X" L&F.
That's a JDK 'feature', horizontal mouse scrolling doesn't work in plain Metal l&f either. Feel free to vote for http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4419271
Stanislav, I'm re-opening only because I don't see how the JDK bug you refer to applies here. This 12-year old JDK bug talks about supporting scrolling on non-mouse devices! I don't even know why this bug is still open - I've been using the touch pad in LInux and Mac to do scrolling for 5+ years (although I don't recall if that was under Metal?) Is there a JDK bug that specifically points to Metal? Because, as I mentioned, the problem doesn't exist under the "Mac OS X" L&F (which is also part of the JDK). Finally, I just noticed something strange: horizontal scrolling WORKS.....if there is no vertical scroll bar! You can close this bug again - just hoping that you can point to a more relevant JDK bug.
Traditional input device, i.e. mouse, has a scroll wheel so it supports vertical scrolling only. The MouseWheelEvent class reflects that. Multi-touch touchpads and similar input devices do support horizontal scroll gestures but there is no support for it in JDK, see the JDK bug. I guess the reason it works in Aqua l&f is because that l&f implementation 'knows' about Apple toolkit behind the scene so it can act more native.
So please explain the behavior I described wherein horizontal scrolling does work in Metal - when there is no vertical scroll bar?
(In reply to comment #4) > So please explain the behavior I described wherein horizontal scrolling does > work in Metal - when there is no vertical scroll bar? No idea