Hi everyone!

One of LyX' IMHO most important keyboard-shortcuts has not been working
for some time now (I assume it has to do with the latest upgrade I
performed with my Debian Sarge):
Pressing "ALT-p, i" simply puts the two letters "pi" into the document,
instead of changing the current paragraph to be an Itemization ...

Comparing LyX' debug-output for keyboard activity from a machine where
everything works with the one where it doesn't (see below for the full
debug-logs), I think here is where the main problem lies/starts:

Malfunctioning:
  [...]
  action first set to [-1]
  action now set to [-1]
  Key [action=-1][M-p]

Properly working:
  [...]
  action first set to [1]
  action now set to [1]
  Key [action=1][M-p]


How can this be fixed (and what's actually going wrong here)?

Many thanks in advance!
:)

Cheers,
Markus A.


PS:

Here's a "lyx -dbg 4" output from the machine where it doesn't work:
-------------------------------------
Press key 4131 text "none", ascii "0"
Setting key to 4131,
KeySym is Alt_R
isOK is 1
isMod is 1
isModifier true
Press key 80 text "p", ascii "112"
Setting key to 80, p
KeySym is p
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 112
action first set to [-1]
action now set to [-1]
Key [action=-1][M-p]
isText for key 80 isPrint is 1
isText() is true, inserting.
Cannot decode: p
SelfInsert arg[`']
Press key 73 text "i", ascii "105"
Setting key to 73, i
KeySym is i
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 105
action first set to [88]
action now set to [88]
Key [action=88][i]
Cannot decode: i
SelfInsert arg[`']
-------------------------------------

Here's a similar output from a machine where ALT-p DOES work:
-------------------------------------
Press key 4131 text "none", ascii "0"
Setting key to 4131, 
KeySym is Alt_R
isOK is 1
isMod is 1
isModifier true
Press key 80 text "p", ascii "112"
Setting key to 80, p
KeySym is p
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 112
action first set to [1]
action now set to [1]
Key [action=1][M-p]
Press key 73 text "i", ascii "105"
Setting key to 73, i
KeySym is i
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 105
action first set to [88]
action now set to [299]
Key [action=299][M-p i]
-------------------------------------

-- 
The first time any man's freedom is trodden on, we're all damaged.
                       <Cpt. Picard, "The Drumhead", StarTrek TNG>

http://homex.subnet.at/~max/

Reply via email to