Version 23 of XOTclIdeBugs

Updated 2005-01-05 17:45:14

Bugs found in XOtclIde


  1. Browser is wrong (menu crashed) if corresponding object is destroyed.

1. Browser is wrong (menu crashed) if corresponding object is destroyed.

ATK: This state should not happen in normal usage because the life of browser object is coupled withlife of browser object.


  1. FP XotclIDEDB.tcl (0.71) crash due to bad code in "IDEDBConnectFrame instproc init" (file xdobry_sql.xotcl)

In "switch $type", cases "file" and "wfile", lines "label $win.f${name} ..." and "$win.f${name} insert ..." are not compatible. Need to choose between "label ... ... configure -text..." and "entry ... ... insert ..."

ATK: Yes it is a bug and will be fix in next release. For quick fix change 2 lines in the the file xdobry_sql.tcl

          file {
               label $win.f${name} -relief sunken -border 2 -width 50 -anchor w
               button $win.$name -text "..." -command [list [self] changeFile $name r]
               grid $win.l${name} -row $y -column 0 -sticky e
               grid $win.f${name} -row $y -column 1 -sticky e
               grid $win.$name -row $y -column 2
               if {$defaultValue ne ""} {
                   $win.f${name} configure -text $defaultValue
               }
           }
           wfile {
               label $win.f${name} -relief sunken -border 2 -width 50 -anchor w
               button $win.$name -text "..." -command [list [self] changeFile $name w]
               grid $win.l${name} -row $y -column 0 -sticky e
               grid $win.f${name} -row $y -column 1 -sticky e
               grid $win.$name -row $y -column 2
               if {$defaultValue ne ""} {
                   $win.f${name} configure -text $defaultValue
               }
           }

The bug appers only if there are default values in version control DB connection and by SQL connection use files (sqlite and MS Access) Work around: Use option -ignoreprefs by starting IDE. Then no default values will be set


XOTclIde