Bug 1643446

Summary: download progress is often invisible
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: carl, gmarr, klember, lruzicka, mcrha, rhughes, robatino, sgraf, yulinux
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: https://fedoraproject.org/wiki/Common_F29_bugs#gnome-software-progress RejectedBlocker AcceptedFreezeException
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-25 16:36:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1644938    
Attachments:
Description Flags
video bug demonstration
none
screenshot of "100% downloaded" none

Description Kamil Páral 2018-10-26 09:30:17 UTC
Description of problem:
Originally reported in bug 1640701 comment 10 and bug 1640701 comment 11 (see attachment 1497140 [details] ). The progress bar under the Cancel button when downloading updates is often just a few pixels wide.

Version-Release number of selected component (if applicable):
gnome-software-3.30.5-1.fc29

Comment 1 Kamil Páral 2019-09-09 08:49:38 UTC
Even though bug 1705119 claims this is fixed, I see it once again in F31. The progress bar when downloading updates is just a few pixels wide. That means that it seems like no progress is happening, especially with large download sizes and slow Internet lines.

This is happening in a clean F31 VM install containing:
gnome-software-3.32.4-2.fc31.x86_64
gtk3-3.24.11-1.fc31.x86_64
PackageKit-1.1.12-11.fc31.x86_64

Comment 2 Kamil Páral 2019-09-09 08:50:54 UTC
Created attachment 1613054 [details]
video bug demonstration

Bear in mind that this is a small download size over a fast line.

Comment 3 Kamil Páral 2019-09-09 08:51:48 UTC
Created attachment 1613066 [details]
screenshot of "100% downloaded"

This is the "full" progress bar.

Comment 4 Kamil Páral 2019-09-09 08:54:18 UTC
I propose this for consideration as F31 Final Blocker, due to these criteria:
"All applications that can be launched using the standard graphical mechanism of a release-blocking desktop after a default installation of that desktop must start successfully and withstand a basic functionality test. "
https://fedoraproject.org/wiki/Fedora_31_Final_Release_Criteria#Default_application_functionality

Showing the download progress (correctly) might be considered a basic function of a package manager. Gnome Software is a core Workstation application that should meet high standards.

Comment 5 Kalev Lember 2019-09-09 09:09:11 UTC
(In reply to Kamil Páral from comment #1)
> Even though bug 1705119 claims this is fixed, I see it once again in F31.
> The progress bar when downloading updates is just a few pixels wide. That
> means that it seems like no progress is happening, especially with large
> download sizes and slow Internet lines.

1705119 fixed the distro upgrade progress bar (e.g. upgrading from F30 to F31). The progress bar for downloading updates is still somewhat broken indeed.

Comment 6 Lukas Ruzicka 2019-09-09 10:54:45 UTC
I am not sure, if I had seen this problem. For me, updates to a fresh installation of Fedora 31 gives:

1. I start the Software.
2. It finds updates and offers to download them.
3. I click on Download and it starts downloading the packages, I do not see any blue progress bar on the bottom of the button at all and after several seconds, the button changes into Restart & Install. 
4. I click on it and it restarts and installs updates without problems.

Maybe the internet connection is rather fast, so the progress bar does not really have time to show. Nothing is reported in the logs and the update finishes ok.

Comment 7 Lukas Ruzicka 2019-09-09 10:56:13 UTC
What I wanted to point to: In my case, there also might not be any status bar visible at all.

Comment 8 Kamil Páral 2019-09-09 12:26:28 UTC
I'm able to reliably reproduce this by installing Fedora-Workstation-Live-x86_64-31-20190905.n.0.iso into a VM, then booting the system, creating the user, starting gnome-software and requesting to download all updates. Of course this needs to be done without having a 1Gb/s connection :)

Comment 9 Geoffrey Marr 2019-09-09 20:00:05 UTC
Discussed during the 2019-09-09 blocker review meeting: [0]

The decision to classify this bug as a "RejectedBlocker" and an "AcceptedFreezeException" was made as there is not enough support to consider this a clear violation of the release criteria, but it's certainly a bad enough experience to want it fixed for first-time F31 updaters.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2019-09-09/f31-blocker-review.2019-09-09-16.00.txt

Comment 10 Ben Cotton 2020-11-03 15:03:57 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Kamil Páral 2020-11-04 09:43:21 UTC
Still the same in F33.

Comment 12 Milan Crha 2021-03-25 16:36:32 UTC
The quick download without a progress bar can be due to the packages being already downloaded. This change [1] is surely related to it. As this is not Fedora specific, let's use an upstream bug [2] for it. Please see it for any further updates.

[1] https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1177
[2] https://gitlab.gnome.org/GNOME/gnome-software/-/issues/13

Comment 13 Kamil Páral 2021-03-26 08:01:11 UTC
Hey Milan, this is a completely different problem that the one you linked it to. See the attachment in comment 0 or comment 3. This is about a progress bar not using the full length of the Cancel button. I see it very frequently, it's not related to a very fast download speed or anything.

Comment 14 Milan Crha 2021-03-26 08:17:46 UTC
I can be wrong, though I think the underlying problem is the same.