Comment 2 for bug 1379352

Revision history for this message
Ian Woloschin (iwoloschin) wrote :

Yes, that is correct. If you can't type 'o' you can't spell "import" correctly ;). I just copied the text, as seen in my scripting console, after trying to type the command.

I've upgraded to Rev 5173 this morning, so the nomenclature has changed, but as long as the "Place Footprint" (formally Place Module) is set to a plain alphanumeric character with no modifier keys it is impossible to type that character into the scripting console. I can copy and paste an 'o' into the scripting console, but trying to enter an 'o' via the keyboard does not work.

Also, keep in mind, this key hijacking follows whatever hotkey is used for the 'Place Footprint' action, so if it changes to something other than 'o' that key is then hijacked. Obviously doing something like 'Ctrl+O' is a decent workaround, since that would not generate a regular character for the scripting console anyways.

I cannot type anything into the console unless the cursor is at the >>> prompt, but I believe that is a conscious design decision in PyCrust, so I do not think that is actually a bug. Not being able to type a single alphanumeric character is most definitely a bug, and clearly related to PCBNew's hotkey handling. I am not enough of a C++ programmer to easily figure this out myself, though it's simple enough to apply patches and recompile for a test. I might be able to do some poking this weekend, but again, I'm a hardware guy, so software is not my forte.