It seems that LibreOffice checks only XKB group index 1 when matching key events for accelerators and mnemonics. This means that a user typing, say Hebrew, with the following configuration:
$ setxkbmap "il,us"
won't be able to trigger accelerators (like Ctrl+C) or mnemonics (like Alt+F).
This is problematic especially under Gnome >= 3.6 because we've changed the way that layouts are configured. While previously users would be able to work around this bug by having the "us" layout before the "il" layout, now that's not possible because Gnome doesn't rely on the XKB group index anymore and always configures the layout which the user intends to type with on XKB group index 1 and then adds "us" to another index implicitly so that this issue wouldn't happen on GTK+ (which does check all group indexes as I suggest and thus works correctly).
Just to make sure this is clear:
This bug renders LibreOffice unusable in all non-latin gnome 3.6 environments,
I couldn't reproduce to problem with Gnome 3.4.2 and LibreOffice 3.6.2.
1. Open a new document and type some Hebrew
2. while still being on Hebrew keyboard layout, hit CTRL+C
3. while still being on Hebrew keyboard layout, hit CTRL+V
The result is that the text is pasted.
we need reproducible steps here, also a response to Lior's comment would be helpful.
Marking as NEEDINFO - once steps are provided + Lior's comment is addressed mark as UNCONFIRMED and we will look into it.
Thanks for helping us make LibreOffice better for everyone :-D
The current situation is not as grim as depicted in the first post, but it is still a buggy one.
Using Gnome 3.8 from GNOME# Team PPA, I can trigger a buggy behaviour like this:
1. In the Gnome Region and Language preferences set two layouts: Hebrew (lyx) and English (US). Make sure that Hebrew is listed ABOVE English.
2. Set the current layout to Hebrew.
3. Open a LibreOffice document and try to copy and paste text using accelerators (Ctrl+C, Ctrl+V).
4. The result: Nothing will happen.
As a workaround, make sure that Hebrew is listed BELOW English in the Gnome preferences.
The situation with mnemonics is different, and it may be worthy of openning two new bugs. Using the Hebrew UI of Libreoffice 220.127.116.11, most of the menues and commands have no mnemonics at all (bug #1), and the ones that do have them work only when the current layout is set to Hebrew (bug #2).
*** This bug has been marked as a duplicate of bug 41169 ***