Public bug reported: While working on exposing the text selection colors to embedders, I realized that the inactive selection colors never seem to be used. It appears WebViewImpl::setIsActive() is never called with false, which is what is required to grey out the current selection.
RenderWidgetHostImpl::SetActive() needs to be called with false when the window looses focus. Currently, whenever the window containing the webview receives and looses focus, RenderWidgetHostView::Focus() is called in both cases. ** Affects: oxide Importance: Medium Assignee: Olivier Tilloy (osomon) Status: In Progress -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to Oxide. https://bugs.launchpad.net/bugs/1518358 Title: Text selection is not greyed out when the window looses focus Status in Oxide: In Progress Bug description: While working on exposing the text selection colors to embedders, I realized that the inactive selection colors never seem to be used. It appears WebViewImpl::setIsActive() is never called with false, which is what is required to grey out the current selection. RenderWidgetHostImpl::SetActive() needs to be called with false when the window looses focus. Currently, whenever the window containing the webview receives and looses focus, RenderWidgetHostView::Focus() is called in both cases. To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1518358/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp