home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tcltk805.zip / tcl805s.zip / tk8.0.5 / os2 / pr.txt < prev    next >
Text File  |  2001-09-08  |  14KB  |  210 lines

  1. Problem Reports
  2. ===============
  3. Last change: 08 September 2001
  4.  
  5. Num Added on Solved   Description
  6. --- -------- -------- ------------------------------------------------------
  7. 136 20010907 20010907 Tk Dialogs were created as children of the application
  8.                       toplevel instead of as toplevels, ie. children of the
  9.                       desktop. They were thus limited to the space that the 
  10.                       application toplevel offers, which is dumb in my view.
  11.                       The only reason I see for it would be in the Tcl Plugin,
  12.                       but that probably doesn't work anyway.
  13.                       My code therefore reverts to the 4.2 way: child of the
  14.                       DESKTOP. It's easily changed in the WinCreateWindow in
  15.                       tkOS2Wm.c though.
  16. 135 2001???? 20010907 Windows version added HIT testing on non-client areas
  17.                       (WmProc in Tk*Wm.c). Trying to replicate such for frame
  18.                       controls resulted in screwed up tk_dialogs which couldn't
  19.                       be reached anymore, thus 'hanging' the app. Removed again.
  20. 134 2001???? 20010907 Frame edges were insensitive (didn't turn pointer into
  21.                       sizing arrows when hovering over the edge), thus disabling
  22.                       resizing. This was also caused by the HIT testing, which
  23.                       normally gave HT_NORMAL (like the PM Guide and Reference
  24.                       seemed to suggest) but should give the result of calling
  25.                       the oldFrameProc instead (some funky hexadecimal).
  26. 133 20000627 20000806 Native color dialog added, but not working yet.
  27.                       Now works. Only setting via color wheel, not by RGB
  28.                       numbers, but for that the Tk dialog can still be chosen.
  29.                       When starting SpecTcl, the color dialog comes up after
  30.                       the language dialog. This is because it's already shown
  31.                       at the time an unknown option is encountered, which is
  32.                       given in this case => check arguments first.
  33. 132 20000426 20000426 (8.0.5b) Pointer doesn't change to resizing arrows when
  34.                       on size border of frame; no resizing either.
  35.                       WM_ADJUSTFRAMEPOS returned 0, now calls the subclassed
  36.                       (= default) frame window procedure.
  37. 131 20000309 20000312 Tcl_Main not found in lib: tclOS2Main.c is in the exe
  38.                       instead of the lib.
  39.                       Now in DLL (and LIB). Now tclOS2AppInit.c has to be
  40.                       compiled with -DCLI_VERSION to get a CLI-version.
  41. 130 20000226          Not all areas are repainted as required. Inserted
  42.                       WinFillRect(hps, &rectl, CLR_RED) in GenerateXEvent
  43.                       (tkOS2X.c) makes all these areas stick out (not
  44.                       overpainted by Tk) in debugging builds.
  45. 129 20000127 20000515 After tabbing through the buttons in library\demos\
  46.                       radio.tcl, ALT-F4 puts Tk into an infinite loop of a
  47.                       WM_CHAR message in the ChildProc ("equivalent of
  48.                       WM_SYSKEYDOWN").
  49.                       This is because MenuKeyBindProc gets called with keysym
  50.                       XK_Alt_L, which ends up calling the window procedure for
  51.                       the key *again*, starting all over.
  52.                       This was likely done in the Windows port because of
  53.                       subclassing, but its use isn't clear. This is set up in
  54.                       TkpInitializeMenuBindings, whose comment mentions that it
  55.                       does nothing on Mac or the X Window System.
  56.                       So just take the latter route...
  57. 128 20000106(20000516)Menus: pointer disappears when moving over an old- style
  58.                       menu that's been mapped normally (works OK on torn-off
  59.                       tear-offs).
  60.                       This was because Tk_PointerEvent was made to return on a
  61.                       null tkwin (i.e. when the captured mouse is over a non-Tk
  62.                       window), which made Tk crash some time in the past. Now
  63.                       the mouse "only" flickers off and on again when moving
  64.                       the mouse (again, except in torn-off tear-offs).
  65. 127 20000106 20000322 Menus: When mapping the menu as a tear-off, the marks
  66.                       don't look correctly (they do when mapping normally).
  67.                       The mark appears strange because it's drawn using the
  68.                       system bitmap SBMP_MENUATTACHED instead of having the
  69.                       menu control handle it by specifying a child menu handle
  70.                       and flag MIS_SUBMENU.
  71.                       See 126. Don't do any SBMP_ drawing anymore.
  72. 126 20000106 20000322 Menus: cascade marks disappear when selecting the item.
  73.                       Only draw the item, let the system handle the check marks
  74.                       and submenu bitmaps. Only react to WM_DRAWITEM when the
  75.                       Attributes are the same (the PM Guide tells "when the
  76.                       state fields are the same" but then gives an example for
  77.                       the attribute fields. The latter works.
  78.                       Has the trade-off that -activebackground and
  79.                       -activeforeground are effectively ignored; any used
  80.                       non-active colors are just inverted.
  81. 125 20000106 20000106 Menus: when mapping the menu as a tear-off turn up in a
  82.                       wrong position vertically.
  83.                       The function DrawMenuEntryAccelerator used the X y
  84.                       coordinate instead of translating to PM (except for the
  85.                       baseline calculation!).
  86. 124 20000101 20000119 Widget demo, canvas types: stippled text truncated at
  87.                       baseline (descenders "pp" aren't there).
  88.                       Descenders were cut off because BitBlt-ing was done with
  89.                       the RefPoint (=baseline) as origin.
  90. 123 19991216 19991231 (Tcl) COM-port cannot be fconfigure-d with -mode; the
  91.                       Windows name "COM1:" isn't recognized (OS/2 uses "COM1".
  92.                       Re-implemented with DosDevIOCtl instead of Posix (EMX)
  93.                       stuff. Separate call for baud higher than 19200.
  94. 122 19991209 19991212 Put up a first beta that turned out to not run correctly
  95.                       on a 256 color (palette manager) system.
  96.                       Every place where Gpi*LogColorTable was used needed to
  97.                       check aDevCaps[CAPS_ADDITIONAL_GRAPHICS] &
  98.                       CAPS_PALETTE_MANAGER and take appropriate action.
  99. 121 19991204          Underlined letter in a menu doesn't invoke.
  100.                       E.g. widget demo: Alt-F gives the file menu, but then
  101.                       typing q doesn't invoke Quit.
  102.                       It *does* invoke on a torn-off tear-off menu though.
  103. 120 19991202 19991202 Tcl80.dll set the focus to the desktop to make sure the
  104.                       pointer was reinstated after using Tclpm's Terminal
  105.                       window, always necessitating a click to focus on a
  106.                       program, possibly the one that started Tclpm / wish. Now
  107.                       achieved by using WinShowPointer.
  108. 119 19991117 19991118 'load tk80' in tclsh (tclpm80) gives sigFPE.
  109.                       Initialization (TclOS2PMInitialize) was wrong, remember
  110.                       if we've already initialized.
  111. 118 19991116 19991117 tcl_pkgPath isn't filled correctly (ib/tcl8.0).
  112.                       Caused by (wrong) usage of Tcl_DStringResult.
  113. 117 19991109 20000402 Switching to wish via Ctrl-Esc doesn't bring it to the
  114.                       front.
  115.                       Added WM_FOCUSCHANGE handling in TkOS2Wm.c, where the
  116.                       frame is brought to the top unless the FC_NOSETACTIVE,
  117.                       FC_NOBRINGTOTOP and FC_NOBRINGTOPFIRSTWINDOW have been
  118.                       used. The FC_NOSETACTIVE flag is set when you have
  119.                       focus-follows-mouse (e.g. with FeelX) and move the mouse
  120.                       over the window; It's not set via Ctrl-Esc.
  121. 116 19991006 20000226 SpecTcl: widget choices aren't highlighted, chosen nor
  122.                       can they be dragged to the canvas.
  123.                       Tk_TranslateOS2Event wasn't called for WM_BUTTON1 / 2 /
  124.                       3 / UP / DOWN, but only the button window procedure.
  125. 115 19990731 19990731 Horizontal scrollbar doesn't react.
  126.                       TkpScrollbarPosition gave OUTSIDE inapropriately.
  127.                       Caused by faulty computation in Tk_GetRootCoords
  128.                       (tkOS2Wm.c).
  129. 114 19990726 19990726 When environment variable LANG is set to DE_DE, then
  130.                       "expr 3.14" fails with a syntax error (like for
  131.                       "expr 3,14", which fails no matter what LANG is set to,
  132.                       NL_NL, EN_US, LC_C_GERMANY, ...). However, when it is set
  133.                       to LC_C_GERMANY, it does not fail.
  134.                       Function setlocale() only works correctly for DE_DE!
  135.                       The source for EMX (\emx\src\lib\locale\locales.c) shows
  136.                       that only "C", "FRAN", "GERM", "ITAL", "SPAI", "UK",
  137.                       "USA", "de_de", "en_us" and "en_gb" are supported ("NETH"
  138.                       and "NORW" are commented out).
  139.                       Always setting "C" locale makes the problem go away;
  140.                       funnily Tk (wish) already did that.
  141. 113 19990724          Creation of toplevel doesn't yet support embedding.
  142.                Not really a bug.
  143. 112 19990715          Font in Tclshpm terminal should be chosen via an INI
  144.                       setting (if necessary overridden by environment).
  145.                Not a bug.
  146. 111 19990709 19990718 Man-page registry.n should be updated for OS/2 INI version
  147.                       (and included in the INF file).
  148. 110 19990708 19990722 Typing Alt (to try to do Alt-F4) in button.tcl causes a
  149.                       crash.
  150.                       The variable oldMenuProc in tkOS2Menu.c wasn't initialized
  151.                       when there was no menu => set to WinDefWindowProc by
  152.                       default.
  153. 109 19990707 20000518 The right side of the focus ring on the text of the
  154.                       radiobuttons in radio.tk is clipped off.
  155.                       Accidentally held on to the Windows port's use of a RECT
  156.                       instead of using purely width and height in the
  157.                       calculation for WinCreateCursor.
  158. 108 19990707 19991204 Buttons don't clear the focus ring when the focus is
  159.                       removed (by eg. Tab).
  160.                       Added WinDestroyCursor at end of TkpDisplayButton.
  161. 107 19990707 19990802 Radio- and checkbuttons get a light yellow background.
  162.                       TkpGetColor returned the index (eg. -40) for system colors
  163.                       instead of RGB (via WinQuerySysColor), so it would select
  164.                       color ffffd8 (which is -40 in hex).
  165. 106 19990707 19990829 Text on (new style) menus are "double" bold, ie. the
  166.                       standard menu font "9.WarpSans Bold" gets boldened.
  167.                       Don't use FATTR_SEL_BOLD (and _ITALIC) when the font name
  168.                       already contains "Bold" ("Italic") (tkOS2Font.c).
  169. 105 19990707          Bitmaps in the canvas items demo and the mail bitmaps in
  170.                       the iconic button demo are reversed on first showing.
  171.                       Color problem.
  172. 104 19990707          Akin to 102: stippled canvas items (line, curve, polygon,
  173.                       rectangle, oval, text) don't show up until moving the
  174.                       mouse over them (inverting and reverting).
  175. 103 19990707          Stippling of text (both background and foreground) in
  176.                       "Text display styles" in the widget demo doesn't work
  177.                       correctly. Some stippling is visible when selecting
  178.                       across the stippled characters.
  179. 102 19990707 20000226 Moving the mouse into the main window when running
  180.                       menu.tcl or button.tcl throws up a dialog "Error: unknown
  181.                       option "-type"". Dismissing it by clicking on a button
  182.                       causes a crash. Same happens when clicking (not pressing
  183.                       enter on keyboard) the OK button in the target language
  184.                       selection in SpecTcl.
  185.                       Somewhere the display in a TkWindow gets corrupted, so
  186.                       that the (macro) call to RootWindow in function
  187.                       InitializeEvent in tkPointer.c accesses memory illegally.
  188.                       Call stack: Tk_TranslateOS2Event (WM_MOUSEMOVE),
  189.                       Tk_PointerEvent, GenerateEnterLeave, InitializeEvent.
  190.                       The 'lastWinPtr' variable in tkPointer.c, which is used
  191.                       to remember the window having the focus until now, isn't
  192.                       reset to NULL when a button is destroyed as is done in
  193.                       XDestroyWindow (tkOS2Window.c) by calling
  194.                       TkPointerDeadWindow. Calling that makes the problem go
  195.                       away. The same likely holds for Menus and Scrollbars but
  196.                       hadn't shown up yet.
  197. 101 19990707          SpecTcl: Selecting the bottom gridline and dragging it
  198.                       down makes it go UP to the bottom gridline of the first
  199.                       row. Using the line in the left margin for this (dragging
  200.                       down) does work.
  201.                       Temporarily removing the call to Tk_PointerEvent fixes
  202.                       this (in TkOS2TranslateEvent), so ....
  203. 100 19990707 19990829 SpecTcl: The initial target selection dialog shows up at
  204.                       0,0 instead of the middle of the screen.
  205.                       The "geom" update didn't get through before the new values
  206.                       were needed => UpdateGeometryInfo inserted in
  207.                       TkpWmSetState.
  208.  
  209. No specific bug tracking was administered before 7 July 1999.
  210.