tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/5811-scrolling-speed-uner-mac-sierraNodeBox: Discussion 2017-01-18T08:08:31Ztag:support.nodebox.net,2012-11-01:Comment/408747312016-10-01T00:41:48Z2016-10-01T00:41:49ZScrolling Speed Under Mac Sierra<div><p>I've had the same problem. This appears to be related to Sierra
generating more scroll events than previous OS versions:</p>
<p><a href="https://discussions.apple.com/thread/7679256">https://discussions.apple.com/thread/7679256</a></p>
<p>Hopefully a workaround can be found or Apple releases a patch
soon.</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312016-10-13T14:52:36Z2016-10-13T14:52:36ZScrolling Speed Under Mac Sierra<div><p>I've posted a test build with the latest JDK (1.8_100) that
seems to fix some Sierra issues, although perhaps not the
scrolling:</p>
<p><a href="https://secure.nodebox.net/downloads/NodeBox-3.0.45-rc1.zip">https://secure.nodebox.net/downloads/NodeBox-3.0.45-rc1.zip</a></p>
<p>I haven't upgraded yet so I can't test it myself at the
moment.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312016-10-13T15:01:52Z2016-10-13T15:01:52ZScrolling Speed Under Mac Sierra<div><p>According to the Apple support thread and this <a href="http://stackoverflow.com/questions/39638718/after-mac-os-sierra-update-facing-scrolling-issue-with-java-applications-like-in">
Stackoverflow post</a>, scrolling is a JDK issue that affects other
Java applications as well.</p>
<p>Here's the issue for IntelliJ:</p>
<p><a href="https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FIDEA-158500">
https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FIDEA-158500</a></p>
<p>Apparently they've made their own version of the JDK (!) which a
custom fix for the scrolling. That solution may work for them, but
I don't feel like making a custom build of the SDK, and would
rather wait a bit until Oracle solves the issue upstream.</p>
<p>Apparently they've fixed in JDK 9 and are considering
backporting it to JDK 8: <a href="https://bugs.openjdk.java.net/browse/JDK-8166591">https://bugs.openjdk.java.net/browse/JDK-8166591</a></p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312016-10-13T21:39:36Z2016-10-13T21:39:36ZScrolling Speed Under Mac Sierra<div><p>Hi Frederik,</p>
<p>I tested the rc1 version and it seems to work fine for me. I
could see no difference between the current version and this new
build. The scrolling issue seems unchanged and I am unaware of any
other Sierra-related issues.</p>
<p>I have learned to live with the scrolling issue; it's annoying
but not fatal. And I agree that it probably makes sense for you to
wait until Oracle fixes the issue upstream.</p>
<p>(The Java Platform team at Oracle working on this are mostly
Russians based in St. Petersburg. I also work at Oracle (in
California), but it's a big company so I have no direct connection
with them. I think they are already sufficiently motivated to fix
this, but if you have a particular question or suggestion, I could
try passing it along.)</p>
<p>John</p></div>johntag:support.nodebox.net,2012-11-01:Comment/408747312016-10-18T20:05:38Z2016-10-18T20:05:38ZScrolling Speed Under Mac Sierra<div><p>I've just upgraded to Sierra and I didn't experience any issues
with scrolling or double-clicking. I'm using a Retina MBP, both
with the trackpad and an external mouse.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312016-10-18T21:00:37Z2016-10-18T21:00:37ZScrolling Speed Under Mac Sierra<div><p>I've attached a recording of how sensitive scrolling is. The
attached recording shows a default 100x100 square and me trying to
scroll in and out with the smallest movements (barely a few
millimeters) and the zooming appearing to be overly sensitive.</p>
<p>The problems with double-clicking seem to be very sporadic.
Sometimes it works fine for periods of time and then after a bit,
double-clicks sometimes stop registering altogether.</p>
<p>These behaviors happen to me with both an external magic mouse
and the trackpad. I'm using an early 2015 MacBook Air and my mouse
is a first generation magic mouse. All of this behaved normally
prior to upgrading to Sierra.</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312016-10-19T06:44:36Z2016-10-19T06:44:36ZScrolling Speed Under Mac Sierra<div><p>Hi Nicholas,</p>
<p>Thanks for investing. Maybe it's related to retina vs
non-retina? I'll test on a colleague's MBA and see if there's any
difference.</p>
<p>I assume that the double-clicking is also a precision issue: I'm
speculating they upped the precision, meaning you have to stand on
the exact same pixel when double-clicking (whereas before there was
a bit more slack). That would explain why the issue only happens
sporadically.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312016-12-02T16:13:47Z2016-12-02T16:13:47ZScrolling Speed Under Mac Sierra<div><p>This may or may not be related to all the clicking issues but I
frequently get the error message below when trying to right-click
to add a node. NodeBox thinks I'm trying to drag a selection
rectangle when right-clicking and shows the error. Can't continue
using NodeBox until I quit and restart it.</p>
<p>I'm using a Magic Mouse (first one, not the second) and I read
somewhere that even that has issues with macOS Sierra but I'm not
sure if that's true.</p>
<p>java.lang.NullPointerException<br>
at nodebox.client.NetworkView$MouseHandler.mouseDragged(Unknown
Source) at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
at java.awt.Component.processMouseMotionEvent(Component.java:6581)
at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3342)
at java.awt.Component.processEvent(Component.java:6302) at
java.awt.Container.processEvent(Container.java:2236) at
java.awt.Component.dispatchEventImpl(Component.java:4889) at
java.awt.Container.dispatchEventImpl(Container.java:2294) at
java.awt.Component.dispatchEvent(Component.java:4711) at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280) at
java.awt.Window.dispatchEventImpl(Window.java:2746) at
java.awt.Component.dispatchEvent(Component.java:4711) at
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at
java.awt.EventQueue.access$500(EventQueue.java:97) at
java.awt.EventQueue$3.run(EventQueue.java:709) at
java.awt.EventQueue$3.run(EventQueue.java:703) at
java.security.AccessController.doPrivileged(Native Method) at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731) at
java.awt.EventQueue$4.run(EventQueue.java:729) at
java.security.AccessController.doPrivileged(Native Method) at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312016-12-06T15:25:36Z2016-12-06T15:25:36ZScrolling Speed Under Mac Sierra<div><p>More information: scroll speed seems great using a trackpad on a
MacBook Air mid-2015 and I haven't experienced any of the
double-clicking or right-clicking problems using the trackpad.</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312016-12-06T19:39:11Z2016-12-06T19:39:11ZScrolling Speed Under Mac Sierra<div><p>Okay the mouseDrag errors are definitely silly, will
investigate.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312016-12-29T17:02:34Z2016-12-29T17:02:34ZScrolling Speed Under Mac Sierra<div><p>Just checking in. Any chance of an update soon? This error
almost renders NodeBox unusable for more than a few minutes at a
time.</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312016-12-30T19:37:58Z2016-12-30T19:37:58ZScrolling Speed Under Mac Sierra<div><p>Hi Nicholas,</p>
<p>Thanks for reminding me. I will schedule some time to look at
this after the New Year.</p>
<p>Best wishes!</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312017-01-05T22:27:24Z2017-01-05T22:27:24ZScrolling Speed Under Mac Sierra<div><p>Hi Nicholas,</p>
<p>I looked at the specific function but I couldn't reproduce it at
all. Unfortunately, your stack trace does not have the line number
(I think the NodeBox build strips it out) so it's hard to see what
might trigger the error.</p>
<p>I might try to compile a version that has debug information,
that would give me the line numbers and allow me to investigate
further.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312017-01-05T22:49:28Z2017-01-05T22:49:28ZScrolling Speed Under Mac Sierra<div><p>Hi,</p>
<p>I've made a special test version. The actual code is unchanged:
I just added some compile flags that should tell me more
information when you see a stack trace.</p>
<p><a href="https://secure.nodebox.net/downloads/NodeBox-3.0.46-test1.zip">https://secure.nodebox.net/downloads/NodeBox-3.0.46-test1.zip</a></p>
<p>Nicholas, can you try this, get the error to appear, and then
tell copy/paste the stack trace? Thanks in advance!</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312017-01-05T22:54:57Z2017-01-05T22:54:57ZScrolling Speed Under Mac Sierra<div><p>I'll definitely try the special test version and send the info
the next time it happens. It shouldn't be long since I'm working on
a few projects with NodeBox at the moment.</p>
<p>Thanks for digging into this.</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312017-01-14T14:48:39Z2017-01-14T14:48:39ZScrolling Speed Under Mac Sierra<div><p>I've been using the special test version since you provided it
and so far, I haven't seen the error pop up again. Even though you
said the actual code is unchanged, something seems to be keeping
the error at bay. I'll still be on the look out for it and post it
when it happens.</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312017-01-14T20:28:53Z2017-01-14T20:28:53ZScrolling Speed Under Mac Sierra<div><p>Hi Nicholas,</p>
<p>Thanks for trying this out! I'm happy for you that you don't get
any errors — but as a programmer I would much rather it'd pop
up the error message so I know what's going on :-)</p>
<p>You're welcome to keep using this version; I'll make an official
release soon (which includes the debug flags, so I get better stack
traces for future bug reports).</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/408747312017-01-16T20:38:25Z2017-01-16T20:38:25ZScrolling Speed Under Mac Sierra<div><p>Finally got the error to appear again. Here's the error:</p>
<p>java.lang.NullPointerException<br>
at
nodebox.client.NetworkView$MouseHandler.mouseDragged(NetworkView.java:994)
at
java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
at java.awt.Component.processMouseMotionEvent(Component.java:6581)
at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3342)
at java.awt.Component.processEvent(Component.java:6302) at
java.awt.Container.processEvent(Container.java:2236) at
java.awt.Component.dispatchEventImpl(Component.java:4889) at
java.awt.Container.dispatchEventImpl(Container.java:2294) at
java.awt.Component.dispatchEvent(Component.java:4711) at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280) at
java.awt.Window.dispatchEventImpl(Window.java:2746) at
java.awt.Component.dispatchEvent(Component.java:4711) at
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at
java.awt.EventQueue.access$500(EventQueue.java:97) at
java.awt.EventQueue$3.run(EventQueue.java:709) at
java.awt.EventQueue$3.run(EventQueue.java:703) at
java.security.AccessController.doPrivileged(Native Method) at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731) at
java.awt.EventQueue$4.run(EventQueue.java:729) at
java.security.AccessController.doPrivileged(Native Method) at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)</p></div>rougeuxtag:support.nodebox.net,2012-11-01:Comment/408747312017-01-18T08:08:29Z2017-01-18T08:08:29ZScrolling Speed Under Mac Sierra<div><p>Thanks! I will investigate.</p></div>Frederik De Bleser