New issue
Advanced search Search tips

Issue 874341 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 243164



Sign in to add a comment

Remove the toast that shows when pressing Ctrl+Shift+Q

Project Member Reported by thomasanderson@chromium.org, Aug 15

Issue description

See  bug 243164  for context.  A toast was added in [1] to teach users how to exit Chrome using the keyboard without relying on Ctrl+Shift+Q.  The toast should be removed in M75.

[1] https://chromium.googlesource.com/chromium/src.git/+/c463a13bdfe19a4112e14276760e707e0e7d007e
 
In https://chromium-review.googlesource.com/c/chromium/src/+/1194007/2/chrome/browser/prefs/pref_service_incognito_whitelist.cc#b201

I noticed nothing is calling chrome::ToggleConfirmToQuitOption()

delete it?
> delete it?

yes, thanks for pointing that out.  it's no longer needed
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 30

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

commit 6a49603abde92f812c861569db764b430616a3d9
Author: Tom Anderson <thomasanderson@chromium.org>
Date: Thu Aug 30 23:38:37 2018

Remove some old confirm-to-quit code

BUG=874341
R=sky

Change-Id: I996a9f57e569acb62eec7e27f8ae0015b92d0ceb
Reviewed-on: https://chromium-review.googlesource.com/1196932
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587843}
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/app_controller_mac.mm
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/prefs/browser_prefs.cc
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/ui/BUILD.gn
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/ui/browser_commands.cc
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/ui/browser_commands.h
[rename] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/ui/cocoa/confirm_quit.cc
[rename] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/ui/cocoa/confirm_quit.h
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/ui/cocoa/confirm_quit_panel_controller.mm
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/browser/ui/cocoa/confirm_quit_panel_controller_unittest.mm
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/common/pref_names.cc
[modify] https://crrev.com/6a49603abde92f812c861569db764b430616a3d9/chrome/common/pref_names.h

FWIW, while this bug concerns Ctrl+Shift+Q, there's a similar behavior of Ctrl+Shift+W closing all the tabs.

I put my comment there:

https://bugs.chromium.org/p/chromium/issues/detail?id=537450#c3

TL;DR If you're reverting the toast, please add a confirmation dialog for both Ctrl+Shift+Q and Ctrl+Shift+W instead. It should not be enough to do the combo to close many tabs and lose lots of data.
Labels: Hotlist-DesktopUIToolingRequired Hotlist-DesktopUIChecked
*** UI Mass Triage ***

Adding appropriate label for expert review.

Sign in to add a comment