[Mono-bugs] [Bug 406595] ProgressBar RollBack and "freeze" the drawing/ressources

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 5 16:55:29 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=406595

User surfzoid2002 at yahoo.fr added comment
https://bugzilla.novell.com/show_bug.cgi?id=406595#c2





--- Comment #2 from Eric Petit <surfzoid2002 at yahoo.fr>  2008-07-05 14:55:27 MDT ---
In fact it is a performance problem between background reportprogress and
progressbar value.
If value is buffered it is okay :

int ProgressDllMem = 0;
while (ProgressVal < int.MaxValue -10) {
ProgressDllMem += 10000;

if (ProgressDllMem >= 20480) {
ProgressDllMem += ProgressDllMem;

BckGrdDll.ReportProgress(ProgressVal);
ProgressDllMem = 0;
}
//System.Threading.Thread.Sleep(100);
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list