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

Issue 624296 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Feature

Blocking:
issue 623862
issue 625915



Sign in to add a comment

Move permission prompt to corner when in fullscreen

Project Member Reported by mgiuca@chromium.org, Jun 29 2016

Issue description

Version: 53
OS: Windows, Linux, Chrome OS

We've had a number of issues with fullscreen and permission prompts interacting when in fullscreen mode ( Issue 619894 ,  Issue 623862 ).

It's really hard to change the stacking order. To mitigate this, I propose moving the permission bubble to the top-left corner of the screen, when in fullscreen mode, and adding the arrow to the bubble (so it indicates it's "coming down" from the top of the screen).

I think this works better anyway as the permission bubble is very close to where it would be in non-fullscreen mode.

Shown the before and after screenshots.
 
exit-fullscreen-over-permission-bubble.png
12.2 KB View Download
fullscreen-permission-corner.png
121 KB View Download

Comment 1 by mgiuca@chromium.org, Jun 29 2016

Blocking: 623862
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 1 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 4 by bugdroid1@chromium.org, Jul 6 2016

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

commit 22beefb92cb521c2aa381431b7041f2d488c7227
Author: mgiuca <mgiuca@chromium.org>
Date: Wed Jul 06 02:25:04 2016

Permission prompts show in the top-left corner in fullscreen mode.

Previously they were shown in the center, which causes interference with
the fullscreen notification. This way, they are treated more
consistently both in and out of fullscreen mode.

BUG= 623862 , 624296 
TEST=On https://permission.site, click Fullscreen then Location. The location
  prompt should be in the top-left corner and not overlapping the "Press Esc to
  exit full screen" bubble.
TEST=As above, but with the browser window on a secondary monitor.
TEST=As above, but in Arabic or Hebrew language (should be in top-right corner).

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

[modify] https://crrev.com/22beefb92cb521c2aa381431b7041f2d488c7227/chrome/browser/ui/views/website_settings/permissions_bubble_view.cc
[modify] https://crrev.com/22beefb92cb521c2aa381431b7041f2d488c7227/chrome/browser/ui/views/website_settings/permissions_bubble_view.h
[modify] https://crrev.com/22beefb92cb521c2aa381431b7041f2d488c7227/chrome/browser/ui/views/website_settings/permissions_bubble_view_views.cc

Status: Fixed (was: Started)
Cc: mgiuca@chromium.org
Labels: OS-Mac
Owner: benwells@chromium.org
Status: Assigned (was: Fixed)
Completed on Views. Assigning to benwells@ for Mac.
Blocking: 625915
Project Member

Comment 8 by bugdroid1@chromium.org, Jul 7 2016

Labels: merge-merged-2785
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2735281192ab10e3930275697983a06df06b8171

commit 2735281192ab10e3930275697983a06df06b8171
Author: Matt Giuca <mgiuca@chromium.org>
Date: Thu Jul 07 03:07:35 2016

Permission prompts show in the top-left corner in fullscreen mode.

Previously they were shown in the center, which causes interference with
the fullscreen notification. This way, they are treated more
consistently both in and out of fullscreen mode.

BUG= 623862 , 624296 
TEST=On https://permission.site, click Fullscreen then Location. The location
  prompt should be in the top-left corner and not overlapping the "Press Esc to
  exit full screen" bubble.
TEST=As above, but with the browser window on a secondary monitor.
TEST=As above, but in Arabic or Hebrew language (should be in top-right corner).

Review-Url: https://codereview.chromium.org/2109663005
Cr-Commit-Position: refs/heads/master@{#403840}
(cherry picked from commit 22beefb92cb521c2aa381431b7041f2d488c7227)

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

Cr-Commit-Position: refs/branch-heads/2785@{#38}
Cr-Branched-From: 68623971be0cfc492a2cb0427d7f478e7b214c24-refs/heads/master@{#403382}

[modify] https://crrev.com/2735281192ab10e3930275697983a06df06b8171/chrome/browser/ui/views/website_settings/permissions_bubble_view.cc
[modify] https://crrev.com/2735281192ab10e3930275697983a06df06b8171/chrome/browser/ui/views/website_settings/permissions_bubble_view.h
[modify] https://crrev.com/2735281192ab10e3930275697983a06df06b8171/chrome/browser/ui/views/website_settings/permissions_bubble_view_views.cc

Labels: -merge-merged-2785
Labels: Needs-Feedback
Verified the Issue on Win 7,Ubuntu 14.04 and Mac 10.11.5 using 53.0.2785.14 and its working fine on Win and Linux.
Its not working on Mac as expected.
mgiuca@ : Could you please review the attached screen cast of Mac and update 
further.
624296_July_12.mp4
386 KB View Download
624296_Mac.mp4
826 KB View Download
Thanks. Those screencasts match my expectations: it isn't working on Mac yet (assigned to benwells@ for that work).
Project Member

Comment 12 by bugdroid1@chromium.org, Aug 12 2016

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

commit cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65
Author: benwells <benwells@chromium.org>
Date: Fri Aug 12 07:00:36 2016

Position Mac permission bubbles on the left when in fullscreen.

This means they will not obscure the fullscreen bubble, if it is
visible.

As part of this change, some code which forced the location bar
to be shown when a permission bubble was visible was removed.
This code isn't necessary anymore, as permission bubbles are
positioned appropriately when in fullscreen.

BUG= 624296 

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

[modify] https://crrev.com/cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65/chrome/browser/ui/cocoa/browser_window_controller_private.h
[modify] https://crrev.com/cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65/chrome/browser/ui/cocoa/browser_window_controller_private.mm
[modify] https://crrev.com/cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm
[modify] https://crrev.com/cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller_unittest.mm
[modify] https://crrev.com/cf7360dbc5ab679e20c5f03d2b7cf52b8cd7ee65/chrome/browser/ui/cocoa/website_settings/permission_prompt_impl_views_mac.mm

Status: Fixed (was: Assigned)

Sign in to add a comment