Text selection is not greyed out when the window looses focus

Bug #1518358 reported by Olivier Tilloy on 2015-11-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Olivier Tilloy

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.

Olivier Tilloy (osomon) on 2015-11-20
Changed in oxide:
milestone: none → branch-1.12
Olivier Tilloy (osomon) on 2015-11-20
Changed in oxide:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers