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

            Bug ID: 438496
           Summary: Keyboard layout switching shortcut stops working after
                    a period of inactivity
           Product: systemsettings
           Version: 5.22.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_keyboard
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY

After upgrading to KDE 5.22 (KDE Neon), I noticed that the keyboard layout
switching shortcut stops working
a period of inactivity.

Initially, I thought that's it's related to suspend/resume cycle, but I can't
reproduce it I trigger suspend/resume a few times in a row.

However, if I leave the machine in suspended state for a while, then problems
occurs in 100% of the cases.

I also think that it occurs even if machine keeps running, but I just leave it
for a while.

I can still switch the layout by clicking on the keyboard layout widget in the
panel.

I also noticed that if I go to Settings and change the shortcut key (even if I
use the same shortcut, the important thing is to click Apply), then it starts
working again as normal.

Normally, I use Right Control key as the shortcut. I also tried adding other
combinations (Shift + Shift), they also stop working as described above.


STEPS TO REPRODUCE
1. Assign a shortcut to switch keyboard layout
2. Suspend the machine and leave it for a while (suspending may not be
necessary)

OBSERVED RESULT

1. The assigned shortcut stops working


EXPECTED RESULT

1. The assigned shortcut works correctly and switches keyboard layout


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

I captured the keyboard input with `xev` with for both states (the normal state
and the faulty state):

Normal state:

KeyRelease event, serial 40, synthetic NO, window 0x9800001,
    root 0x6c4, subw 0x0, time 36824002, (118,67), root:(291,153),
    state 0x2000, keycode 105 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


Faulty state:

KeyRelease event, serial 40, synthetic NO, window 0x8a00001,
    root 0x6c4, subw 0x0, time 36651384, (96,53), root:(269,139),
    state 0x4, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

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

Reply via email to