Issue 3844: Autofill popup should hide when the page loses focus
http://code.google.com/p/chromium/issues/detail?id=3844

New issue report by [EMAIL PROTECTED]:
1. Navigate to a form with an input field for which you have autofill data
2. Type in so the autofill popup is opened
3. Focus another window

Expected: the autofill popup is hidden
Actual: the autofill popup is still shown. It hides when you focus back the
page.


More context:
The code in webview_impl.cc should hide the autofill popup when the page
loses focus (setFocus(false)). It does not do that, as this breaks
selecting an entry in the popup with a click.
Autofill popups are shown without their window being activated (so the user
can still type in the input field). When you click on the popup, this first
kill the focus from the page, which would trigger the popup to close before
the click has been sent.
We would probably need to add to the set focus message sent to the render
widget info about which render widget is going to be focused (if any).
On Windows, the WM_KILLFOCUS message indicates which window is getting
focused, so that should be doable.


Issue attributes:
        Status: Untriaged
        Owner: [EMAIL PROTECTED]
        Labels: Type-Bug Pri-2 OS-All Area-Misc

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to