-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No progress updates from flatpak_installation_install_bundle() #404
Comments
The reason they are not passed on is that in the end we're calling into ostree to do a local "apply static delta" operation, and there is no progress reporting in ostree for this. |
But you'd agree that reporting no progress for 40 seconds is a bug, right? Surely ostree knows how many parts there are to deploy in the delta? |
Yes, ostree knows how large the files are etc. I guess the problem is that ostree doesn't consider "local file operations" to be "slow", because only things that do network i/o report progress. @cgwalters any chance we could get progress reporting also for local operations like checkouts and applying static deltas? |
The libflatpak API call flatpak_installation_install_bundle() takes a FlatpakProgressCallback as an input, but never actually calls it. This means when you install a large .flatpak application (for instance, LibreOffice) you don't get any indication of progress. The progress bar goes from 0% and them jumps to 100% after about 40 seconds. This isn't awesome.
Looking at the code, the progress and progress_data variables look completely unused, so I guess they need to be passed to flatpak_dir_install_bundle() and handled in the system helper.
Thanks!
The text was updated successfully, but these errors were encountered: