Overview
| Artifact ID: | df327776b61a0a02bf4af268cba46f0fc2a6bce7 |
|---|---|
| Ticket: | 645964ffffffffffffffffffffffffffffffffff
"update idle" fails to redraw tk windows |
| User & Date: | petasis on 2002-11-30 06:25:51 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
There seems to be an annoying problem with the "update idletasks" option of the update command. While this command is supposed to redraw windows, in the recent versions of tcl it does not. Consider for example the following small script: pack [label .x -text label] for {set i 0} {$i <= 100000} {incr i} { ## This will at least redraw the windows... .x configure -text "Count: $i" update idletasks } The behaviour of the above script is very strange. In my windows XP machine, the above script only updates the label widget (where its text changes) and the rest of the . window is not painted at all, showing the desktop part that was beneath the window at its creation time. If you move a window and pass it over the . window, it turns white, the label does not visually update any more and even when the computation is finished, the window remains white. You have to interact with the window (i.e. by moving it) to be drawn. - foundin changed to: "obsolete: 8.4.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "petasis"
- subsystem changed to: "02. Event Loops"
- title changed to: ""update idle" fails to redraw tk windows"
- type changed to: "Bug"