On Thu, 17 Jul 2003, Mike McCormack wrote:
ChangeLog:
- invalidate the whole progress bar when painting (for Dreamweaver's
install)
That's just Not Cool (TM). It introduces a lot of flicker, and there has been a non-trivial amount of effort put into the invalidate routine to eliminate the annoying flicker. Maybe it's not perfect, but removing it altogether can't be the answer.
It might not be Cool (TM) but that seems to be the way it works :)
There is a percentage of install in the middle of the progress bar that doesn't get painted without this fix. Any ideas how we know which bit to invalidate if there's a number written in the middle of the progress bar?
It introduces no additional flicker that I can see, in any progress bar.
Mike
Dimitrie O. Paun wrote:
That's just Not Cool (TM). It introduces a lot of flicker, and there has been a non-trivial amount of effort put into the invalidate routine to eliminate the annoying flicker. Maybe it's not perfect, but removing it altogether can't be the answer.
On Thu, 17 Jul 2003, Mike McCormack wrote:
It might not be Cool (TM) but that seems to be the way it works :)
There is a percentage of install in the middle of the progress bar that doesn't get painted without this fix. Any ideas how we know which bit to invalidate if there's a number written in the middle of the progress bar?
You mean, there is a number written in the progress bar by the app? And if so, that does not get updated, correct? Hmmm... Can you please take a few minutes to explain what the problem is and why this is the only fix possible?
It introduces no additional flicker that I can see, in any progress bar.
You may have a fast machine. I can see some flicker even with the current code :)
OK, here are two screenshots. Both are produced while installing Dreamweaver MX. The number in the progress bar should be updated with every increment. Without the fix, it is only updated at 10%.
I'd prefer to go with something that is draws correctly, but causes a little flicker, than go with something that is clearly incorrect, yet causes less flicker.
Feel free to search for a better fix.
Mike
Dimitrie O. Paun wrote:
You mean, there is a number written in the progress bar by the app? And if so, that does not get updated, correct? Hmmm... Can you please take a few minutes to explain what the problem is and why this is the only fix possible?
On July 21, 2003 04:23 pm, Mike McCormack wrote:
I'd prefer to go with something that is draws correctly, but causes a little flicker, than go with something that is clearly incorrect, yet causes less flicker.
OK, fine, let's go with your fix for now, maybe we need to be smarter about how we draw the thing to eliminate flicker...