https://bugs.kde.org/show_bug.cgi?id=466053

            Bug ID: 466053
           Summary: Keyboard layout switch hotkeys work improperly and
                    inconsistently with more than two layouts
    Classification: Plasma
           Product: plasmashell
           Version: 5.24.4
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Keyboard Layout
          Assignee: plasma-b...@kde.org
          Reporter: lashk...@landau.ac.ru
                CC: butir...@gmail.com
  Target Milestone: 1.0

Created attachment 156476
  --> https://bugs.kde.org/attachment.cgi?id=156476&action=edit
My settings (in Russian, unfortunately).

I have four layouts (English (default), Russian, Hebrew and Yiddish) with a
layout loop of maximum 2 layouts. I assigned the keyboard combinations
(hotkeys) for each layout (Meta+1, Meta+2, Meta+3, Meta+4 correspondingly).
When I switch to Hebrew (Meta+3) or Yiddish (Meta+4) I cannot return to Russian
with Meta+2. Instead, Meta+3 works as turning to Russian and Meta+4 works as
turning to Hebrew from Yiddish. Meta+2 doesn't work at all. It seams that the
keys are associated to the order of languages in a cycle rather that with the
languages themselves. I tried to change hotkeys, but it helps nothing. In
previous versions (in OpenSUSE up to 15.3) everything worked properly.

My ~/.config/kxkbrc looks like:

[$Version]
update_info=kxkb.upd:remove-empty-lists,kxkb.upd:add-back-resetoptions,kxkb_variants.upd:split-variants

[Layout]
DisplayNames=,,,
LayoutList=us,ru,il,yi
LayoutLoopCount=2
Model=asus_laptop
Options=grp:rctrl_toggle,lv3:ralt_switch_multikey
ResetOldOptions=true
ShowFlag=true
ShowLabel=false
ShowLayoutIndicator=true
ShowSingle=false
SwitchMode=Window
Use=true
VariantList=intl-unicode,ru_local,lyx,israeli

STEPS TO REPRODUCE
1. Set several (n) languages in the keyboard layouts configuration.
2. Set layout loop to m<n
3. Assign a hotkey to every language.
4. Try to switch to any language number k>m with the corresponding hotkey.
5. Try to switch to any language number l<=m with the corresponding hotkey.

OBSERVED RESULT
Nothing happens or the language is switched randomly.

EXPECTED RESULT
The language is switched to the language l.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

I use slightly modified xkb rules and symbol settings to adjust my habits with
the Russian keyboard and to use the Yiddish keyboard. It has never caused any
problems.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to