When the hoterrors option is enabled in tkcon, and an error occurs, it is
displayed. At the same time it has a binding applied to it so that when the
mouse hovers over the text message, it is underlined.  With newer versions
of Tcl/Tk an error occurs when the error message is moused over. Here's a
screen shot:
http://files.suncup.net/netgen_apperr.png

This issue was reported as a bug to the tkcon project and fixed.
https://sourceforge.net/p/tkcon/bugs/54/
#54 Use of '-under' conflicts with 8.6.6 '-underlinefg'

http://tkcon.cvs.sourceforge.net/viewvc/tkcon/tkcon/tkcon.tcl

This issue exists in the xcircuit-3.10 code base as well. (magic-8.2 does
not have this issue).

Due to opencircuitdesign's customizations to tkcon.tcl, we just can't pull
a newer version of tkcon.tcl and use it directly, so we need to either
patch our version with the fix, or pull the latest version of tkcon.tcl
from sourceforge and customize again.

Patching our copy can be done quickly with a sed command:
sed -i -e 's/-under /-underline /' tkcon.tcl

https://github.com/mooredan/netgen-1.5/commit/79406914639cd2b2d94aaefb23ce5a668c39669d

https://github.com/mooredan/xcircuit-3.10/commit/b6f940307ff345da2fc50f5ac8c94a9b046c1032
_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev@opencircuitdesign.com
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to