Opened 4 years ago

Closed 18 months 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
Has a Patch: no 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 3 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 4 years ago by danboid

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 Changed 4 years ago by jackburton

IOW HaikuDepot should just provide a global progress status indicator.

comment:3 Changed 4 years ago by vidrep

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 Changed 4 years ago by jackburton

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 Changed 3 years ago by jackburton

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 Changed 3 years ago by jackburton

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 Changed 3 years ago by bonefish

There is 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 Changed 22 months ago by diver

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, 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 Changed 22 months ago by vidrep

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

Last edited 22 months ago by vidrep (previous) (diff)

comment:10 Changed 22 months ago by diver

Cc: perelandra apl-haiku added

comment:11 Changed 19 months ago by stippi

Blocking: 13752 added

comment:12 Changed 18 months ago by jua

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.