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

Issue 690611 link

Starred by 6 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocked on:
issue 720120

Blocking:
issue 660126



Sign in to add a comment

Add Touch Bar support for fullscreen

Project Member Reported by shrike@chromium.org, Feb 9 2017

Issue description

For fullscreen mode we should provide an explicit “Exit Full Screen” item with persistent origin indicator (see screenshot).

One slight wrinkle/complication: when you enter fullscreen today you see an overlay window that says “Press Esc to exit fullscreen”. When using a Touch Bar Mac we should prefer the message, “Press Exit Full Screen” but we can’t know whether or not a Touch Bar is visible. So the message will say “Press Esc to exit fullscreen” but the Touch Bar will display an “Exit Full Screen” button and no Esc button.

We should explore the possibility of detecting the touch bar but if it's not possible it's not the end of the world.

Shooting for M58 but seems unlikely given that feature freeze is in 8 days.
 
ExitFullScreen.png
190 KB View Download
Components: -UI>Browser>Core UI>Browser>Touchbar
Blockedon: -661734
Status: Fixed (was: Assigned)
Status: Started (was: Fixed)
Reopening this for a sec - when I go fullscreen in 60.0.3088.3 the touch bar's buttons don't change. They are the regular set of buttons rather than the Exit Fullscreen button. And, even though there's the default "esc" button, tapping it does not exit me out of fullscreen. Any ideas?

Browser fullscreen or tab content fullscreen?
Control-Cmd F. I see now - it's content fullscreen only. That makes sense, but it should be the only button we place in the toolbar at that point. Right now the others (Back, Forward, Home, etc.) are all there, but it does not make sense to use them in content fullscreen mode.

I see what happened. You played with the customization before you tested the fullscreen touch bar right?

Restore to the default touch bar and try again. The rest of the buttons should disappeared. I have an easy fix for this, I'll get it in tomorrow
Ah, that was it.

The fullscreen button and URL string look very nice. bettes@ - we're looking to ship touch bar fullscreen support in M60, with the rest of the touch bar support. You should add what spqchan@ has done to your UI review deck.

Project Member

Comment 10 by bugdroid1@chromium.org, May 5 2017

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

commit e01a3a5f99941448100d68e92c76f5ae172595ee
Author: spqchan <spqchan@chromium.org>
Date: Fri May 05 23:36:50 2017

[Mac] Fix for Tab Fullscreen Touch Bar

The touch bar for tab fullscreen should get its own
identifier. Otherwise, editing the default browser touch
bar will have an effect on it.

BUG= 690611 

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

[modify] https://crrev.com/e01a3a5f99941448100d68e92c76f5ae172595ee/chrome/browser/ui/cocoa/browser_window_touch_bar.h
[modify] https://crrev.com/e01a3a5f99941448100d68e92c76f5ae172595ee/chrome/browser/ui/cocoa/browser_window_touch_bar.mm
[modify] https://crrev.com/e01a3a5f99941448100d68e92c76f5ae172595ee/chrome/browser/ui/cocoa/browser_window_touch_bar_unittest.mm

Blockedon: 720120
Status: Fixed (was: Started)
Touch Bar Shot 2017-07-20 at 4.01.24 PM.png
28.9 KB View Download
#13 shows the updated UI

Sign in to add a comment