RESOLVED FIXED 60285
REGRESSION (WebKit2): A white rectangle covers up important UI elements when composing a new message at mail.yahoo.com with BrowserPlus! plug-in installed
https://bugs.webkit.org/show_bug.cgi?id=60285
Summary REGRESSION (WebKit2): A white rectangle covers up important UI elements when ...
Adam Roben (:aroben)
Reported 2011-05-05 12:08:00 PDT
To reproduce: 1. Visit mail.yahoo.com and log in. 2. Click the 'New' button to compose a new email message. 3. If the BrowserPlus! plug-in is installed, a white rectangle will appear in the upper left of the window. If the plug-in isn't installed, click 'Attach' and you will be prompted to install it. Repeat steps 1-3. A large white rectangle is displayed in the top left of the screen, blocking important UI elements.
Attachments
Show/hide windowed plugins according to the plugin element's visibility CSS property (38.76 KB, patch)
2011-05-06 10:16 PDT, Adam Roben (:aroben)
no flags
Show/hide windowed plugins according to the plugin element's visibility CSS property (38.75 KB, patch)
2011-05-06 10:36 PDT, Adam Roben (:aroben)
andersca: review+
webkit.review.bot: commit-queue-
Adam Roben (:aroben)
Comment 1 2011-05-05 12:08:06 PDT
Adam Roben (:aroben)
Comment 2 2011-05-05 12:12:04 PDT
I think the problem is that visibility:hidden doesn't hide plugins in WebKit2 on Windows.
Adam Roben (:aroben)
Comment 3 2011-05-05 12:15:13 PDT
Reduction: data:text/html,<embed style="visibility:hidden" src="http://www.flashexample.com/system/files/sites/flashexample.com/files/upload/clock.swf" type="application/x-shockwave-flash" width=300 height=300>
Adam Roben (:aroben)
Comment 4 2011-05-05 12:15:53 PDT
This bug occurs on both Mac and Windows.
Adam Roben (:aroben)
Comment 5 2011-05-05 12:16:15 PDT
Well, the symptom as described in the Title and Description only occur on Windows. But the reduction is buggy on both Mac and Windows.
Adam Roben (:aroben)
Comment 6 2011-05-05 12:19:07 PDT
Looks like the reduction is buggy in Mac WK1, as well.
Adam Roben (:aroben)
Comment 7 2011-05-05 12:20:52 PDT
I split out Mac into bug 60289.
Adam Roben (:aroben)
Comment 8 2011-05-05 15:01:44 PDT
I think we can probably port WebKit1's code to WebKit2 to fix this.
Adam Roben (:aroben)
Comment 9 2011-05-06 10:16:48 PDT
Created attachment 92598 [details] Show/hide windowed plugins according to the plugin element's visibility CSS property
Adam Roben (:aroben)
Comment 10 2011-05-06 10:36:53 PDT
Created attachment 92602 [details] Show/hide windowed plugins according to the plugin element's visibility CSS property
Anders Carlsson
Comment 11 2011-05-06 11:30:51 PDT
Comment on attachment 92602 [details] Show/hide windowed plugins according to the plugin element's visibility CSS property View in context: https://bugs.webkit.org/attachment.cgi?id=92602&action=review > Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:297 > +void NetscapePlugin::platformVisibilityDidChange() > +{ > + // FIXME: Implement this. <http://webkit.org/b/44368>. > + notImplemented(); > +} Do we really need this on Mac since there's no such thing as windowed plug-ins there? > Source/WebKit2/WebProcess/Plugins/PluginController.h:49 > + virtual bool isPluginVisible() = 0; This needs to be implemented in PluginControllerProxy or the ENABLE_PLUGIN_PROCESS build will break.
Adam Roben (:aroben)
Comment 12 2011-05-06 11:32:12 PDT
Comment on attachment 92602 [details] Show/hide windowed plugins according to the plugin element's visibility CSS property View in context: https://bugs.webkit.org/attachment.cgi?id=92602&action=review >> Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:297 >> +} > > Do we really need this on Mac since there's no such thing as windowed plug-ins there? Well, we need to fix bug 44368 somehow. I assumed this was the way to fix it. Maybe you can explain! >> Source/WebKit2/WebProcess/Plugins/PluginController.h:49 >> + virtual bool isPluginVisible() = 0; > > This needs to be implemented in PluginControllerProxy or the ENABLE_PLUGIN_PROCESS build will break. Will do!
Anders Carlsson
Comment 13 2011-05-06 11:34:13 PDT
(In reply to comment #12) > (From update of attachment 92602 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=92602&action=review > > >> Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:297 > >> +} > > > > Do we really need this on Mac since there's no such thing as windowed plug-ins there? > > Well, we need to fix bug 44368 somehow. I assumed this was the way to fix it. Maybe you can explain! > I think this may not be a problem with WebKit2 since we don't have NSViews backing plug-in views. Should be easy to test with your test case! > >> Source/WebKit2/WebProcess/Plugins/PluginController.h:49 > >> + virtual bool isPluginVisible() = 0; > > > > This needs to be implemented in PluginControllerProxy or the ENABLE_PLUGIN_PROCESS build will break. > > Will do! Thanks!
Adam Roben (:aroben)
Comment 14 2011-05-06 11:35:26 PDT
Comment on attachment 92602 [details] Show/hide windowed plugins according to the plugin element's visibility CSS property View in context: https://bugs.webkit.org/attachment.cgi?id=92602&action=review >>>> Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:297 >>>> +} >>> >>> Do we really need this on Mac since there's no such thing as windowed plug-ins there? >> >> Well, we need to fix bug 44368 somehow. I assumed this was the way to fix it. Maybe you can explain! > > I think this may not be a problem with WebKit2 since we don't have NSViews backing plug-in views. Should be easy to test with your test case! I did test in WebKit2, and the test fails. I guess I'll let you sort it out!
WebKit Review Bot
Comment 15 2011-05-06 11:41:53 PDT
Comment on attachment 92602 [details] Show/hide windowed plugins according to the plugin element's visibility CSS property Attachment 92602 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/8615037
Adam Roben (:aroben)
Comment 16 2011-05-06 11:43:45 PDT
Note You need to log in before you can comment on or make changes to this bug.