kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00100
Re: Patch: Keyboard shortcut for "Drag Mode"
2006/4/8, wmb314 <wmb@...>:
>
>
> > > I found [the proposal to have a keyboard shortcut for drag]
> interesting, but I prefer to use 'D' and 'd' key instead of
> > tab. ...
>
> > That would be more mnemonic, but I don't know how is perceived in
> the other
> > languages.
>
> The reason I chose Tab was because the key is easy to find. The
> function is so important that it deserves a key that can be reached
> with very little searching. It defeats the purpose if you have to
> look carefully at the keyboard.
>
> "Space" would be even better, but it is already used. However, the
> function that "space" is bound to is much less frequently used than
> "drag", so if it were up to me, I would move the "zero offset"
> function to either 'o' or '0' (zero) and put the Move/Drag toggle on
> space. Actually, if it were up to me I would make "drag" the default.
>
> But it is not up to me, so I can only propose and explain my thinking.
For me : drag by default, "M" for move and "Del" for delete would be good.
> The best solution would be to have this kind of shortcuts in a
> configuration
> > file...
>
> I disagree. If you make the UI too configurable, then the product
> becomes very difficult to support and only expert users will be able
> to use it. Standardization is a good thing, so long as the standard
> is well thought out.
You are probably right, personally I don't like the software which implement
commands different on different languages, even if my primary language is
French, I prefer English mnemonics for the portability. We do not forget
that if we don't remember the shortcut , the menus are always available.
>
> > I propose, as an other improvement, to use Del key for Delete block, by
> > adding this case on the same switch instruction, in this particular case
> > there is no language problems.
> >
> > *case* WXK_DELETE : *// Switch to delete mode*
> > m_CurrentScreen->m_O_Curseur =
> m_CurrentScreen->m_Curseur;
>
> I tried this patch and it works well. I changed the comment to
> "// Delete the block", because "delete" is an atomic command, not
> a mode that affects later operations.
>
> Yes, you are right for the comment.
--
Danilo Uccelli
CH-2400 Le Locle
danucc@...
------=_Part_1685_16062477.1144580061745 Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
2006/4/8, wmb314 <<a href="mailto:wmb@...">wmb@...</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> > I found [the proposal to have a keyboard shortcut for drag]<br>interesting, but I prefer to use 'D' and 'd' key instead of<br>> tab. ...<br><br>> That would be more mnemonic, but I don't know how is perceived in
<br>the other<br>> languages.<br><br>The reason I chose Tab was because the key is easy to find. The<br>function is so important that itdeserves a key that can be reached<br>with very little searching. It defeats the purpose if you have to
<br>look carefully at the keyboard.<br><br>"Space" would be even better, but it is already used. However, the<br>function that "space" is bound to is much less frequently used than<br>"drag", so if it were up to me, I would move the "zero offset"
<br>function to either 'o' or '0' (zero) and put the Move/Drag toggle on<br>space. Actually, if it were up to me I would make "drag" the default.<br><br>But it is not up to me, so I can only propose and explain my thinking.
</blockquote><div><br>
For me : drag by default, "M" for move and "Del" for delete would be good. <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solidrgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> The best solution would be to have this kind of shortcuts in a<br>configuration
<br>> file...<br><br>I disagree. If you make the UI too configurable, then the product<br>becomes very difficult to support and only expert users will be able<br>to use it. Standardization is a good thing, so long as the standard
<br>is well thought out.</blockquote><div><br>
You are probably right, personally I don't like the software which
implement commands different on different languages, even if my
primary language is French, I prefer English mnemonics for the
portability. We do not forget that if we don't remember the
shortcut , the menus are always available. <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solidrgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">><br>> I propose, as an other improvement, to use Del key for Delete block, by
<br>> adding this case on the same switch instruction, in this particular case<br>> there is no language problems.<br>><br>>
*case* WXK_DELETE : *// Switch to delete mode*<br>>
m_CurrentScreen->m_O_Curseur = m_CurrentScreen->m_Curseur;<br><br>Itried this patch and it works well. I changed the comment to<br>"// Delete the block", because "delete" is an atomic command, not
<br>a mode that affects later operations.<br><br></blockquote></div>Yes, you are right for the comment.<br>
<br>-- <br>Danilo Uccelli<br>CH-2400 Le Locle<br><a href="mailto:danucc@xxxxxxxxx">danucc@...</a>
------=_Part_1685_16062477.1144580061745--
References