Thanks.

This is my first time to see the progress/debug messages...

The responses seems to be different.


I moved the .bind files in /Library/Application Support/LyX-2.0/bind/

to another place and restart lyx 2.0.2 with the same settings as yours.


When I type ctrl+b, nothing appears on the document.

The message is:


/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046): count:
1 text: isAutoRepeat: 0 key: 16777250 keyState: Meta-

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(621):
Getting key 16777250, with text ''

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(627):
Setting key to 16777250,

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663):
KeySym is Alt_L

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650):
isModifier is 1

23:16:35.603: Unknown
function./Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046):
count: 1 text: isAutoRepeat: 0 key: 66 keyState: Meta-

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(616):
keyevent has isNull() text !

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663):
KeySym is b

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650):
isModifier is 0

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1686):
action first set to []

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1694):
action now set to []

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1705): Key
[action=][Command-B]

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(726): text_
empty, isText() == false

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1732):
Unknown, !isText() - giving up


When I type command + b, the cursor moves backwards by one character.
The message is:



/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046): count:
1 text: isAutoRepeat: 0 key: 16777249 keyState: Control-

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(621):
Getting key 16777249, with text ''

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(627):
Setting key to 16777249,

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663):
KeySym is Control_L

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650):
isModifier is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiWorkArea.cpp(1046): count:
1 text: isAutoRepeat: 0 key: 66 keyState: Control-

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(616):
keyevent has isNull() text !

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1663):
KeySym is b

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(642): isOK
is 1

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiKeySymbol.cpp(650):
isModifier is 0

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1686):
action first set to []

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1694):
action now set to []

/Users/Shared/LyX/lyx-2.0.2/src/frontends/qt4/GuiApplication.cpp(1705): Key
[action=][Control-B]



On Tue, Jan 31, 2012 at 10:04 PM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 31.01.2012 um 14:46 schrieb stiv. djobz.:
>
> > I made sure my keybindings are set properly as yours.
> > For example,
> > in 2.0.1,
> > I could move the cursor backwards by typing ctrl + b with the checkbox
> ticked
> > and by typing command +b with the checkbox unticked,
> > and in 2.0.2,
> > I have to type command + b in both the cases.
> >
> > I'm thinking of going back to 2.0.1 and waiting for a bugfix
> > instead of using additional softwares or macros.
>
> But the bugfix will never arise if it's not possible to find the cause for
> your problem.
>
> Here I'm using LyX-2.0.2 and have no user defined key bindings and set
> shortcuts to "emacs" and the checkbox "don't swap" enabled.
>
> When typing ctrl+b LyX's key debug output is:
> .../GuiApplication.cpp(1705):  Key [action=][Kontroll-B]
> and the cursor is moving one character backwards.
>
> When typing command+b I can see:
> .../GuiApplication.cpp(1705):  Key [action=][Befehl-B]
> .../GuiApplication.cpp(1728): isText() is true, inserting.
> .../GuiApplication.cpp(1746): SelfInsert arg[`b']
> and the letter "b" is inserted.
>
> Please, check the contents of the file "$HOME/Library/Application
> Support/LyX-2.0/bind/user.bind" if it's empty.
>
> Stephan
>
> > But thanks for your advice.
> >
> > stiv.
> >
> > On Tue, Jan 31, 2012 at 4:48 AM, Christopher Menzel <cmen...@tamu.edu>
> wrote:
> > Am Jan 30, 2012 um 8:07 PM schrieb stiv. djobz.:
> > > The checkbox of
> > > "Do not swap Apple and Control keys"
> > > in
> > > LyX>Preferences>Editing>Keyboard/Mouse
> > > does not work in 2.0.2.
> >
> > Hm, it doesn't seem to make any difference for me either, but
> fortunately, the Ctrl key is behaving for me as it ought vis-á-vis Emacs
> keybinding.
> >
> > > I'm using emacs shortcuts, so this problem is serious for me.
> > > Is there any solution for this problem ?
> >
> > Have you checked to make sure the keybindings are set properly in LyX ->
> Preferences -> Editor?  Relevant Ctrl key combos like "Ctrl-F" and "Ctrl-X
> S" are set in my preferences with ^F, "^X S", etc.
> >
> > > To compensate the swapping with another swapping in System Preferences
> is not a realistic choice.
> > > It would affect the shortcuts in all the other softwares.
> >
> > For a time I used a macros (called with a global hotkey) that would
> toggle the Capslock key between Ctrl and Cmd that I would invoke going into
> and coming out of LyX. That was of course less than ideal but it was fast
> and worked pretty well. Hasn't been necessary for a quite a long time,
> though.
> >
> > Chris Menzel
> >
> >
>
>

Reply via email to