Closed
Bug 1199892
Opened 9 years ago
Closed 9 years ago
Mouse cursor flickers in Flash object with wmode opaque/transparent
Categories
(Core :: General, defect)
Tracking
()
People
(Reporter: damnbugs, Assigned: jimm)
References
Details
(Keywords: regression, testcase)
Attachments
(3 files, 1 obsolete file)
(deleted),
application/x-shockwave-flash
|
Details | |
(deleted),
text/html
|
Details | |
(deleted),
patch
|
roc
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150826023504
Steps to reproduce:
After update to Firefox 40
Actual results:
The cursor inside Flash is no longer shown as hand. It is shown only like there is nothing clickable. So the users do not know where to click inside a flash game / file.
Expected results:
Mouse should be shown as usual as a hand when there is a clickable link.
could you attach a simple testcase (or public URL to test).
Flags: needinfo?(damnbugs)
Keywords: testcase-wanted
Flags: needinfo?(damnbugs)
Keywords: testcase-wanted → testcase
Here is a sample of the bug including the parameters. The mouse comes only when clicking and moving inside the game.
http://www.x-oo.com/flash-online-games/kartenspiele/lightning.html
Here is a sample "without" the parameters from the title of this report. Here it works fine. But the parameter is needed because of some advertisement and/or layers.
http://www.x-oo.com/flash-online-games/kartenspiele/solitaire.html
Broken in both e10s/non-e10s with the Flash testcase.
Regression range:
m-c:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=51e3cb11a258&tochange=8af644c9b616
m-i:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=c24fb4429029&tochange=ffd1b16f058b
David Parks — Bug 1018639 - Maintain separate cursors in chrome and client processes. r=roc
David Parks — Bug 1018639 - Reset the cursor on WM_SETCURSOR message when pointer is over content. r=jimm
Blocks: 1018639
Status: UNCONFIRMED → NEW
status-firefox40:
--- → affected
status-firefox41:
--- → affected
status-firefox42:
--- → affected
status-firefox43:
--- → affected
tracking-firefox41:
--- → ?
tracking-firefox42:
--- → ?
tracking-firefox43:
--- → ?
Component: Untriaged → General
Ever confirmed: true
Flags: needinfo?(davidp99)
Keywords: regression
Product: Firefox → Core
Comment 7•9 years ago
|
||
FYI,
Disabled protect mode of flash plugin fixes the problem (though cursor is flickering when moving it)
Yes but this cannot be a final solution for the normal user. Is there nothing else what can be done ? Is this parameter really a security issue ? I dont think so.
https://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html#main_Browser_support_for_Window_Mode__wmode__values
This list contains the basic parameters and there is no security issue in chrome or in IE so far. Only in Firefox. Can this be fixed ?
jimm, can you help find an owner for this since it looks like the regressing bug was e10s related? thanks!
Flags: needinfo?(jmathies)
Assignee | ||
Updated•9 years ago
|
tracking-e10s:
--- → ?
Flags: needinfo?(jmathies)
It is getting too late to fix this in FF41 given that we don't have a patch ready. Let's try to get this fixed in 42. Also, if this is e10s only, FF41 might be ok as e10s is disabled by default.
Comment 12•9 years ago
|
||
It's not only e10s (you can try the testcase in the current FF40 where e10s is disabled by default), this bug is pretty annoying on various websites displaying Flash videos or games because the mouse cursor is flashing.
Summary: <param name="wmode" value="opaque"></param> Cursor in Flash no longer working → Mouse cursor flickers in Flash object with wmode opaque/transparent
Comment 14•9 years ago
|
||
The problem with this bug is not a security issue. Changing to wmode to "window" destroys my company's products, because we need overlapping HTML elements.
As I secriped (in Bug 1207215, includes demo), Firefox prefers in "transparent"-mode to show the cursor-setting of the HTML-body (resp. of the browser). But not consequently, instead, the pointer-icon flickers between browser-cursor and Flash-cursor when mouse is moving. By clicking and moving at the same time, the Flash-cursor appears correctly.
Firefox should not be in conflict with mouse-pointer settings of the Flash-plugin and should give priority to the plugin.
Comment 15•9 years ago
|
||
Maybe the same browser-plugin-conflict issue is the well known mouse-wheel problem. Firefox dispatches no mouse-wheel-events to the plugin.
Comment 16•9 years ago
|
||
Olly, any idea if someone is available to fix this annoying regression? It affects many video/game websites and some Flash apps for corporate.
Flags: needinfo?(bugs)
Comment 17•9 years ago
|
||
No idea. I didn't review the regressing patches.
roc might have some ideas, or jimm once he is back from vacation
Flags: needinfo?(roc)
Flags: needinfo?(jmathies)
Updated•9 years ago
|
Flags: needinfo?(bugs)
Comment 18•9 years ago
|
||
But by default the regressing patches should be backed out.
Jim will be back in a few days, and since it's the beginning of a cycle, we might as well see if we can fix this on beta before backing out the original patches.
Flags: needinfo?(roc)
Assignee | ||
Comment 20•9 years ago
|
||
I see the flicker but I don't have any problems with cursors updating to the hand in the test case or this game:
http://www.x-oo.com/flash-online-games/kartenspiele/lightning.html
Since this reproduces in non-e10s we probably want to track this for m8 and get it fixed.
Flags: needinfo?(jmathies)
Flags: needinfo?(davidp99)
Updated•9 years ago
|
Flags: needinfo?(jmathies)
Assignee | ||
Comment 21•9 years ago
|
||
I backed cset d3a3a4a64303 out, it fixed the flicker problem and didn't reintroduce bug 1018639. I'm not sure why davidp felt we needed that code change.
Flags: needinfo?(jmathies)
Assignee | ||
Comment 22•9 years ago
|
||
Assignee: nobody → jmathies
Attachment #8668375 -
Flags: review?(roc)
Assignee | ||
Comment 23•9 years ago
|
||
Comment on attachment 8668375 [details] [diff] [review]
backout d3a3a4a64303
oops, that wasn't a backout patch.
Attachment #8668375 -
Flags: review?(roc)
Assignee | ||
Comment 24•9 years ago
|
||
Attachment #8668375 -
Attachment is obsolete: true
Attachment #8668401 -
Flags: review?(roc)
Assignee | ||
Updated•9 years ago
|
Attachment #8668401 -
Flags: review?(roc) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 25•9 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Comment 27•9 years ago
|
||
Jim, could you fill the uplifts request to beta & aurora (if it makes sense)? Thanks
Flags: needinfo?(jmathies)
Assignee | ||
Comment 28•9 years ago
|
||
Comment on attachment 8668401 [details] [diff] [review]
backout d3a3a4a64303
Approval Request Comment
[Feature/regressing bug #]:
bug 1018639
[User impact if declined]:
Moderate issues with mouse cursor flicker when hovering over flash applets that set a custom cursor. See test case for an example. Windows only.
[Describe test coverage new/current, TreeHerder]:
Manual testing by me.
[Risks and why]:
Low, the code that landed in bug 1018639 was e10s specific, which is held on aurora. If backing this patch out breaks something under e10s we'll have plenty of time to fix it.
[String/UUID change made/needed]:
none
Flags: needinfo?(jmathies)
Attachment #8668401 -
Flags: approval-mozilla-beta?
Attachment #8668401 -
Flags: approval-mozilla-aurora?
Comment 29•9 years ago
|
||
Comment on attachment 8668401 [details] [diff] [review]
backout d3a3a4a64303
Thanks, taking it as it fixes a graphic glitch. Should be in 42 beta 6.
Attachment #8668401 -
Flags: approval-mozilla-beta?
Attachment #8668401 -
Flags: approval-mozilla-beta+
Attachment #8668401 -
Flags: approval-mozilla-aurora?
Attachment #8668401 -
Flags: approval-mozilla-aurora+
Comment 30•9 years ago
|
||
Comment 31•9 years ago
|
||
Comment 32•9 years ago
|
||
This has also fixed bug 1204362 (which is similar)
You need to log in
before you can comment on or make changes to this bug.
Description
•