Hello Philip,

> And, I'm still struggling with libraries, in particular
> the dialog box that opens for creating an object ("M") and
> saving a technology page.  If my cursor has to cross any other
> window, the text entry field is cleared.  I work around this
> when creating an object by typing the fully qualified name
> with the "::".  Just a slight annoyance.

A definite mistake in the "updatedialog" procedure in wrapper.tcl.
It was designed to correct the value of linewidths and default
scales when moving from one window to another, because each
window can have its own default settings.  However, I was
erasing the text entry contents always, rather than in just the
specific cases where something needs to change.  I am updating
the git source, and you can download the new source;  the only
thing that needs doing is to copy "wrapper.tcl" and "files.tcl"
from lib/tcl/ to the install directory (/usr/local/lib/xcircuit-3.7/).
But as long as you've switched from modifying the xcstartup
file to "site.tcl", a fresh install will work just as well.

> However, the same behavior occurs when I'm trying to save a
> technology page.  I will choose "write all" from the menu and
> often I have to choose "force" because the technology page I
> just changed isn't listed.  (Sometimes I don't have a "force"
> button.  I haven't figure out the when or why).  With the
> "force" dialog open, if I just click on "write", I get "Error,
> file name required" - I _think_ from the library page trying
> to save. (technology page?  So far my libraries each consist
> of one technology.  Call it holdover from the old
> way. *smiles* )
> 
> I have found that I can click on the white box with a dash
> ("-") that is next to each of the library/technology I can
> save them one at a time and the (necessary) full path to the
> file is filled in - except if my cursor has can't move from
> the "force" dialog to the "write" dialog the text box is
> cleared.  
> 
> My choice then is to cancel and try again, and again, and
> again, until the window manager (openbox), or whoever, happent
> to place the "write" dialog so it intersects with the "force"
> dialog so I can move my cursor without clearing the text
> field.  Or by using copy/paste (I depend on "tab" to spell my
> path names...) to fill in the path since there isn't a
> "browse" option.
> 
> Is this normal behavior?  Would it be hard to provide a browse
> function to the technology write dialog box?  Or am I just
> doing something wrong (again)?

I avoid the Tcl/Tk file browser because it has the unfortunate
habit of blocking the program until the dialog returns a response,
which is a methodology I detest.  However, I admit that my own file
browser, while non-blocking, is rather spare.  It would take me a day
or two to work up the Tk scripts to make the file dialog better.
Really, all it needs is for the existing file list window to be
embedded in another frame containing all the usual file browser
bells and whistles.

Meanwhile, I can't even say that I have really corrected your problem,
but I have worked around the worst aspects of it.   It will no longer
report "Error, file name required", but will instead switch to the
"Technology Save" dialog and prompt for a filename.  Trouble is, though,
I used the same dialog window for both features, so when the "tech save"
dialog appears, the "write all" dialog disappears and doesn't come
back, so if you have more than one technology file to save, you'll
have to keep doing "write all" until you get a chance to save all of
the technology files.

The reason this error exists in the first place is that I don't ever
use "Write all", but would normally save technology files from the
"Save technology" menu item.  So I coded up "Write all", tested it on
a few cases, and then mostly forgot about it.  Clearly it needs some
work.  As usual, nothing gets done if nobody complains about it, so
keep those bug reports coming. . .

                                                ---Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: [email protected]     |
| MultiGiG, Inc.                 | web:   http://www.multigig.com      |
| 2645 Zanker Road, Suite 101    | phone: (408) 514-1375               |
| San Jose, CA 95134             | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to