Closed Bug 1314935 Opened 8 years ago Closed 7 years ago

Flash game would not respond with key / mouse

Categories

(Core Graveyard :: Plug-ins, defect)

52 Branch
x86
Windows 10
defect
Not set
normal

Tracking

(firefox49 wontfix, firefox-esr45 unaffected, firefox50 unaffected, firefox51+ unaffected, firefox52+ unaffected, firefox-esr52 unaffected, firefox53 unaffected, firefox54 unaffected, firefox55 fixed)

RESOLVED FIXED
Tracking Status
firefox49 --- wontfix
firefox-esr45 --- unaffected
firefox50 --- unaffected
firefox51 + unaffected
firefox52 + unaffected
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 --- fixed

People

(Reporter: alice0775, Unassigned)

References

()

Details

(Keywords: regression, Whiteboard: [DUPEME], STR in comment #0)

[Tracking Requested - why for this release]:

[Tracking Requested - why for this release]:

Setting dom.ipc.plugins.asyncdrawing.enabled = false fixes the problem

Reproducible: 100%

Steps To Reproduce:
1. Open http://ja.y8.com/games/pirate_the_treasures_return in a new tab
2. Wait for loading the game menu
3. Click [>] button
  --- observe, hover highlight, response
4. Click [PLAY] in "LOCAL SAVE" pane
  --- observe, hover highlight, response
5. Wait for loading the game
6. Press [W] ,[SPACE] key to jump
  --- observe, whether the hunter jumps or not
7. Click on the game area
  --- observe, whether the weapon is fired or not
8. When a game finished, Click on [reload] icon to restart the game
  --- observe, hover highlight, response



Actual Results:
Button would not respond.
Nothing happens with Key press.
Sometimes, it respond after toggle window size mode (minimize, restore) or switch tabs

Expected Results:
The button should highlight when hover over and click on it.
The button and key should be respond.
Keywords: regression
Whiteboard: [DUPEME]
Hmm, no issues here with nightly and async painting turned on. Tracy, please test this game in a slower vm to see if you can reproduce.
Flags: needinfo?(twalker)
With latest Nightly, I can repro slow response to clicks when in asyncdrawing mode.  Is not reproducible with asycdrawing turned off.  It is more easily reproduced while several other tabs were open with flash animations.  in this case, I had Alice's test case from bug 1314467 opened in 5 other tabs.
Flags: needinfo?(twalker)
Track 51+/52+ as regression related to flash.
Hi :jimm,
Can you help find an owner for this per comment #2?
Flags: needinfo?(jmathies)
FYI, disabling Flash Plugin Protect Mode fixes the problem.

https://hg.mozilla.org/mozilla-central/rev/79feeed4293336089590320a9f30a813fade8e3c
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 ID:20161116030212
This has been triaged, it's one of the async plugin bugs. no ownership yet since we are waiting on other fixes to land.
Flags: needinfo?(jmathies)
Flags: needinfo?(twalker)
Flags: needinfo?(twalker)
Whiteboard: [DUPEME] → [DUPEME], STR in comment #0
Too late for 51, mark 51 as won't fix.
input and rendering profile:
https://perfht.ml/2l0hwT7
(In reply to Jim Mathies [:jimm] from comment #8)
> input and rendering profile:
> https://perfht.ml/2l0hwT7

This site is a good test case for input delays. AFAICT we're actually doing ok perf wise. External to us though one of the flash processes is consuming 75% or more of the cpu, which drags everything down.
(In reply to Jim Mathies [:jimm] from comment #9)
> (In reply to Jim Mathies [:jimm] from comment #8)
> > input and rendering profile:
> > https://perfht.ml/2l0hwT7
> 
> This site is a good test case for input delays. AFAICT we're actually doing
> ok perf wise. External to us though one of the flash processes is consuming
> 75% or more of the cpu, which drags everything down.

This said, flipping back to windowed mode I see the same cpu use, but in that case input is processed in a more timely way.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.