Summary: | [GTK] Web view background colors don't work in accelerated compositing mode | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | amit.kachroo, berto, bugs-noreply, commit-queue, gustavo, mcatanzaro, mrobinson, yoon, zan | ||||
Priority: | P2 | Keywords: | Gtk | ||||
Version: | WebKit Local Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 159463 | ||||||
Bug Blocks: | 154066, 159465, 159512 | ||||||
Attachments: |
|
Description
Carlos Garcia Campos
2016-07-06 00:44:40 PDT
Created attachment 282882 [details] Patch This needs patch attached to bug #159463 Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API Comment on attachment 282882 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=282882&action=review The compatibility issue should be mentioned when you prepare release notes for 2.14. > Source/WebKit2/ChangeLog:12 > + window has an RGBA visual, even when setting a fully opaque brakcground, because we still need the web process background > Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:3519 > + * #GtkWidget:app-paintable property set to %TRUE, for backgrounds colors to work. Get rid of this comma. > Source/WebKit2/UIProcess/gtk/RedirectedXCompositeWindow.cpp:192 > + xDamageNotifier().add(m_window.get(), [this, damageNotify = WTFMove(damageNotify)] { Is it normal WebKit style to put spaces around the assignment operator here? I think it's easier to read without spaces. (In reply to comment #3) > Comment on attachment 282882 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=282882&action=review > > The compatibility issue should be mentioned when you prepare release notes > for 2.14. > > > Source/WebKit2/ChangeLog:12 > > + window has an RGBA visual, even when setting a fully opaque brakcground, because we still need the web process > > background > > > Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:3519 > > + * #GtkWidget:app-paintable property set to %TRUE, for backgrounds colors to work. > > Get rid of this comma. > > > Source/WebKit2/UIProcess/gtk/RedirectedXCompositeWindow.cpp:192 > > + xDamageNotifier().add(m_window.get(), [this, damageNotify = WTFMove(damageNotify)] { > > Is it normal WebKit style to put spaces around the assignment operator here? > I think it's easier to read without spaces. Yes. (In reply to comment #4) > (In reply to comment #3) > > Comment on attachment 282882 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=282882&action=review > > > > The compatibility issue should be mentioned when you prepare release notes > > for 2.14. > > > > > Source/WebKit2/ChangeLog:12 > > > + window has an RGBA visual, even when setting a fully opaque brakcground, because we still need the web process > > > > background > > > > > Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:3519 > > > + * #GtkWidget:app-paintable property set to %TRUE, for backgrounds colors to work. > > > > Get rid of this comma. > > > > > Source/WebKit2/UIProcess/gtk/RedirectedXCompositeWindow.cpp:192 > > > + xDamageNotifier().add(m_window.get(), [this, damageNotify = WTFMove(damageNotify)] { > > > > Is it normal WebKit style to put spaces around the assignment operator here? > > I think it's easier to read without spaces. > > Yes. Yes, that it's normal webkit style, I don't think removing the spaces makes it easier to read ta all. Committed r203496: <http://trac.webkit.org/changeset/203496> *** Bug 158153 has been marked as a duplicate of this bug. *** |