Problem with interface port editing
Brought to you by:
jefferyhansen
When i click on the drop-down/list-box to set the number of wires for a port I get this error:
bad window path name ".dblist"
bad window path name ".dblist"
while executing
"grab set $w"
(procedure "dialogWait" line 13)
invoked from within
"dialogWait .dblist -dosync 0"
(procedure "Dropbox::showlist" line 32)
invoked from within
"Dropbox::showlist $w"
(procedure "Dropbox::press" line 10)
invoked from within
"Dropbox::press .edport.box.bit"
(command bound to event)
This happens either in the Port Properties dialog that pops-up after a right-click+add input/output
Or when using the Port List in the Interface tab
TKGate 2.0-a11 on Linux 2.6.27-9-generic x86_64 GNU/Linux (Ubuntu 8.10)
In fact this applies to all dropbox elements in the UI
Having the same problem
The proposed solution is in the default branch at https://bitbucket.org/starling13/tkgate .
It changes the behaviour of drop-down lists, which are disappeared after mouse pointer leaves it and need to be discussed.
Here is the patch:
The problem is in that on Cygwin the top-level window is reconfigured many times while
drop-down box is being created and displayed, but on linux (at least) it is reconfigured only after window changes its size or positioning.
Last edit: Andrey Skvortsov 2015-09-29