Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-18 Thread Gabriel Paubert
On Tue, May 17, 2011 at 03:04:18PM -0400, Vanessa Ezekowitz wrote:
 On Mon, 16 May 2011 23:29:46 +0200
 Kai-Martin Knaak k...@lilalaser.de wrote:
 
  Peter Clifton wrote:
  
  the two '=' or remove the whole part 'a={= Key=}', what will
  remove this key-binding for this menu-item.
   
   Yes, I can recommend removing this key binding.
   
   I do in my local builds for the same reason, plus the fact that
   sometimes the optimiser makes mistakes and causes shorts on my boards!
 
 For me, the Auto-Optimize step (in particular the Unjaggy and De-bumpify 
 optimizations) actually removes some hand-placed vias - particularly those 
 which I've placed up against an SMT pad as part of hand-routing the majority 
 of the board.  I only noticed this today, but I can't be sure when that 
 behavior started.
 
 As for keys, I would like to see a default hotkey added to turn Orthogonal 
 Moves on/off (I toggle this setting quite frequently while cleaning up after 
 the autorouter).

Ditto. What about + which is a little cross after all?

I'm aware it's Shift-= on american keyboards, which is currently
defined as auto-optimize. But I am of the strong opinion that
operations which may perform a large number of changes to the
board should not have keyboard accelerators, so that you can
not trigger them my mistake.

I'm aware that they can be undone, but even then... 

Regards,
Gabriel


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-18 Thread Vanessa Ezekowitz
On Wed, 18 May 2011 13:54:15 +0200
Gabriel Paubert paub...@iram.es wrote:

 On Tue, May 17, 2011 at 03:04:18PM -0400, Vanessa Ezekowitz wrote:
  On Mon, 16 May 2011 23:29:46 +0200
  Kai-Martin Knaak k...@lilalaser.de wrote:
  
   Peter Clifton wrote:
   
   the two '=' or remove the whole part 'a={= Key=}', what will
   remove this key-binding for this menu-item.

Yes, I can recommend removing this key binding.

I do in my local builds for the same reason, plus the fact that
sometimes the optimiser makes mistakes and causes shorts on my boards!
  
  For me, the Auto-Optimize step (in particular the Unjaggy and De-bumpify
  optimizations) actually removes some hand-placed vias - particularly
  those which I've placed up against an SMT pad as part of hand-routing the
  majority of the board.  I only noticed this today, but I can't be sure
  when that behavior started.
  
  As for keys, I would like to see a default hotkey added to turn
  Orthogonal Moves on/off (I toggle this setting quite frequently while
  cleaning up after the autorouter).
 
 Ditto. What about + which is a little cross after all?
 
 I'm aware it's Shift-= on american keyboards, which is currently
 defined as auto-optimize. 

Fittingly unshifted = would also work, since the two lines could imply 
parallel, as in move the object parallel to the path the mouse takes.

-- 
There are some things in life worth obsessing over.  Most
things aren't, and when you learn that, life improves.
http://digitalaudioconcepts.com
Vanessa Ezekowitz vanessaezekow...@gmail.com


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-18 Thread Gabriel Paubert
On Wed, May 18, 2011 at 03:09:10PM -0400, Vanessa Ezekowitz wrote:
 On Wed, 18 May 2011 13:54:15 +0200
 Gabriel Paubert paub...@iram.es wrote:
 
  On Tue, May 17, 2011 at 03:04:18PM -0400, Vanessa Ezekowitz wrote:
   On Mon, 16 May 2011 23:29:46 +0200
   Kai-Martin Knaak k...@lilalaser.de wrote:
   
Peter Clifton wrote:

the two '=' or remove the whole part 'a={= Key=}', what will
remove this key-binding for this menu-item.
 
 Yes, I can recommend removing this key binding.
 
 I do in my local builds for the same reason, plus the fact that
 sometimes the optimiser makes mistakes and causes shorts on my boards!
   
   For me, the Auto-Optimize step (in particular the Unjaggy and De-bumpify
   optimizations) actually removes some hand-placed vias - particularly
   those which I've placed up against an SMT pad as part of hand-routing the
   majority of the board.  I only noticed this today, but I can't be sure
   when that behavior started.
   
   As for keys, I would like to see a default hotkey added to turn
   Orthogonal Moves on/off (I toggle this setting quite frequently while
   cleaning up after the autorouter).
  
  Ditto. What about + which is a little cross after all?
  
  I'm aware it's Shift-= on american keyboards, which is currently
  defined as auto-optimize. 
 
 Fittingly unshifted = would also work, since the two lines could imply 
 parallel, as in move the object parallel to the path the mouse takes.

I don't really care. Well, on a Spanish keyboard, + does not need
any modifier but = is actually Shift-0.

As I've already said, the only things that worries me is potentially 
pervasive and time-consuming operations triggered by single keystrokes.
Especially since I'm sometimes forced to use different keyboards,
American of French (and occasionally other ones, but it's unlikely
that I use PCB on these machines) so I may easily hit the wrong key.

Regards,
Gabriel


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-17 Thread Gabriel Paubert
On Mon, May 16, 2011 at 11:29:46PM +0200, Kai-Martin Knaak wrote:
 Peter Clifton wrote:
 
 the two '=' or remove the whole part 'a={= Key=}', what will
 remove this key-binding for this menu-item.
  
  Yes, I can recommend removing this key binding.
  
  I do in my local builds for the same reason, plus the fact that
  sometimes the optimiser makes mistakes and causes shorts on my boards!
  
 Another candidate is the short cut to Auto-Optimize. This is supposed 
 to be Shift+=. However, on German keyboards you have to type [shift-0] 
 to get the = character. What would I type to get Shift+= ?

Same on Spanish keyboards.

By the way, my pcb log window is always littered with lots
of 'Key  not tied to an action message because the | key
(short cut for thin draw) is a third level key on Spanish keyboards.

I'm sure other languages use even more modifiers, but could
someone apply the following patch:


diff --git a/src/hid/lesstif/menu.c b/src/hid/lesstif/menu.c
index 297768b..8de2952 100644
--- a/src/hid/lesstif/menu.c
+++ b/src/hid/lesstif/menu.c
@@ -1140,6 +1140,7 @@ lesstif_key_event (XKeyEvent * e)
 case XK_Super_R:
 case XK_Hyper_L:
 case XK_Hyper_R:
+case XK_ISO_Level3_Shift:
   return 1;
 }
 

Gabriel


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-17 Thread Peter Clifton
On Tue, 2011-05-17 at 10:11 +0200, Gabriel Paubert wrote:

 I'm sure other languages use even more modifiers, but could
 someone apply the following patch:


Committed, thanks! I made the equivalent change to the GTK HID whilst I
was at it, and wrote a commit message for you.

I look forward to reviewing any more patches you have for gEDA and PCB.



commit ccb2e68847996fb65fac0041be6b2b91501e62cb
Author: Gabriel Paubert paub...@iram.es
Date:   Tue May 17 11:44:01 2011 +0100

Lesstif + GTK HIDs: Ignore ISO Level3 shift modifier key

This key press is found on some international keyboards (e.g. Spanish).
If we don't ignore it, PCB complains about the key not being tied to
an action when it is pressed.

From the committer, Peter Clifton pc...@cam.ac.uk
...
Thanks to Gabriel for reporting this and providing the patch for
Lesstif. I have updated the patch to make the equivalent change to
the GTK HID as well.

Signed-off-By: Peter Clifton pc...@cam.ac.uk



-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-17 Thread Vanessa Ezekowitz
On Mon, 16 May 2011 23:29:46 +0200
Kai-Martin Knaak k...@lilalaser.de wrote:

 Peter Clifton wrote:
 
 the two '=' or remove the whole part 'a={= Key=}', what will
 remove this key-binding for this menu-item.
  
  Yes, I can recommend removing this key binding.
  
  I do in my local builds for the same reason, plus the fact that
  sometimes the optimiser makes mistakes and causes shorts on my boards!

For me, the Auto-Optimize step (in particular the Unjaggy and De-bumpify 
optimizations) actually removes some hand-placed vias - particularly those 
which I've placed up against an SMT pad as part of hand-routing the majority of 
the board.  I only noticed this today, but I can't be sure when that behavior 
started.

As for keys, I would like to see a default hotkey added to turn Orthogonal 
Moves on/off (I toggle this setting quite frequently while cleaning up after 
the autorouter).

-- 
There are some things in life worth obsessing over.  Most
things aren't, and when you learn that, life improves.
http://digitalaudioconcepts.com
Vanessa Ezekowitz vanessaezekow...@gmail.com


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-16 Thread Kai-Martin Knaak
Peter Clifton wrote:

the two '=' or remove the whole part 'a={= Key=}', what will
remove this key-binding for this menu-item.
 
 Yes, I can recommend removing this key binding.
 
 I do in my local builds for the same reason, plus the fact that
 sometimes the optimiser makes mistakes and causes shorts on my boards!
 
Another candidate is the short cut to Auto-Optimize. This is supposed 
to be Shift+=. However, on German keyboards you have to type [shift-0] 
to get the = character. What would I type to get Shift+= ?

---)kaimartin(---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-14 Thread Felix Ruoff
   In the default-konfiguration, the '='-Key is for 'Simple optimization'
   from the 'Connects' menu. I can imagine, that this needs some time, but
   I have not tested it now.
   You can disable/modify this by editing the file 'gpcb-menu.res'. There
   is a line
   {Simple optimization djopt(simple)  a={= Key=}}
   . The Values in the braces after 'a=' are the key-bindings for the
   action 'djopt(auto)'. Just the second value (Key=) is relevant, if
   you are using the gtk-gui. If you use the lesstiff-gui, there is a
   special file 'pcb-menu.res'. You can set anoter (unused) key instead of
   the two '=' or remove the whole part 'a={= Key=}', what will
   remove this key-binding for this menu-item.
   Kind regards,
   Felix
   Am 14.05.2011 16:25, schrieb Thomas Oldbury:

   I have not yet figured out what the = key does in PCB, but whenever
   it gets pressed, the program freezes for a few minutes. Unfortunately,
   on my laptop keyboard it is very close to the delete key, so this leads
   to a lot of frustration. How do I turn it off?





___
geda-user mailing list
[1]geda-user@moria.seul.org
[2]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. mailto:geda-user@moria.seul.org
   2. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Pressing = key causes PCB to freeze for a few minutes

2011-05-14 Thread Peter Clifton
On Sat, 2011-05-14 at 16:36 +0200, Felix Ruoff wrote:
 In the default-konfiguration, the '='-Key is for 'Simple optimization'
from the 'Connects' menu. I can imagine, that this needs some time, but
I have not tested it now.
You can disable/modify this by editing the file 'gpcb-menu.res'. There
is a line
{Simple optimization djopt(simple)  a={= Key=}}
. The Values in the braces after 'a=' are the key-bindings for the
action 'djopt(auto)'. Just the second value (Key=) is relevant, if
you are using the gtk-gui. If you use the lesstiff-gui, there is a
special file 'pcb-menu.res'. You can set anoter (unused) key instead of
the two '=' or remove the whole part 'a={= Key=}', what will
remove this key-binding for this menu-item.

Yes, I can recommend removing this key binding.

I do in my local builds for the same reason, plus the fact that
sometimes the optimiser makes mistakes and causes shorts on my boards!

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user