Dov Feldstern wrote:
GoogleGuy wrote:
Hi All,
I just compiled LyX 1.5.0rc2 from source, and ran into a keyboard map
problem.
(I'm using primary and secondary keyboard maps extensively, rather than
XKB, because this way LyX shortcuts work no matter the layout, and
this, I think, is one of LyX's biggest strengths.)
The problem: With LyX 1.5.0rc2, whenever I try to hit Alt-K 2 to
switch to the secondary map, LyX resets the layout to the first
keyboard map as soon as I type the first character.
I launched LyX with debug enabled to confirm this (lyx -dbg kbmap), and
here's what I got...
After Alt-K 2 is hit:
# Enabling secondary keymap
As soon as I try to type:
# Enabling primary keymap
And the keyboard map is indeed reset to primary.
Can anyone confirm this? If no, any suggestions about why this
problem could occur?
If this is a reproducible problem, can this be fixed in LyX 1.5?
Thanks for all your hard work on LyX.
Andrei
Hi Andrei!
First of all, I'm with you --- I also like the keymap feature a lot, I
think it's great!
I fixed a bug regarding the keymap a couple of weeks ago
(http://bugzilla.lyx.org/show_bug.cgi?id=3811), your problem probably
has to do with that...
Could you explain exactly what your setup is? What are the two keymaps
that you're using? Are they both for the same language, or for different
languages? I gather that neither one is for an RTL language?
Dov
The truth is, I don;t think that your problem is really due to my fix, I
think it may be related to the fact that we turned RTL on by default...
Try turning off RTL support (Tools -> Preferences... -> Language
settings -> Language -> "Right-to-left language support"), I think that
should solve your problem. Please let us know either way!
But we have a bigger problem here, really... The keymap is being used in
two different ways --- one which is language-based, and another which is
not. And the two ways conflict...
Any ideas on what to do about this?
Dov