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

Issue 673994 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocking:
issue 658246



Sign in to add a comment

On Dec 13 2016 after users update Chrome Dev with the above build and then go to Downloads, two downloads are showing there pending forever.

Project Member Reported by jiewu@chromium.org, Dec 14 2016

Issue description

Version: 57.0.2950.3
OS: Android 6.0.1
Device: Nexus 7

On Dec 13 2016 after users update Chrome Dev with the above build and then go to Downloads, two downloads are showing there pending forever.  

What steps will reproduce the problem?
(1) On Dec 13 2016, Internet is on, go to Play Store
(2) Find Chrome Dev and click Update  
(3) After Update is finished, open Chrome Dev
(4) Go to Downloads

What is the expected result?
Nothing should show there as users have not done anything except just opening Chrome Dev.  

What happens instead?
One download is showing as Download pending for Wednesday, Novemeber 30, 2016. The other download is showing as Download pending for Monday, Novemeber 28, 2016. 

Please check out the attached screenshots 
 

Comment 1 by jiewu@chromium.org, Dec 14 2016

Attach screenshots
IMG_1119.JPG
1.6 MB View Download
IMG_1120.JPG
1.3 MB View Download
IMG_1121.JPG
1.4 MB View Download

Comment 2 by jiewu@chromium.org, Dec 14 2016

Description: Show this description

Comment 3 by dim...@chromium.org, Dec 14 2016

Owner: jiewu@chromium.org
Status: Assigned (was: Untriaged)
Could you please open chrome:offline-internal and attach a copy of it here?

Is this reproducible?

Comment 4 by jiewu@chromium.org, Dec 14 2016

Yes, this bug is reproducible in my testing Nexus 7.

Attached is the screenshot for chrome://offline-internals

IMG_1123.JPG
1.9 MB View Download
IMG_1124.JPG
1.8 MB View Download
Cc: jiewu@chromium.org
Components: -UI>Browser>Offline UI>Browser>Downloads
Labels: -Restrict-View-Google -Pri-3 Pri-2
Owner: dfalcant...@chromium.org
Dan, I checked on the device, and there are no pending requests for offline pages, so this is either some props put in for development or source of these 2 items is downloads, hence assigning it to you.

On a related note, I was not able to observer any state related pending offline page requests. Still work in progress I suppose...
Mergedinto: 658246
Status: Duplicate (was: Assigned)
Should be fixed by a CL I just landed for 658246.  Problem is that the downloads backend has a bunch of entries that are unresumable and shouldn't be shown.
Blocking: 658246
Labels: -Pri-2 ReleaseBlock-Stable M-57 Pri-1
Status: Started (was: Duplicate)
... and I've found another case where this can happen but am not sure why.  Re-opening this one instead of marking it as a dupe since it's easier to track.
Cc: qin...@chromium.org
Looks like a bad combination of how Download Home now has to go through Download Notifications to act on anything.  Because the notifications aren't ever added for downloads the Download Home/DownloadHistory backend knows about, we can't control them.

+ Min
Project Member

Comment 9 by bugdroid1@chromium.org, Dec 19 2016

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

commit 464f8dff920bd0b33f58e74779b8dd9a22a9f58c
Author: dfalcantara <dfalcantara@chromium.org>
Date: Mon Dec 19 19:47:35 2016

[Downloads] DownloadNotificationService action fallback

DownloadNotificationService lags behind Download Home on learning about
downloads that exist.  Problematically, Download Home needs to act on
downloads via DownloadNotificationService to ensure that notifications
properly account for download updates.  Currently, when
DownloadNotificationService is told to do something for a download it
doesn't know about, the Intent is dropped on the floor.

Instead, fall back so that the DownloadManagerService is notified by
DownloadNotificationService about actions triggered via Download Home.

BUG= 673994 ,658246

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

[modify] https://crrev.com/464f8dff920bd0b33f58e74779b8dd9a22a9f58c/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
[modify] https://crrev.com/464f8dff920bd0b33f58e74779b8dd9a22a9f58c/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationService.java

Cc: -qin...@chromium.org dfalcant...@chromium.org
Owner: qin...@chromium.org
Status: Assigned (was: Started)
Fix was landed, but I'm keeping this open and assigning to Min to take a look at what I did in #9.
Labels: -ReleaseBlock-Stable -M-57
Status: Fixed (was: Assigned)
Fix is already landed, marking this as fixed

Sign in to add a comment