[haiku-commits] Re: haiku: hrev51625 - in src/apps/haikudepot: ui . ui_generic

  • From: Julian Harnath <julian.harnath@xxxxxxxxxxxxxx>
  • To: <haiku-commits@xxxxxxxxxxxxx>
  • Date: Tue, 28 Nov 2017 19:46:37 +0100

Hey Stephan,

On 28.11.2017 08:51, Stephan Aßmus wrote:
>

When it's say 50%, that means the barber pole would only show for another 200ms, which I think is too short.

Yeah, already noticed it can flicker up quickly when it takes slightly more than the 200ms...

So maybe show it only when there are 75% percent left or more.

Currently, ScreenshotWindow is unaware of the download progress. It just loads it synchronously with WebAppInterface::RetrieveScreenshot() (which uses BHttpRequest), and doesn't get notified of how much has been downloaded.

The package downloading gets the progress via
BPackageManager::UserInteractionHandler::ProgressPackageDownloadActive(),
the ScreenshotWindow will need a similar notification mechanism. Then I can do it as proposed.

Julian

Other related posts: