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

            Bug ID: 520566
           Summary: *** If you're not sure this is actually a bug or valid
                    feature request, instead post about it at
                    https://discuss.kde.org  If you're reporting a crash,
                    attach a backtrace with debug symbols; see
                    https://community.kde.org/Guidelines_and_HOWTOs/Debugg
                    ing/How
    Classification: Plasma
           Product: kwin
      Version First 6.6.90
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 192566
  --> https://bugs.kde.org/attachment.cgi?id=192566&action=edit
A video testing keyboard input shows that even when the Shift or Caps Lock keys
are pressed, the letters typed remain unchanged.

DESCRIPTION
When using fcitx5 under Plasma Wayland session, keyboard modifier keys
(Shift/Caps Lock) fail to work correctly in pure Wayland applications. Pressing
Shift + Letter or Caps Lock + Letter only outputs lowercase letters, and
pressing Shift + Number keys fails to output symbols.

STEPS TO REPRODUCE
1. Log into a KDE Plasma Wayland session.
2. Ensure Fcitx5 is set as the Virtual Keyboard in System Settings.
3. Launch Fcitx5 and open a native Wayland application (e.g., Konsole).
4. Switch to the Fcitx5 English keyboard layout (Keyboard - English).
5. Attempt to type uppercase letters using Shift or Caps Lock, or attempt to
type symbols using Shift + Number row keys.

OBSERVED RESULT
Modifiers seem to be ignored. 
- Typing `Shift + A` outputs `a`.
- Turning on Caps Lock and typing `A` outputs `a`.
- Typing `Shift + 1` outputs `1` instead of `!`.

EXPECTED RESULT
Modifier keys should work as expected, outputting uppercase letters and
symbols.

SOFTWARE/OS VERSIONS
Operating System: KDE neon (Testing/Unstable)
KDE Plasma Version: 6.6.90
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Architecture: Aarch64

ADDITIONAL INFORMATION
1. When switching to other input methods within fcitx5, such as Pinyin, typing
uppercase letters works, but typing symbols using `Shift + Number keys` still
fails.
2. Workaround observation: If I force-set `GTK_IM_MODULE=fcitx`,
`QT_IM_MODULE=fcitx`, and `XMODIFIERS=@im=fcitx` variables in
`/etc/environment`, the Shift/Caps Lock keys work perfectly fine in Wayland
apps. Although doing so would cause a visual bugs.

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

Reply via email to