Author Topic: Involuntary screen movement/jumpiness  (Read 4639 times)

Offline imacericg

  • Newbie
  • *
  • Posts: 15
    • View Profile
Involuntary screen movement/jumpiness
« on: August 24, 2015, 08:10:02 PM »
I experience this a lot. The screen jumps involuntary when adding effects to the timeline. In my video, I am trying to add a simple "On" effect and watch how much the screen jumps around.

https://www.youtube.com/watch?v=rHsa8_b7Z8w

Attached are my files incase this is an issue with my sequences and not xLights.

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #1 on: August 24, 2015, 08:24:34 PM »
Are you by chance using a Apple Magic Mouse?  I found my mouse to be overly sensitive if my fingers are touching the sides of the mouse while working on the sequencing grid and it causes it to scroll one way or the other like your video is showing.  I believe I witnessed this behavior in one of Dan's early videos of a new feature he was working on.  Gets pretty frustrating.

One thing I haven't tested yet is if I were to turn off the swipe between pages gesture if that would make a difference?
« Last Edit: August 24, 2015, 08:43:02 PM by kevinp »
Kevin Pankratz
Blaine MN

Offline imacericg

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #2 on: August 24, 2015, 08:27:44 PM »

Are you by chance using a Apple Magic Mouse?  I found my mouse to be overly sensitive if my fingers are touching the sides of the mouse while working on the sequencing grid and it causes it to scroll one way or the other like your video is showing.  Gets pretty frustrating.

One thing I haven't tested yet is if I were to turn off the swipe between pages gesture if that would make a difference?  I believe I witnessed this behavior in one of Dan's early videos of a new feature he was working on.

I am using the Magic Mouse, but I am not swiping when I am dragging the On effect down. But it's possible my other fingers are making it jump.

I have an old USB mouse around here I can try tomorrow.


Sent from my iPhone using Tapatalk

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #3 on: August 24, 2015, 08:41:28 PM »
OK, I did a little testing.  With the cursor over the sequencing grid and a single finger on the mouse, an ever so slight twist of my wrist will cause my finger move.  Just that little movement is enough to make my screen scroll a lot.  It does not take very much movement of your pointer finger to cause this action, and I haven't found a way to disable this in the system preferences yet.

This isn't a program issue to my knowledge.

I might be switching to a different mouse when sequencing now.
Kevin Pankratz
Blaine MN

Offline imacericg

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #4 on: August 24, 2015, 08:45:57 PM »
That's great to hear as it's a very annoying issue for me.

I wonder if xLights can disable swiping and just accept clicking from a mouse? Either way, I am glad there is a work around.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #5 on: August 25, 2015, 07:43:06 AM »
I did a lot of rework on the scrolling and mouse movement code for the grid and there is no knowledge of a swipe in the code.  We handle events like mouse left down, right down, left up, right up, double left click, and mouse moved.  Scrolling happens from moving the scrollbar or using the arrow keys.  It must be something in that OS that turns the swipe into a movement of the scrollbar but I don't think we know about it internal to the program.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #6 on: August 25, 2015, 08:14:03 AM »
Gil,

wxWidgets gets MouseWheelMoved events for these.   Thus, it is part of the scrolling code.   MainSequencer::mouseWheelMoved  :-)

I also looked at trying to get the pinch zooming on the trackpad working, but that requires code from wxWidgets 3.1 (not released yet) so will need to wait a bit unless I start building the Mac version with code from master.   

I haven't touched my Magic Mouse in years.   Got a Magic Track Pad a couple years ago and that's pretty much all I use now.   I'm not even sure where my Magic Mouse is.   Might need to dig it out and try it.  That said, it's likely one of the originals that didn't have all the swipes and such.  I really don't remember.
Daniel Kulp
Framingham, MA

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #7 on: August 25, 2015, 08:34:21 AM »
Disabling the swipe feature of the mouse did not stop the wild side to side scrolling for me, so that's probably the wrong term to have used in my initial reply.

Maybe there is a specific way to reduce the sensitivity for scrolling in the Mac version of xLights?

I've been curious about the Magic Trackpad, may have to try it out.
« Last Edit: August 25, 2015, 08:39:08 AM by kevinp »
Kevin Pankratz
Blaine MN

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #8 on: August 25, 2015, 09:08:25 AM »
Yeah well that's what I meant is we process normal mouse actions.  If you have something that make us think you've spun the mouse wheel when all you did was a little swipe then we have no idea you did a swipe.  All we think you did was spin the mouse wheel a lot.  I have several Macs and the first thing I do is throw away the mouse and put one I'm used to on the system.  I like the Razer Death Adder.  There are some things I think Microsoft did better than Mac and the mouse stuff is one of them.

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #9 on: August 25, 2015, 04:05:14 PM »
Ive certainly noticed the same problem using the Mac magic mouse on the iMAc. It seems to be overly sensitive for the scrolling left and right. I use a standard microsoft type wireless mouse when sequencing on the laptop and  never have the same  problem.
I might get a standard mouse for the iMac just for sequencing as the sudden movements left and right can get a bit testing at times  ;D

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #10 on: August 25, 2015, 04:20:30 PM »
That's what's weird I don't think you can even make our screen scroll left and right with the mouse but I guess I need to try harder.  I thought the wheel code only moved it up and down unless you hold down shift which will do a scroll.

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #11 on: August 25, 2015, 06:41:07 PM »
I downloaded a free application for the Mac that allows you to disable the side to side scrolling.

When using xLights, turn it on and you no longer get the crazy unintentional side to side scrolling.  When finished, just turn it off and the mouse goes back to normal.

http://magicprefs.com

Install, then open up the preference window.  Bottom right is a "configure scrolling" button that brings up a lot of additional items.  Unselect the horizontal scrolling for one finger and click close, then close the preference window.  Good to go.

To disable, click the icon in your menu bar and select disable magic prefs.
« Last Edit: August 25, 2015, 06:42:40 PM by kevinp »
Kevin Pankratz
Blaine MN

Offline imacericg

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #12 on: August 25, 2015, 06:49:35 PM »
Thanks Kevin!! The work around worked for me!!

I also plugged in my old USB mouse and that also fixed it, but I would rather use my Magic Mouse as I am used to it.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #13 on: August 25, 2015, 07:07:43 PM »
That's what's weird I don't think you can even make our screen scroll left and right with the mouse but I guess I need to try harder.  I thought the wheel code only moved it up and down unless you hold down shift which will do a scroll.

For those of us that use a track pad, doing side to side with two finger swipes for scrolling is important so I added it a long time ago.   The "mouse" people that only have wheels that go up/down would never have seen it.

Daniel Kulp
Framingham, MA

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Involuntary screen movement/jumpiness
« Reply #14 on: August 25, 2015, 07:19:37 PM »
So all the Mac folks just need to buy whatever Dan's using and I'll bet it works pretty sweet. :)