New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 609079 link

Starred by 7 users

Issue metadata

Status: Verified
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

pressing escape in permissions bubble activates "block" action instead of just closing the bubble

Reported by rk...@etouch.net, May 4 2016

Issue description

Chrome Version: 51.0.2704.36 Revision b443e01d2f1387ae22bf871dc6ca1468a85b6619-refs/branch-heads/2704@{#367}(32/64 bit)
OS:Windows (7,8,10), Linux (14.04 LTS)

What steps will reproduce the problem?
(1) Launch chrome, open NTP and click on 'Search by voice' icon(Permission bubble will appear)
(2) Press 'Esc' to close permission bubble,click on 'Manage Microphone settings' by clicking on camera icon and observe.

Unnecessary chrome takes 'Block' permission for microphone after pressing 'Esc' key.

Chrome should not take 'Block' for microphone after pressing 'Esc' key.

This is a regression issue,broken in 'M-51', below is bisect info:

Good Build: 51.0.2702.0
Bad Build: 51.0.2704.0

Narrow Bisect:
https://chromium.googlesource.com/chromium/src/+log/c0dfd6b2d5be7951bc1dfa61053f67d2514889f5..7ef0e8bf2f09d4b2cbae994a944c99ac0eba56a7?pretty=fuller&n=100

Suspecting: r385886

Note: Issue is not seen on Mac OSX(10.10.5, 10.11.4).
 
Video_Actual.mp4
517 KB Download
Video_Expected.mp4
437 KB Download

Comment 1 by rk...@etouch.net, May 4 2016

Summary: Regression: Chrome takes 'Block' by default for microphone after closing permission bubble. (was: Unnecessary chrome takes 'Block' permission for microphone after closing permission bubble.)
Labels: ReleaseBlock-Stable
Marking the above issue as RB-Stable, Feel free to change accordingly.

Thank you!
this might be WAI --- pinged some people, we'll see what they say.
Cc: srnarayanan@chromium.org f...@chromium.org jansson@chromium.org
Hmm, in the past, I think pressing Esc was effectively the same as pressing the "X" in the permission bubble/prompt. Neither action in the past, as far as I recall, resulted in a "block" entry in the corresponding chrome://settings section.

If the intent really is to have pressing Esc result in a "block" entry, then I think the behavior of pressing "X" should be modified to match. And the behavior of Mac should also be modified to match.

felt@ - do you know if there are stats that track the number of times "X" is pressed in the permission bubble versus pressing Esc?
Cc: benwells@chromium.org
There is no tracking of ESC vs. X for permissions metrics.

Did the change to make ESC equivalent to Deny / Block is a big change for the way permissions work. Did it go through UI review? Personally I am very against the change but we should get a UX person's opinions.
I have already pinged UX people.

This change was not explicitly intentional so much as it was a consequence of bringing this bubble more in line with all the other bubbles in Chrome.
Summary: pressing escape in permissions bubble activates "block" action instead of just closing the bubble (was: Regression: Chrome takes 'Block' by default for microphone after closing permission bubble.)
A friendly reminder that M51 Stable is launching soon! Your bug is labelled as Stable ReleaseBlock, pls make sure to land the fix and get it merged into the release branch by May 17. All changes MUST be merged into the release branch by 5pm on May 20 to make into the desktop Stable final build cut. Thanks!

Comment 9 by est...@chromium.org, May 10 2016

I have a fix here: https://codereview.chromium.org/1953943003/ I will try to land and merge it but honestly I'm not sure this is release block worthy. The behavior difference is fairly subtle.
Project Member

Comment 10 by bugdroid1@chromium.org, May 10 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0bf4ced694bba0aeb3ba518c7fe8435bc9018674

commit 0bf4ced694bba0aeb3ba518c7fe8435bc9018674
Author: estade <estade@chromium.org>
Date: Tue May 10 20:53:07 2016

In dialogs & dialog-like bubbles, make the escape button just close
the prompt.

Previously, the escape button would activate the negative button, which
was relevant if that button did anything extra in addition to closing
the prompt.

This intentionally changes the permissions bubble (back to what it
was before) as well as the bookmark bubble (now escape doesn't
remove a new bookmark). Other bubbles may be affected and
those changes are *probably* desired.

UX contacts for this decision are hwi@ and ainslie@

BUG= 609079 ,163931

Review-Url: https://codereview.chromium.org/1953943003
Cr-Commit-Position: refs/heads/master@{#392708}

[modify] https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
[modify] https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674/chrome/browser/ui/views/ssl_client_certificate_selector.cc
[modify] https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674/chrome/browser/ui/views/ssl_client_certificate_selector.h
[modify] https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674/chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc
[modify] https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674/ui/views/window/dialog_client_view.cc
[modify] https://crrev.com/0bf4ced694bba0aeb3ba518c7fe8435bc9018674/ui/views/window/dialog_delegate_unittest.cc

Status: Started (was: Assigned)
I plan to let this bake a little bit before asking for a merge.
Verified in M52 Canary 52.0.2734.0 in Win, Mac, Linux

After clearing mic/camera permissions in chrome://settings/content, and pressing 'Esc' button in the permission bubble while at https://test.webrtc.org/manual/audio-and-video/, 'block' action is not activated and the permission bubble just closes
(equivalent to pressing the 'x' in the same permission bubble)

Comment 13 by rk...@etouch.net, May 13 2016

Just to update:

Rechecked above issue in latest canary version 52.0.2734.0,it seems to be fixed and working as intended.kindly refer the attached video for the same.

Thank you
Actual_Fix.mp4
478 KB Download
Labels: Merge-Request-51

Comment 15 by tin...@google.com, May 13 2016

Labels: -Merge-Request-51 Merge-Approved-51 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M51 (branch: 2704)
Project Member

Comment 16 by bugdroid1@chromium.org, May 13 2016

Labels: -merge-approved-51 merge-merged-2704
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/567f799de8d6228d905c2d10d7db9fe0f4e81223

commit 567f799de8d6228d905c2d10d7db9fe0f4e81223
Author: Evan Stade <estade@chromium.org>
Date: Fri May 13 16:43:36 2016

In dialogs & dialog-like bubbles, make the escape button just close the prompt.

Previously, the escape button would activate the negative button, which
was relevant if that button did anything extra in addition to closing
the prompt.

This intentionally changes the permissions bubble (back to what it
was before) as well as the bookmark bubble (now escape doesn't
remove a new bookmark). Other bubbles may be affected and
those changes are *probably* desired.

UX contacts for this decision are hwi@ and ainslie@

BUG= 609079 ,163931

Review-Url: https://codereview.chromium.org/1953943003
Cr-Commit-Position: refs/heads/master@{#392708}
(cherry picked from commit 0bf4ced694bba0aeb3ba518c7fe8435bc9018674)

Review URL: https://codereview.chromium.org/1978883002 .

Cr-Commit-Position: refs/branch-heads/2704@{#537}
Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251}

[modify] https://crrev.com/567f799de8d6228d905c2d10d7db9fe0f4e81223/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
[modify] https://crrev.com/567f799de8d6228d905c2d10d7db9fe0f4e81223/chrome/browser/ui/views/ssl_client_certificate_selector.cc
[modify] https://crrev.com/567f799de8d6228d905c2d10d7db9fe0f4e81223/chrome/browser/ui/views/ssl_client_certificate_selector.h
[modify] https://crrev.com/567f799de8d6228d905c2d10d7db9fe0f4e81223/chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc
[modify] https://crrev.com/567f799de8d6228d905c2d10d7db9fe0f4e81223/ui/views/window/dialog_client_view.cc
[modify] https://crrev.com/567f799de8d6228d905c2d10d7db9fe0f4e81223/ui/views/window/dialog_delegate_unittest.cc

Status: Fixed (was: Started)
Labels: TE-Verified-51.0.2704.54 TE-Verified-M51
Tested the same on win7, Linux 14.04 chrome version 51.0.2704.54 - Chrome did not 'Block' for microphone after pressing 'Esc' key.

Please find the screenshot

Fix works as expected
Screenshot from 2016-05-18 12:02:30.png
156 KB View Download
Status: Verified (was: Fixed)
Verified in M51 Beta 51.0.2704.54 in Win, Mac, Linux

After clearing mic/camera permissions in chrome://settings/content, and pressing 'Esc' button in the permission bubble while at https://test.webrtc.org/manual/audio-and-video/, 'block' action is not activated and the permission bubble just closes
(equivalent to pressing the 'x' in the same permission bubble)
 Issue 920639  has been merged into this issue.

Sign in to add a comment