Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 1841623002: Revert of Popup loosing focus through keyboard events should update HTMLSelectElement display (Closed)

Created:
4 years, 8 months ago by tkent
Modified:
4 years, 8 months ago
Reviewers:
keishi
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Popup loosing focus through keyboard events should update HTMLSelectElement display (patchset #3 id:40001 of https://codereview.chromium.org/1833843002/ ) Reason for revert: Caused crashes; crbug.com/598291 Original issue's description: > Popup loosing focus through keyboard events should update HTMLSelectElement display > > Ctrl-N while a popup menu is open, causes the window to loose focus, and ViewMsg_Close is sent to the popup widget. > This causes WebPagePopupImpl::close to be called. > Right now this causes the popup to close without updating the display from the provisional selection (ie HTMLSelectElement::indexToSelectOnCancel) to the actual selection. > WebPagePopupImpl::close should use WebPagePopupImpl::cancel to handle that case properly. > > Loosing focus through mouse clicks were working because we manually call cancel from the mouse event handler. > > Regression caused by r193034 > > BUG=597206 > > Committed: https://crrev.com/831776ec4a98f781dc8ce20bb3346538fd59b8da > Cr-Commit-Position: refs/heads/master@{#383271} TBR=keishi@chromium.org NOTRY=true BUG=597206, 598291 Committed: https://crrev.com/3223d00c477336a4a6d8af18dfc5fe24591e156d Cr-Commit-Position: refs/heads/master@{#383614}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
tkent
Created Revert of Popup loosing focus through keyboard events should update HTMLSelectElement display
4 years, 8 months ago (2016-03-28 23:46:28 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841623002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841623002/1
4 years, 8 months ago (2016-03-28 23:47:31 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-03-28 23:52:34 UTC) #5
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 23:54:07 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3223d00c477336a4a6d8af18dfc5fe24591e156d
Cr-Commit-Position: refs/heads/master@{#383614}

Powered by Google App Engine
This is Rietveld 408576698