Closed
Bug 976769
Opened 11 years ago
Closed 11 years ago
After closing the placeholder, the plugin-area is still covered by the gray area, blocking other elements
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Core Graveyard
Plug-ins
Tracking
(firefox29 fixed, firefox30 verified)
VERIFIED
FIXED
mozilla30
People
(Reporter: elbart, Assigned: gfritzsche)
References
()
Details
Attachments
(2 files, 3 obsolete files)
(deleted),
image/jpeg
|
Details | |
(deleted),
patch
|
benjamin
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR: - Set Flash to "ask to activate" (or to "disabled" or not installed at all with a build with bug 921730 fixed) - Visit URL - Close the plugin-placeholder Expected Results: The placeholder is hidden or not hiding anything else, and the mouseover-menu located above the embed is accessible and usable. Actual Results: The gray area of the placeholder remains and covers the mouseover-menu, see screenshot.
Blocks: click-to-play
Regression window (m-c): Last good revision: b1e5ade62913 (2013-12-17) First bad revision: 862cb6a1cc88 (2013-12-18) Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b1e5ade62913&tochange=862cb6a1cc88 Regression window (m-i): http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=4f541dfa1a41&tochange=0be09b045302 Suspected: 97a3f38d2959 Benjamin Smedberg — Bug 853973 - If a plugin is overlayed by other content on the page, then treat it as a hidden plugin: hide the overlay and present the infobar for click-to-play or crashed plugins, r=jaws
Blocks: 853973
Assignee | ||
Comment 2•11 years ago
|
||
Thank you for the details. The change here is causing this: http://hg.mozilla.org/integration/mozilla-inbound/diff/97a3f38d2959/toolkit/mozapps/plugins/content/pluginProblemContent.css Now the overlay itself stays visible and keeps a high z-index and only it's content is hidden. I'm not sure what the best option is here, but we could e.g.: * only use the maximum z-index for .mainBox.visible * actually hide the element or remove the overlay for clicks on .closeIcon or the context menu entry
OS: Windows 7 → All
Priority: -- → P3
Hardware: x86_64 → All
Assignee | ||
Comment 3•11 years ago
|
||
bsmedberg, what do you think? This still keeps the grey overlay area around but only fixes the z-index when it's "visible". https://tbpl.mozilla.org/?tree=Try&rev=b5d2f8df2e07
Assignee: nobody → georg.fritzsche
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8382112 -
Flags: review?(benjamin)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8382112 -
Attachment is obsolete: true
Attachment #8382112 -
Flags: review?(benjamin)
Attachment #8382113 -
Flags: review?(benjamin)
Comment 5•11 years ago
|
||
Comment on attachment 8382113 [details] [diff] [review] Only give "visible" overlay a non-default z-index + is(style.zIndex, "2.14748e+9", "Test 1, Plugin overlay should have the maximum z-index."); This looks kinda fragile. Can we please instead check that it's not 0 or auto?
Attachment #8382113 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 6•11 years ago
|
||
So, this was failing the test for bug 752516. The problem is that we now tested for the overlay visibility first (gPluginHandler.shouldShowOverlay) and only then layered it on top using the z-index from .visible. The next best thing i can think of is: * defaulting to layering the overlay on top * still layering on top when we make it "visible" * fall back to default z-index when we make the overlay "invisible" https://tbpl.mozilla.org/?tree=Try&rev=e512bf0e60b8
Attachment #8382113 -
Attachment is obsolete: true
Comment 7•11 years ago
|
||
Or, now that we have proper detection for whether a plugin is "on top" we could give up on bug 752516 completely and never use z-index to bring it to the top.
Comment 8•11 years ago
|
||
Si, can I have this bug for me because it is like the continuation of the last bug which I have solved. bug 921730
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #7) > Or, now that we have proper detection for whether a plugin is "on top" we > could give up on bug 752516 completely and never use z-index to bring it to > the top. That sounds good. With the notification bar & the detection, discoverability is not an issue anymore, so this shouldn't be a problem. (In reply to Anup from comment #8) > Si, can I have this bug for me because it is like the continuation of the > last bug which I have solved. bug 921730 This is more a follow-up to bug 853973 and i already have a patch around. I'm sure we can find further suitable bugs for you after bug 863773!
Assignee | ||
Comment 10•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=34d95d9cebfa
Attachment #8383047 -
Attachment is obsolete: true
Attachment #8383122 -
Flags: review?(benjamin)
Updated•11 years ago
|
Attachment #8383122 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e7ff17f01624
Reporter | ||
Comment 12•11 years ago
|
||
Thanks. After doing some test with the inbound-build (1393931937) and trying some sites, I found an oddity: bug 927392 also covers the issue of mouseover-menus being covered by the ctp-overlay and has some examples. Now with the patch of this bug applied, the menu is being shown above the overlay on http://wiesenmarkt.at/news.php , http://www.eleanorlaing.com/ and on http://www.huffingtonpost.com/2012/01/09/taiwan-garbage-trucks-music_n_1195020.html#comments (put the mouse over the Facebook-like-button just below the second embed), but on http://oharenoise.org/ the menu is still behind the overlay. Is that an issue of the site's code?
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Elbart from comment #12) > Is that an issue of the site's code? Thanks for testing this - it's another issue with the styling of our overlay. I'm filing a follow-up bug in a bit.
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e7ff17f01624
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Comment 15•11 years ago
|
||
From what I see, this bug is not actually about "closing the placeholder", right ? About "closing the placeholder", I find a little strange the part when clicking on the overlay after closing it from the X button -> the CTP popup and the "Activate" text show up. Is this covered by bug 979318 ?
Flags: needinfo?(georg.fritzsche)
Assignee | ||
Comment 16•11 years ago
|
||
The behavior for the close icon changed with bug 853973: it now only hides the contents of the overlay, not the overlay itself. This bug was fixed by not having the overlay stay on top after you clicked the close icon. The bug you found is something else and should be filed. It should be fixed by what i want to do in bug 979318, so it depends on that bug.
Flags: needinfo?(georg.fritzsche)
Comment 17•11 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] from comment #16) > This bug was fixed by not having the overlay stay on top after you clicked > the close icon. It's not staying on top without clicking the close button too.
Assignee | ||
Comment 18•11 years ago
|
||
Yes, indeed, that's how it is supposed to work.
Comment 19•11 years ago
|
||
(In reply to Elbart from comment #0) > Expected Results: > the mouseover-menu located above the embed is accessible and usable. Verified fixed 30.0a1 (2014-03-07), win 7, ubuntu 13.04 and mac os x 10.9
Status: RESOLVED → VERIFIED
status-firefox30:
--- → verified
Assignee | ||
Comment 20•11 years ago
|
||
Comment on attachment 8383122 [details] [diff] [review] Stop layering the plugin overlay topmost [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 853973 User impact if declined: Unreachable elements like navigation menus on some sites due to the plugin placeholder (click-to-play overlay) being on top and no way to access them without activating plugins. Testing completed (on m-c, etc.): Baked on m-c, verified. Risk to taking this patch (and alternatives if risky): Low - small style change & we fall back to the "hidden plugin" handling in affected cases where overlays might not be reachable anymore. String or IDL/UUID changes made by this patch: None.
Attachment #8383122 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
status-firefox29:
--- → affected
Updated•11 years ago
|
Attachment #8383122 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 21•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/eeae2bb00b8f
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•