Locked

Mac book trackpad scroll BUG - been around since forever - please FIX it!

Community Beginner ,
Feb 10, 2013 Feb 10, 2013

Copy link to clipboard

Copied

Hi all
This post is aimed for adobe reps

I'm talking about the scrolling bug on macbooks trackpad and Apple external trackpad

Sure, there are buggy JS work-arounds, but they don't cover the scenario we need

Our app is a flex app, with one major scroller for the app, which is unusuable on macs

Guys, this bug had been around for years

last mention I came accross is here - http://forums.adobe.com/message/4740815

and this is about it when it comes to googling for a solution.

I asked in many forums - flash, flex, starling, feathers etc...

all pointed back to the flash player

If you don't intend to open-sourch the flash player runtime

Can you please fix this nasty bug?

it is critical, and the fact we can only wait for it to surface your priority lists makes your users feel helpless

please respond

please prioritize this bug

it's basic and cuts of a whole market that will not be able to use our product because of it

I erge you to consider this as critical

Thank you

Views

3.5K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Employee , Feb 13, 2013 Feb 13, 2013
Sorry, I was just poking at this during meetings yesterday.  I'm coming into this cold and seemed like a big enough deal that I would have heard about it at some point.  I asked around with a couple of Safari experts and did a more thorough search of the bugbase this morning, and was able to figure out what the backstory is.This apparently used to work, but stopped with the release of Safari 6.  The developer that triaged the issue says that we no longer get the NPCocoaEventScrollWheel event fro...

Likes

Translate

Translate
Community Beginner ,
Feb 10, 2013 Feb 10, 2013

Copy link to clipboard

Copied

I opened a bug for it
If you see this post, please vote for it here - https://bugbase.adobe.com/index.cfm?event=bug&id=3498166

thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 11, 2013 Feb 11, 2013

Copy link to clipboard

Copied

I'm pretty sure that this is actually a bug in Flex.  Flash Player handles the trackpad correctly, but the components don't. 

There are multiple hits on this problem in the Flex bugbase:

https://issues.apache.org/jira/issues/?jql=text%20~%20trackpad

I looked in the Flex bugs to see if they pointed back to Flash Player bugs, but they don't.  If the Flex folks feel like this really is a player issue and need help getting traction, they're welcome to reach out to me directly; however, I don't believe that this is the case based on the bug notes I read in JIRA.

Also, Flex is an Open-Source project, and was donated to the Apache foundation a while ago.  If you'd like to take a whack at fixing the issue yourself, you should be able to.  Details are here: http://flex.apache.org/

Best regards,

Jeromie Clark

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 12, 2013 Feb 12, 2013

Copy link to clipboard

Copied

Hi Jeromie and thank you for your reply

I will check the matter

if it is indeed an issue of a flex component, then it's great news

since it can be solved independantly

Will look into it

thanks again

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 12, 2013 Feb 12, 2013

Copy link to clipboard

Copied

Jeromie hello

Encouraged by the possibility you opened - I opened up flash pro

made the simplest test to see if  I have something basic to start from:

mc.addEventListener(MouseEvent.MOUSE_WHEEL, on_wheel);

function on_wheel(e:MouseEvent):void{

        trace('delta: '+e.delta);

}

I'm using a macbook pro to test this, and no object seems to respond

I tried listening on movieclips textfields the stage and the main timeline, without any of those responding

I checked the reference, which claims it is supported only on windows.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/InteractiveObject.h...

I even tried using flash professional built-in components like TextArea, ScrollPane (that are still maintained by Adobe) to see purhaps I missed something surely the Adobe engineers would solve on their own set of components

but I guess the reference mentions it supports windows only for a reason...
I hoped it would be out-dated but it seems like it has an updated status.

it says:

Dispatched when a mouse wheel is spun over an InteractiveObject instance. If the target is a text field, the text scrolls as the default behavior. Only available on Microsoft Windows operating systems.

I've tested this behaviour in the browser and actually got something to respond:

it works on a mac in Firefox, and Chrome, but not in safari

found an example for you online you can check, it behaves the same.

doesn't work on safari (most mackbook users use safari...)

http://blog.flexexamples.com/wp-content/uploads/MouseWheel_test/bin/main.html

here's another one that uses pure actionscript if you think it has something to do with flex rather then the flash player...

1. Go to http://darkstar.puremvc.org/

2. Try scrolling with your mouse wheel or trackpad once the window pops up. Nothing should happen.

3. Now click the little green icon in the top-right of the application which toggles Fullscreen. Once in full screen, try scrolling with your mouse wheel or trackpad. Scroll should occur as expected.

here is another simple one:

works on chrome, doesn't respond on safari

http://gingerbinger.com/wp-content/uploads/2011/03/MouseWheelSimple.swf

Jeromie, if you can please point me to a single example that would support scrolling a container, or just catch mousewheel events on a MovieClip
I would go ahead and build the component my self.

As I value it as important enough.

Your input is appreciated

thanks

PS:
here's some really old links that try to complement the flash player lack of support for macs mousewheel events, by trying to inject those events using JavaScript and ExternalInterface:

Those are old, buggy, not worthy to be called alternatives since they work under narrow restrictions, and frankly, I think the flash player deserves a much more serious support like adobe has for issues it actually want to support and not leave this one for open-source, since the player is propietery

http://code.google.com/p/swfmousewheel/

http://code.google.com/p/flex-wmode-mousewheel-handler-example/

http://blog.earthbrowser.com/2009/01/simple-solution-for-mousewheel-events.html

http://hasseg.org/blog/post/138/os-x-mouse-wheel-support-for-actionscript-3-flash-applications-v2/

http://labs.byhook.com/2010/04/09/flash-mouse-wheel-support/

here is a flash player related bug created on 2009:

http://bugs.adobe.com/jira/browse/FP-2247

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 12, 2013 Feb 12, 2013

Copy link to clipboard

Copied

I've created two SWFs that work for me.  I'm on OS 10.7.5. 

https://sendnow.acrobat.com/?i=XE13OIVinqPkz75DfBDpjQ

One is a Multiline Textfield, and one is a TextArea Component from Flash Pro CS6.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 12, 2013 Feb 12, 2013

Copy link to clipboard

Copied

Here's another quick and dirty test that demonstrates working MouseEvents:

https://sendnow.acrobat.com/?i=b7Jq2DAVFsrZAO6Q5fPrpg

I've been testing on MacOS 10.7.5 on Firefox, but I'm pretty sure this works everywhere.  If it's not working for you, give me details about your configuration so that I can try and reproduce it on a comparable machine here.

Thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 13, 2013 Feb 13, 2013

Copy link to clipboard

Copied

Hi Jeromie

Thanks again for taking it seriously

However, do notice that none of your examples will work in safari on Mac osx

they will work in chrome and firefox, but not safari

most of mac users use safari as their browser of choice

to any of you who follow this thread looking for an ad-hok solution, which is always the case... (being ad-hok that is...)

I'd recommend this post and solution - http://labs.byhook.com/2010/04/09/flash-mouse-wheel-support/

it works well on safari, chrome but a bit buggy on firefox on Mac osx.

in any case, as I mentioned before, it is a workaround, which injects some javascript into the html and forces it to send JS events to the flash player

to compensate its lack of support on all browsers on all platforms, the blog post describes it in detail.

it mentions the different delta and events fired by the different browsers.

I would expect Adobe to acknowledge that the problem exist to start with.

Given the number of links, blogs and arguments I've included, ignoring this and claiming this problem doesn't exist is somewhat absurd.

With all due respect to open-source and your donation to the Apache flex community,

The flash player is propietery and no-one else can fix this but you guys at Adobe.

So please don't let it hang any longer...

cheers

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 13, 2013 Feb 13, 2013

Copy link to clipboard

Copied

Sorry, I was just poking at this during meetings yesterday.  I'm coming into this cold and seemed like a big enough deal that I would have heard about it at some point. 

I asked around with a couple of Safari experts and did a more thorough search of the bugbase this morning, and was able to figure out what the backstory is.

This apparently used to work, but stopped with the release of Safari 6.  The developer that triaged the issue says that we no longer get the NPCocoaEventScrollWheel event from the browser.  Effectively, we have no way to detect scrollwheel activity.  This actually applies to both the multitouch trackpads and to a USB mouse with a scrollwheel.

There's a public bug tracking this issue here: http://watsonexp.corp.adobe.com/#bug=3302758.  We did take it seriously, and gave it an appropriate level of attention.  In response, we filed Safari bugs with Apple regarding this issue on two separate instances over the last several months, but we haven't been able to get any traction. 

I've been talking to the Safari team a bunch lately.  I'll drop an email to the team I've been working with to surface the issue, but that's really the extent of what we can do from our side.

Our bug notes also reference the workarounds you've pointed to in the previous threads as the best option given the circumstances.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 13, 2013 Feb 13, 2013

Copy link to clipboard

Copied

LATEST

Thanks Jeromie

Appreciate your response

Thank you for sharing the backstory and bringing it to the attention of the relevant people in your organization
I truly hope this will be sorted by the upcoming release of the flash player

Good luck with it

Ajar

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines