Comment 24 for bug 890438

Revision history for this message
In , Gannet (ken20001) wrote :

Thank you for fixing at least this default shortcut! But if we look at current situation it is still very messy:

1. alt_shift_toggle option ("Alt+Shift" in GUI) for sequential order with LAlt+LShift and RAlt+RShift.

2. alt_shift_toggle_bidir option probably for back order with LAlt+LShift and sequential order with RAlt+RShift (Do I understand it right?) and there no will be GUI-option for this (Do I understand it right too?).

3. If the user chooses "Ctrl+Alt" in GUI then LAlt+LCtrl switches keyboard layouts in back order.

4. If the user chooses just Ctrl+Shift in KXKB ("Ctrl+Shift" in GUI) then LCtrl+LShift switches keyboard layouts in back order and RCtrl+RShift switches keyboard layouts in sequential order.

5. If the user chooses "Left Ctrl + Left Shift" then LCtrl+LShift switches keyboard layouts in sequential order.

Just looking at this five items I can say there are few very strange conclusions:

1. For behavior "left shortcut switches layouts in back order, right shortcut switches layouts in sequential order" there is Ctrl+Shift shortcut, that present in GUI, and alt_shift_toggle_bidir option that doesn't will be present in GUI.

2. For behavior "left shortcut switches layouts in sequental order" there is "Left Ctrl + Left Shift" in GUI and now also "Alt+Shift". This two shortcuts have the same keyboard layouts switching behavior but works different: "Left Ctrl + Left Shift" only for LCtrl+LShift but "Alt+Shift" works both of LAlt+LShift and RAlt+RShift.

3. For behavior "left shortcut switches layouts in back order" there is "Ctrl+Alt" and "Ctrl+Shift" options in GUI and now also alt_shift_toggle_bidir for Alt+Shift that again doesn't present in GUI (it is not logically).

As you see the names of GUI options doesn't connected with behavior at all. There is no way to understand how keyboard layouts will switch just looking at the name of the option and, for example, there is still no way to get sequential keyboard layouts switching order for Ctrl+Alt. That is still the problem.

So maybe it is good idea to divide the selection of kayboard layouts and keyboard layout switching behavior/order? Just, for example, let users choose the keyboard shortcut (example: Ctrl+Alt, Shift+Alt, Ctrl+Shift; both of Left and Right or only Left or Right) and the behavior (only sequential/back order or different order for L/R shortcuts) separately in config and GUI?