New issue
Advanced search Search tips

Issue 591890 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug-Regression



Sign in to add a comment

[Chrome][M48][Android 6.0] Unavailable to cancel downloading files

Project Member Reported by seiyon.p...@lge.com, Mar 4 2016

Issue description

Example URL:

Steps to reproduce the problem:
1. Open Chrome and go to http://mirror.internode.on.net/pub/test/
2. Download 1000meg.test file (1GB) (http://mirror.internode.on.net/pub/test/1000meg.test) and download is completed successfully
3. Download 1000meg.test file again and touch "1000meg.test" notification from the notification area to cancel download

What is the expected behavior?
Touching notification should lead user to move to "DownloadManager" in order to cancel downloading.

What went wrong?
There's no response to touching notification, hence there is no way for user to cancel downloading.

Did this work before? Yes M46

Chrome version: 48.0.2564.116  Channel: stable
OS Version: 6.0
Flash Version: Shockwave Flash 20.0 r0
 

Comment 1 by b...@chromium.org, Mar 4 2016

Components: UI>Browser>Downloads
Labels: Needs-Feedback
Please tap/click on down arrow on the right side of the "1000meg.test" button to bring up a menu, and choose cancel from that menu.  Or tap/click on "Show all download..." link on the right side of the notification bar to bring up Downloads tab, and tap/click on Cancel there.

Let me know if this helps.  Thank you.
Components: -Internals>Network
Status: Untriaged (was: Unconfirmed)

Comment 4 by rdb@chromium.org, Mar 14 2016

Labels: -Type-Bug Type-Bug-Regression
@bnc - I don't think the menu UI you're describing exists.

I ran into this issue yesterday, and here's what happens to me:

In Chrome (prod, not dogfood, M49.0.2623.91, Android 6.0.1 MMB29Q), saving a link (to download) triggers a notification that has the download status. Clicking on that notification does nothing.  Long-pressing on the notification tells you it's from Chrome, but doesn't let you do anything other than change your notification preferences.

While the file is downloading, if you go to the Downloads application, there isn't an entry for the file. (It is still in the process of being downloaded.)

This is a huge regression - if you accidentally download a large file on a slow connection, or worse, on a pay-per-bit slow connection, your only way out is to reboot your phone.

Comment 5 by rdb@chromium.org, Mar 14 2016

@bnc - sorry, that sounded mean. I meant to say that the menu UI you're describing no longer exists due to a regression.

Comment 6 by asanka@chromium.org, Mar 14 2016

Cc: qin...@chromium.org

Comment 7 by qin...@chromium.org, Mar 14 2016

#4, saving a link always goes through chrome network stack. The downloaded item will only be added to the Downloads app until download finishes. The behavior has remained like this for about 3 years, so I don't think there is any regressions there.

Comment 8 by rdb@chromium.org, Mar 14 2016

Has it always been impossible to cancel a download?

Comment 9 by qin...@chromium.org, Mar 15 2016

You can always cancel a download by killing chrome if the download goes through chrome's network stack. If the download goes through android DownloadManager, you can go to the downloads app and long press the item to cancel it from the there

Comment 10 by rdb@chromium.org, Mar 15 2016

@qinmin - I must have been thinking about the old "Browser" behavior which used DownloadManager.

@seiyon.park@lge.com you mentioned this working in M46. Do you have any details on how you think it worked?

Perhaps this bug should become a feature request (to implement chrome://downloads ?). I'll defer to the Chrome team on how you manage those labels. 

Thanks.

Dear Chrome browser

I'd like to clarify the issue.
I'm sorry to confuse you that it is not a regression and I can see the problem on M46.
So it is a feature request that Chrome can cancel to download.

Thanks.
Kindly reminder
There is a lot of download related changes and we have added the cancel action button to downloads that goes through network stack
You have added the cancel action button but I can't see the cancel action button on M48.
What do you mean "cancel action button"?
Cc: asanka@chromium.org
Labels: -Needs-Feedback
FWIW, I just reproduced this on my personal phone: I started the 100meg download, and could find no way to cancel it.  I tried killing chrome, I tried playing with the notification in the pull down list, and I tried bringing up the Android download manager (which showed the download, but again I could find no way to kill the download).  This is on 51.0.2690.0 dev on Android.

I agree with the OP that this is a pretty important feature, or, if it's already implemented, the discoverability is ... poor :-}.

@qinmin: Could you give more precise directions as to where the cancel action button should be?  Since I'm on dev, I presume it's somewhere in the Chrome I have.

Asanka: What's the currently story with regard to Chrome doing downloads versus handing them off to the system download manager?  And are you aware of a way to cancel downloads (either responsibility) that I've missed?  If there's going to be downloads handled by the Android download we should pass this feature request on to them.


@rdsmith, I think your download goes through Android DownloadManager. In this case, android DownloadManager manages the notification.

To cancel such a download, you need to open the downloads app, long press download item and click the trash can icon when it appears.

If a download goes through chrome network stack, you should be able to see the cancel action button in the pull-down notification (you have to expand the notification if the download is not topmost on the notification drawer).


Normally download triggered by clicking a link goes to Android DownloadManager(if it uses HTTP GET). To force a download to go through chrome network stack, you can long press the link, and click "save link" from context menu.
You need Chrome 50 to see the cancel button in notification.
I test downloading on Beta version 50 and I see "CANCEL" and "PAUSE" buttons in notification area.
And Downloading is successfully canceled when touching "CANCEL" button.
I appreciate that this is resolved quickly.

Comment 19 by rdb@chromium.org, Mar 30 2016

I too am impressed by the speed of this change. Thanks qinmin@!
FYI there are still cases in version 50 where it goes through the Download Manager. This might be outside the scope of this bug, but they produce bad user experience. Here's a reproduction scenario:

1. Go to https://www.debian.org/distrib/ on your phone
2. Click on "32-bit PC netinst iso"

This is very unintuitive -- you can't dismiss the download, long pressing on the download does not stop it (just gives you an options menu that is unrelated to it), download manager is not a program that appears open in the applications list, rebooting does not help (it starts up again).

Telling users to go to menu, click on Download Manager, then long press on the download, then click the trash button is not intuitive. Especially when the other methods of stopping programs don't work.
Here are the download features on milestones:
M50: cancel/resume/pause buttons are shown if download goes through chrome network stack
M51: All downloads (Except OMA DRM case) go through Chrome network stack, unless user enable Android DownloadManager in chrome://flags.
Status: Fixed (was: Untriaged)

Sign in to add a comment