Bug 413780 - Keyboard shortcuts do not work with Russian layout
Summary: Keyboard shortcuts do not work with Russian layout
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.16.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-03 18:28 UTC by Alexander Potashev
Modified: 2020-05-16 16:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
vlad.zahorodnii: Wayland+
vlad.zahorodnii: X11-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2019-11-03 18:28:52 UTC
SUMMARY
[Wayland] Keyboard shortcuts do not work with Russian layout.

STEPS TO REPRODUCE
1. Run Plasma X11 session.
2. Configure two keyboard layouts: English (US) and Russian.
3. Configure a keyboard shortcut for switching between the two keyboard layouts. I choose the "Menu" key for this.
4. Logout from Plasma X11 session.
5. Run Plasma Wayland session.
6. Run Konsole.
7. Switch to Russian keyboard layout.
8. Press Ctrl+C.

OBSERVED RESULT
Russian letter "с" (CYRILLIC SMALL LETTER ES) is entered in Konsole.

EXPECTED RESULT
The shell running in Konsole should say "^C" and restart its prompt on the next line.

SOFTWARE/OS VERSIONS
Operating System: Fedora 31
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.5
Kernel Version: 5.3.7-301.fc31.x86_64
OS Type: 64-bit
Processors: 2 × Intel® Celeron® CPU B800 @ 1.50GHz
Memory: 3,8 ГиБ

ADDITIONAL INFORMATION
1. The list of keyboard layouts in SystemSettings under Wayland is empty.
2. Switching keyboard layouts from tray icon does not work, that is why I use a keyboard shortcut ("Menu" key).
Comment 1 Andrey 2020-05-07 16:12:37 UTC
Hi Alexander, could you clarify if step 1. Run Plasma X11 session is critical here?
Can't reproduce it on pure Wayland session.
Comment 2 Andrey 2020-05-07 16:16:46 UTC
Looks OK for me:
```
⬢[bam@toolbox bam]$ sdfads^C
⬢[bam@toolbox bam]$ фывафыва^C
```
Didn't try with X11 session yet.
Comment 3 Andrey 2020-05-07 18:38:24 UTC
Please retry on the recent KWin and re-open if the problem persists
Comment 4 Alexander Potashev 2020-05-09 20:01:21 UTC
(In reply to Andrey from comment #1)
> Hi Alexander, could you clarify if step 1. Run Plasma X11 session is
> critical here?
> Can't reproduce it on pure Wayland session.

I probably added these initial steps because it wasn't clear for me how to set up keyboard layouts in a Wayland session.
Comment 5 Alexander Potashev 2020-05-09 20:05:23 UTC
(In reply to Andrey from comment #3)
> Please retry on the recent KWin and re-open if the problem persists

In which version of KWin do you believe the problem may be fixed?
Comment 6 Andrey 2020-05-09 23:33:59 UTC
Alexander, I have no idea honestly.
Probably the easiest way to try recent version is to run ISO on virtual machine:
https://neon.kde.org/download
Comment 7 Alexander Potashev 2020-05-10 22:55:18 UTC
(In reply to Andrey from comment #1)
> Hi Alexander, could you clarify if step 1. Run Plasma X11 session is
> critical here?
> Can't reproduce it on pure Wayland session.

In this comment you said you could not reproduce. Which version of KWin and Plasma did you use when trying to reproduce?
Comment 8 Andrey 2020-05-10 23:06:48 UTC
(In reply to Alexander Potashev from comment #7)
> Which version of KWin and
> Plasma did you use when trying to reproduce?
Version 5.18.4.1 of KWin/Plasma
Comment 9 Alexander Potashev 2020-05-16 15:54:41 UTC
- Not reproducible on Fedora 31 with Plasma 5.17.5.
- Not reproducible on Archlinux (in VirtualBox) with Plasma 5.18.4.
Comment 10 Andrey 2020-05-16 16:02:29 UTC
Thanks Alexander.
If you find any further input-related bugs, I would be gratitude if you add me to the copy