On 9/30/2016 1:31 PM, Sergey Malenkov wrote:
# C  [AppKit+0x3a528e]  -[NSApplication _crashOnException:]+0x6d

The app is crashed as soon as I start scrolling. Investigating...
May be it is my fault during backporting.
Sorry, it was my fault. Now it works.

Consider how it works for one short gesture:

phase3 0 ~ 0.0 // unexpected PHASE_CONTINUED
phase2 0 ~ -0.0222015380859375 // PHASE_STARTED
phase3 0 ~ -0.1589202880859375
phase3 0 ~ -0.179595947265625
phase5 -1 ~ 0.0 // PHASE ENDED
phase1 -1 ~ -0.335968017578125
phase1 -1 ~ -0.3228607177734375
This is because the trackpad sets NSScrollWheel phase value to null and we detect it is a mouse. Probably there is a better way to separate mouse wheel and trackpad events.

  Thanks,
  Alexandr.

phase1 -1 ~ -0.338653564453125
phase1 -1 ~ -0.3087005615234375
phase1 -1 ~ -0.314056396484375
phase1 -1 ~ -0.314666748046875
phase1 -1 ~ -0.31573486328125
phase1 -1 ~ -0.2690277099609375
phase1 -1 ~ -0.2614288330078125
phase1 -1 ~ -0.211517333984375
phase1 -1 ~ -0.2041168212890625
phase1 -1 ~ -0.15740966796875
phase1 -1 ~ -0.1521148681640625
phase1 -1 ~ -0.1095123291015625
phase1 -1 ~ -0.1052703857421875
phase1 -1 ~ -0.067291259765625
phase1 -1 ~ -0.0644683837890625
phase1 -1 ~ -0.062286376953125
phase1 -1 ~ -0.060150146484375
phase1 -1 ~ -0.02899169921875
phase1 -1 ~ -0.0279083251953125
phase1 -1 ~ -0.0271148681640625
phase1 -1 ~ -0.026397705078125
phase1 -1 ~ -0.025970458984375
phase1 0 ~ 0.0

After short scroll a trackpad behaves as a mouse.
It is not good, because native list slows scrolling,
but Swing list scrolls a lot of lines...


Reply via email to