Opened 10 years ago
Closed 7 years ago
#12041 closed bug (fixed)
HaikuDepot doesn't show progress when downloading and installing deps
Reported by: | danboid | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta1 |
Component: | Applications/HaikuDepot | Version: | R1/Development |
Keywords: | HaikuDepot download progress dependencies | Cc: | perelandra, apl-haiku |
Blocked By: | Blocking: | #13752 | |
Platform: | All |
Description (last modified by )
When you download a package from HaikuDepot that needs to download additional dependencies the user is not given any indication on the progress of downloading the dependencies. It seems HaikuDepot only gives a progress indicator for the main package(s) that the user chose to download and not their dependencies.
I expected there to be a 'Download Status' tab in the lower-half of the HD window that would show such info. Bumping milestone.
Attachments (1)
Change History (13)
comment:1 by , 9 years ago
comment:3 by , 9 years ago
This has bugged me for a while as well. One suggestion might be to show a progress bar for each individual download in all that empty space on the right hand side, or auto arrange the "Status" column to show in-progress and queued downloads at the top. Maybe a combination of both?
comment:4 by , 9 years ago
Showing an animated icon, a spinning wheel or something like that would already help. At the moment it's hard to tell if it's doing something or it's just stuck. Not really nice, since HaikuDepot is one of the first apps a new user will see, when he'll want to install software.
comment:5 by , 9 years ago
I'm trying to add some kind of global progress view... Currently it just shows the package which is being downloaded, and nothing else. It's obviously just a quick hack, but I'm posting it here so someone can have a look and improve it.
by , 9 years ago
Attachment: | 0001-Implement-GlobalProgressView-which-shows-for-now.patch added |
---|
comment:6 by , 9 years ago
Just a question: is there a way to "subscribe" to the system package manager and receive all events relative to the package system ?
comment:7 by , 9 years ago
There is http://cgit.haiku-os.org/haiku/tree/headers/os/package/PackageRoster.h?id=2bc48401b450ffe1f412e3398fde4999139a2109#n88 with only one kind of event, B_INSTALLATION_LOCATION_PACKAGES_CHANGED
, which just says that packages have been activated and/or deactivated. You have to keep track of the state and compare the old with the new one to find out what happened exactly.
Given that this ticket is about download progress, downloading happens in the applications, not in the package daemon, so there aren't any global notification events for that.
comment:8 by , 7 years ago
Description: | modified (diff) |
---|---|
Milestone: | Unscheduled → R1/beta1 |
Recently, I've seen several videos (as well as some people on IRC/jabber) where someone tried to install Qt apps (QupZilla, SMPlayer) which in turn installed quite a few heavy dependencies. They were confused as HaikuDepot didn't show that something was being installed and assumed that it froze, closed Depot, reopened several times, rebooted. Needless to say that all in all they were quite disappointed in Haiku as a whole (as well as people who watched it) because "nothing is working and I can't even install anything" -- they used revision with many broken packages due to libpng16 update.
Here is one of the videos https://www.youtube.com/watch?v=rlnuzizaEbw, which I recommend everyone to watch to see what end users deal with.
I think this needs to be resolved before beta1 if we don't want to create bad impression.
comment:9 by , 7 years ago
Another option would be a single progress bar with notifications as to which package is being currently installed.
comment:10 by , 7 years ago
Cc: | added |
---|
comment:11 by , 7 years ago
Blocking: | 13752 added |
---|
comment:12 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Global progress status view added in hrev51614, shows download progress of currently downloaded package and number of packages remaining to download after it.
My original description of this issue isn't quite right as depot does show the progress of deps when they're being downloaded but only if you have searched for them and they're currently being displayed in the main window.
Of course, in many cases the user will not know or remember what the required deps are and they shouldn't need to search for them as they are being downloaded so this issue still stands.