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

            Bug ID: 519821
           Summary: Clearing the default "Switch to Next Keyboard Layout"
                    shortcut leads to inconsistent behavior in the Lock
                    Screen
    Classification: Frameworks and Libraries
           Product: frameworks-kglobalaccel
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY

If switching keyboard layouts is configured via the "Legacy Shortcuts" to "Both
Shifts together", clearing the default "Switch to Next Keyboard Layout"
shortcut leads to incorrect behavior, only observed in the Lock Screen. While
in the rest of the system it behaves correctly, in the Lock Screen pressing
just a single Shift (either one) changes the layout. This might make it
difficult to enter the password if it contains capital letters.

STEPS TO REPRODUCE
1. Go to System Settings -> Keyboard
2. Add at least two keyboard layouts
3. Clear the default shortcut for changing the layout
4. Click on "Configure Switching"
5. In "Legacy Shortcuts" section, configure "Change layout" to "Both Shifts
together"
6. Apply the changes and lock the screen 

OBSERVED RESULT

Pressing either Shift individually changes the keyboard layout.

EXPECTED RESULT

Only both Shifts together change the keyboard layout.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0

ADDITIONAL INFORMATION

Minimal kxkbrc to reproduce:

```
DisplayNames=,
LayoutList=us,ua
Options=grp:shifts_toggle
ResetOldOptions=true
Use=true
VariantList=,
```

Relevant kglobalshortcutsrc section (notice the first column being empty in
"Switch to Next Keyboard Layout"):

```
[KDE Keyboard Layout Switcher]
Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used
Keyboard Layout
Switch to Next Keyboard Layout=,Meta+Alt+K,Switch to Next Keyboard Layout
_k_friendly_name=Keyboard Layout Switcher
```

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

Reply via email to