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

Issue 442933002: android: Don't dismiss AutofillPopup on outside touch (Closed)

Created:
6 years, 4 months ago by Evan Stade
Modified:
6 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

android: Don't allow AutofillPopup on outside touch By default, PopupWindows dismiss when the user touches outside the window. The only way to avert this behavior when using a ListPopupWindow is to rely on a hidden API. This manifested as the linked bug because each tap dismissed the popup and detached it from the anchor view. C++ didn't realize the popup was dismissed, and tried to update it, but there was no anchor view. BUG=400601 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291463

Patch Set 1 #

Total comments: 17

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : findbugs suppression and log the Exception #

Patch Set 5 : don't need findbugs suppression after all? #

Patch Set 6 : sync #

Messages

Total messages: 44 (0 generated)
Evan Stade
This is ugly, suggestions for better fixes welcome. I see two alternatives, but both are ...
6 years, 4 months ago (2014-08-05 19:44:30 UTC) #1
aurimas (slooooooooow)
https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (left): https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#oldcode102 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:102: public void dismiss() { On 2014/08/05 19:44:30, Evan Stade ...
6 years, 4 months ago (2014-08-05 21:26:50 UTC) #2
Evan Stade
https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (left): https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#oldcode102 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:102: public void dismiss() { On 2014/08/05 21:26:50, aurimas wrote: ...
6 years, 4 months ago (2014-08-05 21:29:19 UTC) #3
aurimas (slooooooooow)
https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (left): https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#oldcode102 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:102: public void dismiss() { On 2014/08/05 21:29:19, Evan Stade ...
6 years, 4 months ago (2014-08-05 21:43:12 UTC) #4
Evan Stade
https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (left): https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#oldcode102 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:102: public void dismiss() { On 2014/08/05 21:43:12, aurimas wrote: ...
6 years, 4 months ago (2014-08-05 21:49:15 UTC) #5
aurimas (slooooooooow)
https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (left): https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#oldcode102 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:102: public void dismiss() { On 2014/08/05 21:49:15, Evan Stade ...
6 years, 4 months ago (2014-08-05 22:01:41 UTC) #6
Evan Stade
https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (left): https://codereview.chromium.org/442933002/diff/1/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#oldcode102 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:102: public void dismiss() { On 2014/08/05 22:01:41, aurimas wrote: ...
6 years, 4 months ago (2014-08-05 22:04:35 UTC) #7
aurimas (slooooooooow)
+tedchoc who has been working with ListPopupWindow a lot. Maybe he has some ideas.
6 years, 4 months ago (2014-08-06 17:19:49 UTC) #8
Ted C
On 2014/08/06 17:19:49, aurimas wrote: > +tedchoc who has been working with ListPopupWindow a lot. ...
6 years, 4 months ago (2014-08-07 01:45:23 UTC) #9
Evan Stade
On 2014/08/07 01:45:23, Ted C wrote: > On 2014/08/06 17:19:49, aurimas wrote: > > +tedchoc ...
6 years, 4 months ago (2014-08-08 19:38:55 UTC) #10
Ted C
lgtm As long as phones without this work, I see this as the only available ...
6 years, 4 months ago (2014-08-11 23:10:03 UTC) #11
Evan Stade
I also added the OnDismissListener so that when the hack doesn't work, the controller is ...
6 years, 4 months ago (2014-08-12 01:36:06 UTC) #12
Evan Stade
On 2014/08/12 01:36:06, Evan Stade wrote: > I also added the OnDismissListener so that when ...
6 years, 4 months ago (2014-08-12 19:40:14 UTC) #13
Evan Stade
+benm for AW https://codereview.chromium.org/442933002/diff/40001/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (right): https://codereview.chromium.org/442933002/diff/40001/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#newcode114 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:114: } catch (Exception e) { this ...
6 years, 4 months ago (2014-08-12 19:54:56 UTC) #14
Ted C
still lgtm for me https://codereview.chromium.org/442933002/diff/40001/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (right): https://codereview.chromium.org/442933002/diff/40001/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#newcode114 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:114: } catch (Exception e) { ...
6 years, 4 months ago (2014-08-13 01:27:48 UTC) #15
Evan Stade
https://codereview.chromium.org/442933002/diff/40001/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java File ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java (right): https://codereview.chromium.org/442933002/diff/40001/ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java#newcode114 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java:114: } catch (Exception e) { On 2014/08/13 01:27:48, Ted ...
6 years, 4 months ago (2014-08-13 19:15:22 UTC) #16
benm (inactive)
reflection in ui/ makes me sad :-( Has anyone filed an internal bug with the ...
6 years, 4 months ago (2014-08-18 11:13:56 UTC) #17
Evan Stade
On 2014/08/18 11:13:56, benm wrote: > reflection in ui/ makes me sad :-( > > ...
6 years, 4 months ago (2014-08-18 18:16:48 UTC) #18
Evan Stade
ping benm
6 years, 4 months ago (2014-08-19 22:24:37 UTC) #19
benm (inactive)
On 2014/08/19 22:24:37, Evan Stade wrote: > ping benm What would be the cost of ...
6 years, 4 months ago (2014-08-20 13:30:43 UTC) #20
Evan Stade
On 2014/08/20 13:30:43, benm wrote: > On 2014/08/19 22:24:37, Evan Stade wrote: > > ping ...
6 years, 4 months ago (2014-08-20 20:24:17 UTC) #21
Evan Stade
This CL has been ready to go for a week; +sgurun for android_webview/ review from ...
6 years, 4 months ago (2014-08-21 17:32:32 UTC) #22
benm (inactive)
On 2014/08/21 17:32:32, Evan Stade wrote: > This CL has been ready to go for ...
6 years, 4 months ago (2014-08-21 17:40:16 UTC) #23
Evan Stade
On 2014/08/21 17:40:16, benm wrote: > On 2014/08/21 17:32:32, Evan Stade wrote: > > This ...
6 years, 4 months ago (2014-08-21 17:43:24 UTC) #24
sgurun-gerrit only
On 2014/08/21 17:40:16, benm wrote: > On 2014/08/21 17:32:32, Evan Stade wrote: > > This ...
6 years, 4 months ago (2014-08-21 17:46:39 UTC) #25
benm (inactive)
On 2014/08/21 17:43:24, Evan Stade wrote: > On 2014/08/21 17:40:16, benm wrote: > > On ...
6 years, 4 months ago (2014-08-21 17:49:23 UTC) #26
Evan Stade
On 2014/08/21 17:46:39, sgurun wrote: > On 2014/08/21 17:40:16, benm wrote: > > On 2014/08/21 ...
6 years, 4 months ago (2014-08-21 17:59:31 UTC) #27
sgurun-gerrit only
On 2014/08/21 17:59:31, Evan Stade wrote: > On 2014/08/21 17:46:39, sgurun wrote: > > On ...
6 years, 4 months ago (2014-08-21 18:04:25 UTC) #28
sgurun-gerrit only
On 2014/08/21 18:04:25, sgurun wrote: > On 2014/08/21 17:59:31, Evan Stade wrote: > > On ...
6 years, 4 months ago (2014-08-21 23:05:23 UTC) #29
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 4 months ago (2014-08-22 01:11:10 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/442933002/100001
6 years, 4 months ago (2014-08-22 01:12:49 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 02:03:06 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 02:16:54 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/1206)
6 years, 4 months ago (2014-08-22 02:16:57 UTC) #34
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 4 months ago (2014-08-22 03:59:31 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/442933002/100001
6 years, 4 months ago (2014-08-22 04:00:51 UTC) #36
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 04:55:28 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 05:49:43 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/1285)
6 years, 4 months ago (2014-08-22 05:49:44 UTC) #39
benm (inactive)
On 2014/08/22 05:49:44, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 4 months ago (2014-08-22 09:20:12 UTC) #40
Evan Stade
On 2014/08/22 09:20:12, benm wrote: > On 2014/08/22 05:49:44, I haz the power (commit-bot) wrote: ...
6 years, 4 months ago (2014-08-22 18:07:49 UTC) #41
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 4 months ago (2014-08-22 18:15:33 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/442933002/100001
6 years, 4 months ago (2014-08-22 18:16:49 UTC) #43
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 19:11:32 UTC) #44
Message was sent while issue was closed.
Committed patchset #6 (100001) as 291463

Powered by Google App Engine
This is Rietveld 408576698