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 231436 - No horizontal scrolling in "Dark Metal" and "Dark Nimbus"
Summary: No horizontal scrolling in "Dark Metal" and "Dark Nimbus"
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 11:52 UTC by twolf2919
Modified: 2013-06-20 08:16 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 twolf2919 2013-06-18 11:52:02 UTC
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.
Comment 1 Stanislav Aubrecht 2013-06-18 13:46:22 UTC
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
Comment 2 twolf2919 2013-06-18 14:13:17 UTC
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.
Comment 3 Stanislav Aubrecht 2013-06-19 09:18:20 UTC
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.
Comment 4 twolf2919 2013-06-19 14:16:24 UTC
So please explain the behavior I described wherein horizontal scrolling does work in Metal - when there is no vertical scroll bar?
Comment 5 Stanislav Aubrecht 2013-06-20 08:16:37 UTC
(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