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 diver)

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)

0001-Implement-GlobalProgressView-which-shows-for-now.patch (8.0 KB ) - added by jackburton 9 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 by danboid, 9 years ago

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.

comment:2 by jackburton, 9 years ago

IOW HaikuDepot should just provide a global progress status indicator.

comment:3 by vidrep, 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 jackburton, 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 jackburton, 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.

comment:6 by jackburton, 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 bonefish, 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 diver, 7 years ago

Description: modified (diff)
Milestone: UnscheduledR1/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 vidrep, 7 years ago

Another option would be a single progress bar with notifications as to which package is being currently installed.

Last edited 7 years ago by vidrep (previous) (diff)

comment:10 by diver, 7 years ago

Cc: perelandra apl-haiku added

comment:11 by stippi, 7 years ago

Blocking: 13752 added

comment:12 by jua, 7 years ago

Resolution: fixed
Status: newclosed

Global progress status view added in hrev51614, shows download progress of currently downloaded package and number of packages remaining to download after it.

Note: See TracTickets for help on using tickets.