Am 17.02.2011 um 07:40 schrieb Stephan Witt:

> Am 17.02.2011 um 03:31 schrieb BH:
> 
>> On Wed, Feb 16, 2011 at 11:14 AM, Pavel Sanda <sa...@lyx.org> wrote:
>>> BH wrote:
>>>> On Mac with current trunk, the <option> key is not recognized for any
>>>> keybindings. (The Mac standard is for <option>-[arrow key] to move the
>>>> cursor around by words/paragraphs, so this is a real problem.)
>>>> 
>>>> Opening up the shortcuts preferences dialog, I find that all
>>>> keybindings that previously were assigned to <option> now indicate
>>>> that they are assigned to <control> instead (going by the symbol
>>>> displayed in the dialog); however, the <control> key is ignored as
>>>> well. Moreover, it is not possible to change the keybindings back to
>>>> <option> using the dialog: trying to assign <option><left> to
>>>> word-left results in just the <left> key registering in the dialog.
>>>> 
>>>> Note: the <option> key is also used to enter accents and other
>>>> non-standard characters; this use is not affected. It's only LyX's
>>>> keybindings that ignore <option>.
>>> 
>>> could it be related to http://www.lyx.org/trac/ticket/7292 ?
>>> pavel
>> 
>> That's definitely the culprit.
>> 
>> Stephan?
> 
> Yes, you're right. I missed that simple test. Sorry.
> One is able to use Ctrl-Arrow instead of Option-Arrow
> but that's of course not standard on Mac. You said this
> is not working for you? Here I can use it.
> 
> Anyway, I'll revert the change and think of another solution.
> Note: the accents input is broken again after that.
> 
> The correct solution is more work. The problem is the merge of 
> MetaModifier and AltModifier done by LyX. LyX shouldn't fold both
> Modifiers to AltModifier (Option-Key on Mac).
> 
> If this distinction is possible the key bindings on mac should
> changed for all accented keys from Alt to Meta (if it isn't Meta already).

One general question: why is Alt and Meta in LyX key bindings the same?
In Qt we have four modifier keys: shift, control, alt and meta.
The bind files has "M" as synonym for "alt", and "A" isn't usable.
If the user presses the Meta key it is translated to AltModifier and then
matches the "M" in bind file. Why this confusion!? Isn't it better to make
this consistent? Which platform needs this mixup of things?

Stephan

Reply via email to