Jürgen Spitzmüller <spitz <at> lyx.org> writes:
>
>
> 2015-06-08 23:13 GMT+02:00 Kevin Spi <spirilyxformgmane <at>
spiri.be>:Dear all,
> There appears to be a bug in the latest Lyx version, 2.1.3, when using an
> Azerty keyboard. Usually when I wish to add square brackets in an equation,
> I use the shortcut Alt+M, followed by AltGr+[. The reason I use AltGr is
> that on Azerty keyboards this is necessary.
> I had the problem on one laptop, where I used Lyx 2.1.3. When on another
> laptop I upgraded from Lyx 2.1.0 to 2.1.3, the problem appeared also there.
> So the bug must have appeared between those versions.
> Note that inserting curly brackets, using Alt+M AltGr+{, works just fine. So
> the problem is not the AltGr. I only notice the problem with the square
bracket.
> I use Lyx 2.1.3 on Windows 8.1 on two Dell Latitude laptops, with exactly
> the same problem.
> Do any of you have an idea how I can solve this? Or should I wait for a next
> version?
>
>
> This is most probablyhttp://www.lyx.org/trac/ticket/9057
>
> This will be fixed in LyX 2.2. You can easily fix this for yourself by
replacing in the file cua.bind these bindings\bind "C-M-~S-1"
"bookmark-save 1" \bind "C-M-~S-2" "bookmark-save 2" \bind
"C-M-~S-3" "bookmark-save 3" \bind "C-M-~S-4"
"bookmark-save 4" \bind "C-M-~S-5" "bookmark-save 5" \bind
"C-M-~S-6" "bookmark-save 6" \bind "C-M-~S-7"
"bookmark-save 7" \bind "C-M-~S-8" "bookmark-save 8" \bind
"C-M-~S-9" "bookmark-save 9"
>
> by these:\bind "S-F1" "bookmark-save 1" \bind
"S-F2" "bookmark-save 2" \bind "S-F3"
"bookmark-save 3" \bind "S-F4" "bookmark-save 4" \bind
"S-F5" "bookmark-save 5" \bind "S-F6"
"bookmark-save 6" \bind "S-F7" "bookmark-save 7" \bind
"S-F8" "bookmark-save 8" \bind "S-F9"
"bookmark-save 9"
>
> Alternatively, you could also alter the bindings in the preferences dialogs.
I was able to correct this by resetting the key binding in the preferences
dialog. Thank you!