Skip to content
Tcl Source Code Artifact [edf9b39ff1]
Login

Artifact [edf9b39ff1]

Artifact edf9b39ff1257009a29226284921cb9c2f9dc247:

Ticket change [edf9b39ff1] - New ticket [504157ffffffffff|504157ffff] <i>TK Test Failure</i>. by dhighley on 2002-01-16 01:58:45.
D 2002-01-16T01:58:45
J assignee melissachawla
J cmimetype text/plain
J comment May\sbe\ssubmitting\sthis\sunder\sthe\swrong\sproject,\sbut\nSourceforge\sdoes\snot\sallow\ssearching\sfor\sless\sthan\s3\ncharacter\snames,\sdarn!\n\nAnyway,\sthis\sis\sa\sTK\s8.3.4\smake\stest\sfailure\son\sa\sSolaris\s\s\n8\splatform.\sTK\swas\sbuild\swith\sgcc\s3.0.3\s32bit.\sTest\nthat\sfails\sis\sevent.test.\n\nevent.test\n\n====\sevent-click-drag-1.2\s\sclick\sand\sdrag\sin\san\sentry\nwidget,\sthis\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\stests\stkEntryMouseSelect\sin\nentry.tcl\s\sFAILED\n====\sContents\sof\stest\scase:\n\n\s\s\s\sdestroy\s.t\n\s\s\s\sset\st\s[toplevel\s.t]\n\s\s\s\sset\se\s[entry\s$t.e]\n\s\s\s\spack\s$e\n\s\s\s\stkwait\svisibility\s$e\n\s\s\s\sfocus\s-force\s$e\n\s\s\s\s_keypress_string\s$e\s"A\sTcl/Tk\sselection\stest!"\n\s\s\s\sset\sanchor\s6\n\s\s\s\sset\sselend\s18\n\n\s\s\s\sset\sresult\s[list\s[$e\sget]]\n\n\s\s\s\s#\sGet\sthe\sx,y\scoords\sof\sthe\ssecond\sT\sin\s"Tcl/Tk"\n\s\s\s\sforeach\s{anchor_x\sanchor_y}\s[_text_ind_to_x_y\s$e\n$anchor]\sbreak\n\n\s\s\s\s#\sClick\sdown\sto\sset\sthe\sinsert\scursor\sposition\n\s\s\s\sevent\sgenerate\s$e\s<Enter>\n\s\s\s\sevent\sgenerate\s$e\s<ButtonPress-1>\s-x\s$anchor_x\s-y\n$anchor_y\n\n\s\s\s\s#\sSave\sthe\sposition\sof\sthe\sinsert\scursor\n\s\s\s\slappend\sresult\s[$e\sindex\sinsert]\n\n\s\s\s\s#\sNow\sdrag\suntil\sselend\sis\shighlighted,\sthen\sclick\sup\n\n\s\s\s\sset\scurrent\s$anchor\n\s\s\s\swhile\s{$current\s<=\s$selend}\s{\n\s\s\s\s\s\s\s\sforeach\s{current_x\scurrent_y}\s[_text_ind_to_x_y\n$e\s$current]\sbreak\n\s\s\s\s\s\s\s\sevent\sgenerate\s$e\s<B1-Motion>\s-x\s$current_x\s-y\n$current_y\n\s\s\s\s\s\s\s\sincr\scurrent\n\s\s\s\s\s\s\s\s_pause\s50\n\s\s\s\s}\n\n\s\s\s\sevent\sgenerate\s$e\s<ButtonRelease-1>\s-x\s$current_x\n-y\s$current_y\n\s\s\s\s_pause\s200\n\n\s\s\s\s#\sSave\sthe\sposition\sof\sthe\sinsert\scursor\n\s\s\s\slappend\sresult\s[$e\sindex\sinsert]\n\n\s\s\s\s#\sSave\sthe\shighlighted\stext\n\s\s\s\slappend\sresult\s[selection\sget]\n\n\s\s\s\s#\sNow\sclick\sand\sclick\sand\sdrag\sto\sthe\sleft,\sover\n"Tcl/Tk\sselection"\n\n\s\s\s\sevent\sgenerate\s$e\s<ButtonPress-1>\s-x\s$current_x\s-y\n$current_y\n\n\s\s\s\swhile\s{$current\s>=\s($anchor\s-\s4)}\s{\n\s\s\s\s\s\s\s\sforeach\s{current_x\scurrent_y}\s[_text_ind_to_x_y\n$e\s$current]\sbreak\n\s\s\s\s\s\s\s\sevent\sgenerate\s$e\s<B1-Motion>\s-x\s$current_x\s-y\n$current_y\n\s\s\s\s\s\s\s\sincr\scurrent\s-1\n\s\s\s\s\s\s\s\s_pause\s50\n\s\s\s\s}\n\n\s\s\s\sevent\sgenerate\s$e\s<ButtonRelease-1>\s-x\s$current_x\n-y\s$current_y\n\s\s\s\s_pause\s200\n\n\s\s\s\s#\sSave\sthe\sposition\sof\sthe\sinsert\scursor\n\s\s\s\slappend\sresult\s[$e\sindex\sinsert]\n\n\s\s\s\s#\sSave\sthe\shighlighted\stext\n\s\s\s\slappend\sresult\s[selection\sget]\n\n\n----\sResult\swas:\n{A\sTcl/Tk\sselection\stest!}\s6\s18\s{Tk\sselection}\s4\s{l/Tk\nselection}\n----\sResult\sshould\shave\sbeen:\n{A\sTcl/Tk\sselection\stest!}\s6\s18\s{Tk\sselection}\s2\n{Tcl/Tk\sselection}\n====\sevent-click-drag-1.2\sFAILED\n\nDavid\sHighley\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter dhighley
J subsystem 34.\stcltest\sPackage
J title TK\sTest\sFailure
J type Bug
K 504157ffffffffffffffffffffffffffffffffff
U dhighley
Z cb2ee840cdc0086afd79be426b284d03