Post by Richard HeckPost by Jürgen SpitzmüllerPost by Jean-Marc LasgouttesHello,
The str-metrics branch has come to a point where I thing it should be in
master. I have two more commits at home (forgot to push) that are going
to solve the remaining cursor positioning problem that was haunting me.
I do not feel that it gets much testing now, and I am going to leave in
vacation on wednesday. Therefore in some sense it is now or never :)
Seriously, does anyone have some reservations against merging this work
to branch now?
Merge it.
I agree.
rh
Now that the merging is done, I see a different behaviour in entering number keys (the ones
at the main keyboard, not the numeric ones)
Entering the string "1234567890" gives me "+ÄŸÅ¡ÄťşÜáÃé".
(But it is OK on the normal console)
The GUI is slovak, and this output would be OK, if the were a slovak keyboard, which is not.
It does not depend, if I change the gui document language.
While having set lyx -dbg key,..:
Entering e.g. '9' leads to
...
frontends/qt4/GuiWorkArea.cpp (1075): count: 1 text: 9 isAutoRepeat: 0 key: 57 keyState:
frontends/qt4/GuiKeySymbol.cpp (623): Getting key 57, with text '9'
frontends/qt4/GuiKeySymbol.cpp (629): Setting key to 57, 9
frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1
frontends/qt4/GuiApplication.cpp (2019): KeySym is 9
frontends/qt4/GuiKeySymbol.cpp (644): isOK is 1
frontends/qt4/GuiKeySymbol.cpp (652): isModifier is 0
frontends/qt4/GuiApplication.cpp (2042): action first set to [self-insert]
frontends/qt4/GuiApplication.cpp (2050): action now set to [self-insert]
frontends/qt4/GuiApplication.cpp (2061): Key [action=self-insert][9]
frontends/qt4/GuiApplication.cpp (1494): cmd: action: 84 [self-insert] arg: '9' x: 0 y: 0
BufferView.cpp (1219): BufferView::dispatch: cmd: action: 84 [self-insert] arg: '9' x: 0 y: 0
insets/InsetText.cpp (267): InsetText::doDispatch(): cmd: action: 84 [self-insert] arg: '9' x: 0 y: 0
Text3.cpp (454): Text::dispatch: cmd: action: 84 [self-insert] arg: '9' x: 0 y: 0
BufferView.cpp (2590):
y1: 0 y2: 480 pit: 0 singlepar: 1
...
Paragraph.cpp (4030): misspelled word: "ÄŸÅ¡ÄťşÜáÃ" [1..9]
...
frontends/qt4/LayoutBox.cpp (558): Already had Plain Layout selected.
frontends/qt4/GuiApplication.cpp (1283): dispatch msg is
frontends/qt4/GuiApplication.cpp (2102): SelfInsert arg[`9']
Kornel