Page MenuHome

OS X trackpad and magic mouse gestures not working
Closed, ResolvedPublicBUG

Description

System Information
OSX 10.11 (15A284)

Blender Version
Broken: 2.76 RC2 e24ea81
Worked: 2.75 c27589e

Short description of error
Rotation in viewport with magic mouse does not work anymore

Exact steps for others to reproduce the error
Rotation in viewport with magic mouse does not work anymore, even after importing the key configuration from 2.75.
Its zooming instead of rotating, and rotates just after releasing the mouse for a short moment..

Event Timeline

No, worked perfect up to 2.76 RC..

Same here. Works still fine in 2.76RC but is broken in 2.76RC2 and 2.76RC3

Bastien Montagne (mont29) lowered the priority of this task from 90 to High.Oct 2 2015, 12:29 PM

That would be a regression then… We need some OSX dev here - also, iirc OSX made an unwanted update on our builder's machine after RC1, could be the cause of the issue, since I really do not see what commits could have done that between RC1 and RC2 (commits after rBc586e3005396 in https://developer.blender.org/diffusion/B/history/master/;v2.76-rc2), only one that seems to affect OS-related topic is rB8db7ca1ccaa9111d7, but really doubt this is the culprit…

I then created a fresh user to avoid any influence of plugins or existing preferences. Noticed the same behaviour: Works fine in 2.76RC1 but is broken in 2.76RC2 and 2.76RC3.
System is OS X 10.11 (El Capitan)

Also tried to reproduce this on a second machine wich is still OS X is 10.10 (Yosemite): Works perfect - I was not able to reproduce this error. Tested with 2.76RC[123]

Brecht Van Lommel (brecht) renamed this task from OSX magic mouse viewport rotation to OS X trackpad and magic mouse gestures not working.Oct 3 2015, 2:18 AM

I can't reproduce this issue on OS X 10.11 (15A284), with a mid 2012 MacBook Pro Retina. Blender 2.76 RC3 seems to be working fine.

Do zoom and rotate gestures work on images in Preview? Could there be any system preferences influencing this? Do you have an extension like MagicPrefs installed?

Everything else seems to be working normally. I don't have any settings related to that changed, at least nothing I can imagine would cause that. I don't even have my graphics tablet driver installed any more. It's not plugged in either, so that can't be causing trouble.

I am experiencing the same issue on 2014 macbook pro. Trackpad gestures work fine in 2.75a but not in 2.76 RC3

Trying with a magic mouse, I can see the issue, it works fine in 2.76RC1 but in 2.76RC2 it's zooming when trying to rotate. In my own build of the latest master and the latest build from builder.blender.org it works fine though, so it definitely seems like it's something in the build environment.

Maybe the Xcode version, OS X deployment target, or SDK version was changed?

I'm not building it myself (and won't likely have time to set that up today, but I can test tomorrow), but my xcode version is 7.0.1, if that makes any difference.

No need to make your own build to test this.

I think we mainly need more information from the person that made the builds (@Martijn Berger (juicyfruit)?) about any changes made on that system between RC1 and RC2.

There was one change and that on investigating a report on XCode 7 that was upgraded.

Unlike for windows I do not have a dedicated machine for building OS X builds. Which judging by this report is something I should get.

Is RC3 also broken ? If so ill revert to 6.4

ill rebuild RC3 with 6.4 and upload somewhere to test this today or early tomorrow

I upgraded to Xcode 7 and can now also see the issue in my own builds when using the 10.11 SDK. It seems beginGestureWithEvent and endGestureWithEvent are no longer called. Other seems to have encountered the same issue:
https://forums.developer.apple.com/thread/19536

I have a fix for this but would prefer to commit it after the release so that there is time to test it properly, since this is quite fragile code with many tweaks over the years.

For 2.76 I think it would be best to use Xcode 6.4 with the 10.10 SDK.

I have a fix for this but would prefer to commit it after the release so that there is time to test it properly, since this is quite fragile code with many tweaks over the years.

For 2.76 I think it would be best to use Xcode 6.4 with the 10.10 SDK.

I agree. Ill downgrade and rebuild RC3 so we can confirm

2.76 RC3 built with xcode 6.4 works fine here!

Sorry for the delay, the posted build works as normal for me as well.

Good evening everyone,

I hope you had a wonderful weekend. I apologize if this question has an obvious answer based on the comments above, but I'm fairly new to Blender - which is a fantastic app - and, although I see the post that indicates this task is resolved, I'm not sure what I need to do to implement the fix on my MacBook Pro with Retina Display running OS X 10.11 El Capitan. Would one of you more knowledgable folks be able to point me in the right direction, please. Thanks and have a great evening.

God bless,
Bill

If you're using the final 2.76 release, you shouldn't have to do anything, it should just work.

In general fixes are included in automated builds within 24 hours as well:
https://builder.blender.org/download/

@Bill Rhodes (BillisSaved) please download Blender 2.76 from blender.org which has the included fix.

Good morning everyone,

Thanks so much for your assistance. Actually, I had already downloaded and installed the latest version of Blender 2.76, but I was still encountering the problem with the trackpad functionality. I had to completely uninstall Blender from my MacBook - including preference files. I then re-installed Blender 2.76, and the trackpad is functioning as I expected. Thanks again for your help. Have a great day!

God bless,
Bill