Hello Romano,

     I have found a small problem in defining a new object in xcircuit. I
have version 3.7.55 but I have seen it in more modern ones, too (3.9.23).
If I choose a group of objects and then I press "m" to define a library
object, a dialog comes up. If I type a name and press "Okay", it all works.

     But if I (as I often do) press "Enter" after the name, as if there
were a default action, and then press okay, I have the error:

handle is identified by leading H and hexidecimal value only
...

...which seems not so dangerous, but well, it is at least a bit misleading
(not mentioning that in my focus-follow-mouse setup the error windows will
go in the background in a few moment, and now it seems that the dialog has
become unresponsive....)

I am compiling xcircuit in an Ubuntu 14.04 system. Can you reproduce it?

No, I'm not able to reproduce this.  What I see is that there *is* a
default binding for pressing <Enter>.  If I had to take a guess, though,
your <Enter> key is not bound like I expect it to be, and is instead
adding a non-ASCII character to the name.

The "wrapper.tcl" file has, at line 1278:

   button .dialog.bbar.okay -text Okay -bg beige -command \
        {.dialog.bbar.apply invoke ;\
        wm withdraw .dialog}
   button .dialog.bbar.apply -text Apply -bg beige
   button .dialog.bbar.cancel -text Cancel -bg beige -command \
        {wm withdraw .dialog}

   bind .dialog.textent.txt <Return> {.dialog.bbar.apply invoke}

Possibly your <Return> key mapping is getting translated somehow by your
window manager?  . . . Unless you are using the keypad "Enter", which
has a different key binding than the other "Enter" key. . .

                                                ---Tim

+--------------------------------+-------------------------------------+
| R. Timothy Edwards (Tim)       | email: t...@opencircuitdesign.com    |
| Open Circuit Design            | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-5030               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev@opencircuitdesign.com
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to