Issue metadata
Sign in to add a comment
|
Download cancellation prompt happens after tabstrip teardown |
||||||||||||||||||||||
Issue description
Chrome Version:73.0.3646.0 (Official Build) Revisionfe8cc77bcda70360146d09741601e582ce676de0-refs/branch-heads/3646@{#1}(64-bit)
OS : Mac(10.13.6, 10.13.1, 10.14.2)
Steps to reproduce:
1. Open an incognito window with a single tab; load https://speed.hetzner.de/ in that tab.
2. Begin a download of any test file and, before the download completes, close the tab by clicking the *tab's* close button.
3. 'Quit' or 'Continue Download' Dialogue box opens .
4. Observe Tab strip of incognito window.
Actual Result : Tab strip of incognito window disappears for incomplete downloads.
Expected Result : Tab strip of incognito window should not disappear for incomplete downloads.
This is a regression issue broken in M-70 and will soon update bisect information:
Good Build :70.0.3503.0
Bad Build : 70.0.3504.0
Kindly refer the attached screen-cast.
Thank You..
,
Jan 2
,
Jan 2
The download cancellation dialog is very broken. 1. As in comment 0: click the tab's (X) button and the tab disappears before the dialogs appears. 2. Click the window's (X) button and a debug version of Chrome DCHECKs and crashes.
,
Jan 2
This disappearing tab issue is not Mac-only. This happens on Windows Chrome 71.0.3578.98. I might split the DCHECK on the window close off into a different bug.
,
Jan 2
The DCHECK is split into bug 918683 .
,
Jan 2
,
Jan 2
,
Jan 2
This bug is listed as "started", but we've been asked to take a look at it. Is it currently being worked?
,
Jan 2
,
Jan 2
,
Jan 4
,
Jan 7
Pausing work on this until Avi gives me the go-ahead; evidently there's parallel work around this problem (comments on issue #918683 ) and I don't want to run into a bunch of merge conflicts.
,
Jan 7
My work will be deleting one of the unload controllers. Please investigate; any changes you make will likely just have to be copy/pasted from UnloadController to FastUnloadController. If it turns out to be more work on your part than just a copy paste then give me a holler and I'll accelerate the deletion of FastUnloadController.
,
Jan 7
,
Jan 9
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0 commit 24a8e7be2b87b713f711bf40a8aa5a023c9a91f0 Author: Dana Fried <dfried@chromium.org> Date: Wed Jan 09 18:17:27 2019 Warn user when closing last tab during download, not after close. Creates a more general system to prompt the user when something *might* end up closing the browser. When MaybeWarnBeforeClosing() is called, all of the prompts are shown, and if any dialogs do result a callback happens when they're done. Both the existing on-close logic as well as the "we might be closing the last tab" logic use this path now. Bug: 916929 , 918683 Change-Id: I709bc7205ddb840023c9ca3f696ebceae9a5cee6 Reviewed-on: https://chromium-review.googlesource.com/c/1400051 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/master@{#621224} [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/browser.cc [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/browser.h [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/unload_controller.cc [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/views/tabs/browser_tab_strip_controller.h [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/views/tabs/tab_strip.cc [modify] https://crrev.com/24a8e7be2b87b713f711bf40a8aa5a023c9a91f0/chrome/browser/ui/views/tabs/tab_strip_controller.h
,
Jan 9
,
Jan 10
Update: Retested above issue on OS : Mac(10.13.6, 10.13.1, 10.14.3) Windows (7,8,8.1,10) using latest Canary #73.0.3667.0 issue is fixed. Now, Tab strip of incognito window does not disappear for incomplete downloads. Kindly review the attached screen-cast. Thank you! |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by shru...@virtusa.com
, Dec 20Status: Assigned (was: Unconfirmed)