Closed Bug 1052196 Opened 10 years ago Closed 10 years ago

Flash drag events are not implemented on Android

Categories

(Firefox for Android Graveyard :: Plugins, defect)

31 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: q8q2q8, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.34 Safari/534.24

Steps to reproduce:

On a flash content, which is a game and needs me to swipe or drag, i did it.


Actual results:

A whole page contains the flash element is scrolled. 


Expected results:

The ivents should be notified to Flash player.
OS: Linux → Android
Hardware: x86_64 → ARM
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
We need information from you such as the URL showcasing this, and providing details such as the device you used, the build you used and steps to reproduce showing the problem.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → INCOMPLETE
For example, a flash content on the following page  
http://kids.kewpie.co.jp/oekaki
The flash is a painting toy for kids. 
We must be able to drag vegetables to put onto a canvas.
On firefox beta 31.0 and older, it is unable.
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
http://pencilmadness.com/pencil_madness
This page doesn't work either.
swipping is recongnized not for line a canvas but for page scroll.
I am using Xperia Z Ultra on which android 4.2.2 is working.
It is one of the highest performance tablets available now.
And these flash contents works correctly on another browser such as Sleipnir.
maybe those touch events are either not supported on mobile (maybe hacked for support in 'Sleipnir') or not passed to the flash plugin. I feel like this is generally a well known issue but I forget why. WONTFIX/INVALID?
Flags: needinfo?(snorp)
Pretty sure we just haven't implemented this for Flash on Android. At this point it's hard to rationalize doing any more like this, but we'd probably consider taking a patch.
Flags: needinfo?(snorp)
Summary: flash drag → Flash drag events are not implemented on Android
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → WONTFIX
Aren't touch events unique to mobile devices, instead of click events on PC?

And I don't use hacked Sleipnir. I installed it from Google Play Store, and I downloaded Flash Player,which is the latest for Android, from Adobe official site.

Sleipnir on JB or older and APS blowser on ICS can do this. Is it so different or frivolous problem?
(In reply to Ex-Active-NEET from comment #7)
> Aren't touch events unique to mobile devices, instead of click events on PC?
> 
> And I don't use hacked Sleipnir. I installed it from Google Play Store, and
> I downloaded Flash Player,which is the latest for Android, from Adobe
> official site.
> 
> Sleipnir on JB or older and APS blowser on ICS can do this. Is it so
> different or frivolous problem?

Flash on Android is discontinued and has been for a very long time. We are trying to support it as long as it remains feasible, but I don't think we're very interested in doing significant enhancements.

The touch event stuff is indeed specific to mobile devices. We just haven't done the work to hook those events up. I think it's probably pretty rare that the Flash plugin is listening to those anyway.

If anyone comes along and feels like working on it, though, the place to add this would be in nsPluginInstanceOwner::ProcessEvent() here: http://dxr.mozilla.org/mozilla-central/source/dom/plugins/base/nsPluginInstanceOwner.cpp?from=nsPluginInstanceOwner.cpp&case=true#1843
thank you.

Although, flash I mentioned are created for PC and should require click events.
So Addon to convert touch events into click events may solve this problem?
I know An addon which rejects double-tap event to prevent from zoom page.
 Like it, if addon can control events, click events is generated for some flash or so on?
(In reply to Ex-Active-NEET from comment #9)
> thank you.
> 
> Although, flash I mentioned are created for PC and should require click
> events.
> So Addon to convert touch events into click events may solve this problem?
> I know An addon which rejects double-tap event to prevent from zoom page.
>  Like it, if addon can control events, click events is generated for some
> flash or so on?

I'm not sure I understood all of this, but we already convert single taps into a click event for Flash on Android. So if you have a button or something in the Flash app, it should be working.
Then Why drag is ruined?
I think drag means mousemove event during mousedown and mouseup events.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.