← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] first patch to solve Bug #1562617.

 

Patrick,

You are confusing hot keys with menu accelerators.  They are not the
same thing and cannot be used interchangeably.  Menu accelerators are
shortcuts for menu entries and preform no additional actions other than
the action that selecting the menu entry would provide.  Hot keys
typically provide additional actions at the current cursor location in
the drawing area.  Obviously if the cursor has a menu open, this cannot
happen because the drawing area is blocked by the menu.  Tool bars are
nothing more than always visible menu shortcuts but they provide the
exact same behavior and are typically mapped to the same event ID.  So
using hot keys in tool bar tool tips is wrong because you do not get the
same behavior.  I realize there are some tool bar buttons that do not
have menu entries but that is a different issue.

Cheers,

Wayne

On 4/11/2016 4:03 PM, Pereira, Patrick wrote:
> First patch to solve Bug #1562617.
> With this patch pcbnew shows shortcut in toolbar popup-tip.
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References