Juergen asked me to subscribe to this mail list and pass on to all of you
a strange (and new with 1.6.1) problem with the [Del] key. This is on
Slackware-12.2.

  Despite \bind "Delete" being defined as 'char-delete-forward' in site.bind
and ~/.lyx/bind/my.bind, it's not working. When I press that key, a playing
card spade suit character is entered (see attached screen shot).
Fortunately, ctrl-d works properly.

  Below is the information I sent to Juergen early this morning with the
results of running 'lyx -dbg 4'. I hope you smart folks can figure out what
broke and provide a fix. I, of course, will test anything you send my way.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

---------- Forwarded message ----------
If you start lyx with -dbg key, what is the output if you hit the Del key?

  Upon starting with 'lyx -dbg 4' (with \bind "Delete" commented out in my
individual bind file), at the end of the output is:

KeyMap.cpp(227): KeyMap::read: error while reading bind
file:/home/rshepard/.lyx/bind/my.bind
GuiKeySymbol.cpp(634): Init key to 16777236, Right
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(634): Init key to 16777234, Left
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(634): Init key to 68, d
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(634): Init key to 16777223, Delete
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(641): isOK is 1
Error: New binding for 'Ctrl+D Del' is overriding old binding...
GuiKeySymbol.cpp(634): Init key to 16777223, Delete
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(641): isOK is 1
Menus.cpp(588): Menu warning: menu entries "Ordinary Quote|O" and
"Horizontal Space...|o" share the same shortcut.

  As soon as I press the [Del] key, this is displayed:

GuiWorkArea.cpp(863):  count: 1 text:  isAutoRepeat: 0 key: 16777223
GuiKeySymbol.cpp(620): Getting key 16777223, with text ''
GuiKeySymbol.cpp(626): Setting key to 16777223, LyXFunc.cpp(288): KeySym is Delete
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(649): isModifier is 0
LyXFunc.cpp(315): action first set to []
LyXFunc.cpp(323): action now set to []
LyXFunc.cpp(334):  Key [action=][Del]
LyXFunc.cpp(357): isText() is true, inserting.
LyXFunc.cpp(373): SelfInsert arg[']

... and the attached shows what is displayed (without the character to the
right of the point being deleted).

  Then, when I press the [Backspace] key:

GuiWorkArea.cpp(863):  count: 1 text: isAutoRepeat: 0 key: 16777219
GuiKeySymbol.cpp(620): Getting key 16777219, with text '
GuiKeySymbol.cpp(626): Setting key to 16777219, LyXFunc.cpp(288): KeySym is BackSpace
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(649): isModifier is 0
LyXFunc.cpp(315): action first set to [char-delete-backward]
LyXFunc.cpp(323): action now set to [char-delete-backward]
LyXFunc.cpp(334):  Key [action=char-delete-backward][Backspace]
GuiWorkArea.cpp(863):  count: 1 text:  isAutoRepeat: 0 key: 16777249
GuiKeySymbol.cpp(620): Getting key 16777249, with text ''
GuiKeySymbol.cpp(626): Setting key to 16777249, LyXFunc.cpp(288): KeySym is Control_L
GuiKeySymbol.cpp(641): isOK is 1
GuiKeySymbol.cpp(649): isModifier is 1
LyXFunc.cpp(298): isModifier true

... and I see that with the [Del] key in LyXFunc.cpp(315) and (323) no
action is being set. Strange. Frustrating. Had not happened this way in
every previous version.

Many thanks,

Rich

<<ATTACHMENT: screenshot.png>>

Reply via email to