Bug 494668 - Maliit-keyboard does not respect the shift key in Plasma Mobile 6.2 Wayland
Summary: Maliit-keyboard does not respect the shift key in Plasma Mobile 6.2 Wayland
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-13 14:35 UTC by compilebunny
Modified: 2024-11-22 00:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description compilebunny 2024-10-13 14:35:51 UTC
SUMMARY

The maliit screen keyboard does not accept the shift key. The shift key is highlighted when pressed, but the character produced is lowercase rather than uppercase. This has been reported previously as a bug in maliit-keyboard, but investigation into previously used solutions suggests that it is a config-related issue in plasma.

Maliit bug report: https://github.com/maliit/keyboard/issues/198

In previous versions of plasma mobile, this could be resolved by adding the following text to /etc/xdg/kwinrc.

````
[Wayland]
InputMethod[$e]=/usr/share/applications/com.github.maliit.keyboard.desktop
VirtualKeyboardEnabled=true
````

Plasma mobile 6.2 does not use /etc/xdg/kwinrc, but does have ~/.config/kwinrc for each user. Adding the referenced text to this file does not resolve the problem. Actually, the system adds the referenced line without "[$e]" ahead of the line with "[$e]" when this strategy is attempted.

Software versions:

Plasma 6.2.0
KDE Frameworks 6.6.0
QT 6.7.2
Platform Wayland

STEPS TO REPRODUCE
1. Open screen keyboard, press shift and then press "a"

OBSERVED RESULT

The character "a" is printed.

EXPECTED RESULT

The character "A" is expected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 24.40
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0 
Qt Version: 6.7.2
maliit-keyboard: 2.3.1+p24.04+vrelease+git20241008.0536-0


ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2024-11-22 00:01:20 UTC
I have just tested this on my phone with postmarketOS Edge updated just now and I can't replicate the issue. It's on Plasma 6.2.3, frameworks and Qt 6.8.0 with maliit-keyboard-2.3.1-r1
Comment 2 Justin Zobel 2024-11-22 00:04:19 UTC
(In reply to Justin Zobel from comment #1)
> I have just tested this on my phone with postmarketOS Edge updated just now
> and I can't replicate the issue. It's on Plasma 6.2.3, frameworks and Qt
> 6.8.0 with maliit-keyboard-2.3.1-r1

For reference my ~/.config/kwinrc on my phone:
[Desktops]
Id_1=4dd82588-68d8-437b-a358-dbbe99d7baa8
Number=1
Rows=1

[Input]
TabletMode=auto

[NightColor]
Active=true
Mode=Times

[Plugins]
blurEnabled=false
convergentwindowsEnabled=true
mobiletaskswitcherEnabled=true

[Tiling]
padding=4

[Tiling][fc62fab3-6527-58b5-bbed-da06ca486391]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}

[Wayland]
InputMethod=/usr/share/applications/com.github.maliit.keyboard.desktop
VirtualKeyboardEnabled=true

[Windows]
Placement=Maximizing

[Xwayland]
Scale=3

[org.kde.kdecoration2]
ButtonsOnRight=H
NoPlugin=false