← Back to team overview

kicad-developers team mailing list archive

Re: Zoom vs Help

 

On 7/1/2015 4:17 PM, Garth Corral wrote:
> The Cmd-C issue may well be a wxWidgets bug, but it is still an issue for kicad users.  There are many such issues in kicad where OS X specific issues must be worked around.
> 
> As for the window manager capturing the functions keys, yes, that is what I said.  The fact that F10 was skipped for canvas switching means that kicad is catering to a specific platform.  I’m not likely to switch window managers on OS X, nor are other OS X users.  Yes we could remap our keys but why should we?  This should work out of the box.

While I agree with you in principal, can you imagine what a mess our hot
key definition code would look like if we had to avoid window manager
key mappings for every Linux WM?  Good luck with that.  AFAIK, there is
no wxWidgets code for determining WM key mapping so fixing the mapping
at run time is also not likely.  That being said, if you run into an
issue, please send a patch with the requisite #ifdef/#endif wrapped OSX
specific key mappings.

> 
> Garth
> 
> 
>> On Jul 1, 2015, at 12:22 PM, jp charras <jp.charras@xxxxxxxxxx> wrote:
>>
>> Le 01/07/2015 20:38, Garth Corral a écrit :
>>> While we’re on the topic.  There are other places where hotkeys are
>>> less than optimal on OS X.  For example, F11 and F12 are taken for OS
>>> functions and never reach kicad, so selecting the canvases has to be
>>> done through the menus.  Conversely, Cmd-C in kicad launches the
>>> calculator, so you can’t copy from the python console.  These are
>>> just a couple I’ve noticed recently, I’m sure there are many more
>>> such issues.
>>>
>>> Garth
>>>
>>
>> I am thinking you are confused by wxWidgets issues and Kicad issues.
>>
>> The mere fact you cannot copy using Cmd-C from the python console is a
>> curious wxWidgets bug (specific to OSX) (looks like accelerator keys are
>> captured by the wrong window, and not sent to the window which has the
>> focus).
>>
>> On all systems or window managers, some keys are "captured" by the
>> window manager and cannot be used as user commands (for instance F10 on
>> Windows).
>> Many keys using Alt modifier cannot be freely used as hotkeys (they do
>> not work, or they are captured by the window manager).
>>
>> All hotkeys are configurable by user, so when a key is not working on a
>> given window manager, you can easily remap it.
>>
>> The "issue" relative to Ctrl / Cmd is not clear for me.
>>
>> Is it just the name "Ctrl" which should be displayed "Cmd" (which is
>> rather easy to change) or is it something else ?
>>
>> -- 
>> Jean-Pierre CHARRAS
>>
>> _______________________________________________
>> 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
> 
> 
> 
> _______________________________________________
> 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