Skip to content
Tcl Source Code Artifact [df327776b6]
Login

Artifact [df327776b6]

Artifact df327776b61a0a02bf4af268cba46f0fc2a6bce7:

Ticket change [df327776b6] - New ticket [645964ffffffffff|645964ffff] <i>&quot;update idle&quot; fails to redraw tk windows</i>. by petasis on 2002-11-30 06:25:51.
D 2002-11-30T06:25:51
J assignee nijtmans
J cmimetype text/plain
J comment There\sseems\sto\sbe\san\sannoying\sproblem\swith\sthe\n"update\sidletasks"\soption\sof\sthe\supdate\scommand.\nWhile\sthis\scommand\sis\ssupposed\sto\sredraw\swindows,\nin\sthe\srecent\sversions\sof\stcl\sit\sdoes\snot.\sConsider\sfor\s\nexample\sthe\sfollowing\ssmall\sscript:\n\npack\s[label\s.x\s-text\slabel]\n\nfor\s{set\si\s0}\s{$i\s<=\s100000}\s{incr\si}\s{\n\s\s##\sThis\swill\sat\sleast\sredraw\sthe\swindows...\n\s\s.x\sconfigure\s-text\s"Count:\s$i"\n\s\supdate\sidletasks\n}\n\nThe\sbehaviour\sof\sthe\sabove\sscript\sis\svery\sstrange.\nIn\smy\swindows\sXP\smachine,\sthe\sabove\sscript\sonly\nupdates\sthe\slabel\swidget\s(where\sits\stext\schanges)\sand\nthe\srest\sof\sthe\s.\swindow\sis\snot\spainted\sat\sall,\nshowing\sthe\sdesktop\spart\sthat\swas\sbeneath\sthe\nwindow\sat\sits\screation\stime.\sIf\syou\smove\sa\swindow\nand\spass\sit\sover\sthe\s.\swindow,\sit\sturns\swhite,\nthe\slabel\sdoes\snot\svisually\supdate\sany\smore\sand\seven\s\nwhen\sthe\scomputation\sis\sfinished,\sthe\swindow\sremains\nwhite.\sYou\shave\sto\sinteract\swith\sthe\swindow\s(i.e.\nby\smoving\sit)\sto\sbe\sdrawn.
J foundin obsolete:\s8.4.1
J priority 5\sMedium
J resolution None
J status Open
J submitter petasis
J subsystem 02.\sEvent\sLoops
J title "update\sidle"\sfails\sto\sredraw\stk\swindows
J type Bug
K 645964ffffffffffffffffffffffffffffffffff
U petasis
Z 085e02c38bb98792aec2283f6d82b84a