Before porting Tcl scripts to a [PocketPC] or [PDA] running [Windows/CE], check this list for known problems of the two current ports, and some workarounds. '''8.4a2 port by [Rainer Keuchel]:''' [http://www.rainer-keuchel.de/wince/tcltk-ce.html] * canvas: arcs and ovals are not shown ([Regular polygons] for a workaround) * canvas: lines of width > 1 are always black, -fill color is ignored * font families only lists initial letter of font names ([font families workaround]) * puts stdout not possible ([puts workaround]) * text: Cursor often jumps to a different position * slow * [exec] often does not work (e.g. pword, iexplore), but works with both [wish] and calc (the CE calculator) * Native file selectors allow only to choose files from ''/My Documents'' and (only one level?) below '''8.4.3 port by [Jeffrey Hobbs]:''' [ftp://ftp.tcl.tk/pub/incoming/tcltk843ce-arm.zip] * menus are not shown * scrollbars always move to one end, no intermediate position possible * ''fileevent readable'' on a socket seems to trigger once and only once regardless of whether the socket is actually readable (see [PocketPC socket/fileevent strangeness]) '''8.4.4 port by [Jeffrey Hobbs]:''' [ftp://ftp.tcl.tk/pub/incoming/tcltk844ce-arm.zip] * Scrollbars seem to be working properly ([AKG]). * Menu's are still not showing ([AKG]). * Dialog boxes don't become visible (see the [PocketPC] page) ([AKG]). * using "configure -text" on a button causes a GPF ([MPJ]). [AKG] (9 Sep 03) Do you see the GPF always when using "configure -text" or only occasionally. I've used it in my port of Wikit to the PocketPC and it has never GPF'd. [MPJ] (29 Sep 03) If you want to see this in action try my videopoker port here [http://mywebpages.comcast.net/jakeforce/iVideoPoker.tcl]. * Scrolling occasionally leaves a blank display. Also trying to select text while editing is very hit and miss. [AKG] 29 Sep 03. * canvas: lines of width > 1 are always black, -fill color is ignored ([MPJ]) [ramsan] (Sep 2004) When a text widget is full of text (enough lines to scroll), for example in tkcon, pressing the stylus over any point of the text and keep pressed for some time, extends the selection down. It seems caused by an incorrect %y substitution in one of the mouse events. '''8.4.6 port by [Jeffrey Hobbs]:''' (currently in testing) * Menus still not showing. I have gone over the original Keuchel menu code and compared it to the current code - I can't see any reason why this isn't working. * I've successfully connected and requested socket data using fileevent. * I have no issue with "configure -text" using [MPJ]'s video poker script (although general drawing on the buttons seems odd after the first bet). * Dialog boxes show in front for me, but tk_chooseDirectory doesn't work. * [MNO] There is a minor bug in tkcon.tcl in this distribution. Line 678 in InitTab needs to change to read "wm geometry $PRIV(root) +0+0" rather than "wm geometry $root +0+0" (or $root needs to be set up as it is in InitUI). '''All versions (?):''' * Sockets code fails with "tcl: select: 10022" under [Windows Mobile 2003]. This could well be a celib issue rather than a Tcl/Tk issue.