[MERGE] no-flicker progress bars
aaron.bentley at utoronto.ca
Wed Jun 21 03:47:48 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Here's a patch for progress bars that hides progress indicators until at
least 1 second has passed. This eliminates the flicker we've been
seeing with that 'reading knit index' message, but works pretty well
with longer operations like "merge", too.
The downside is operations that update infrequently may not show any
progress indication now. However, we can disable this throttling
behavior on a case-by-case basis if need be.
Note that in _BaseProgressBar, start_time was being set, but it was
being overridden (and set to None) in TTYProgressBar, causing the ETA
not to be shown. I've restored the start_time, but defaulted the ETA to
off, to mimic the existing behaviour.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v126.96.36.199 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4084 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060620/7219551d/attachment.bin
More information about the bazaar