Tk Library Source Code

View Ticket
Login
Ticket UUID: 806537
Title: bwidget - Progressbar problem
Type: Patch Version: None
Submitter: decosterjos Created on: 2003-09-15 14:11:07
Subsystem: bwidget Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-09-27 09:35:14
Resolution: None Closed By: dev_null42a
    Closed on: 2006-09-27 02:35:14
Description:
Hi,

When using the progressbar widget with large values, it
is not 
correctly drawn.  The following script shows the
behaviour on my (32 bit arithmetic) machine:


package require BWidget

set max  100000000
set incr   1000000

pack [ProgressBar .pb -maximum $max -variable x]

for { set x 0 } { $x < $max } { incr x $incr } {
    after 10
    puts $x
}


The attached patch fixes this problem.

Kind regards,

Jos
User Comments: dev_null42a added on 2006-09-27 09:35:14:
Logged In: YES 
user_id=1381097

I applied a similar change on 2006-02-10.  Thanks.

decosterjos added on 2003-09-15 21:11:09:

File Added - 61566: progressbar.patch

Attachments: