Bug 458998

Summary: Wayland - Virtual keyboard does not appear when activated unless touching **and** changing focus
Product: [Plasma] kwin Reporter: Benjamin Hennion <benjamin.hennion>
Component: virtual-keyboardAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: benjamin.hennion, nate
Priority: NOR Keywords: usability, wayland-only
Version First Reported In: 5.25.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Benjamin Hennion 2022-09-11 13:48:45 UTC
SUMMARY

On Wayland, when the virtual keyboard is activated (through the tray's keyboard icon), and a text field was already selected, the keyboard is not shown.
The keyboard still does not appear when touching the already selected text field, or any other text field in the same window.

The virtual keyboard only appears when selecting a text field in another window (or touching outside the window to make it lose focus, and touching back in the text field).

STEPS TO REPRODUCE
1. Deactivate the virtual keyboard.
2. Open Kate. Split the window vertically (to get two text fields). Touch in a text field to start edition.
3. Activate the virtual keyboard by touching the tray icon.
4. The keyboard does not show up.
5. Touch either of Kate's text fields.
6. The keyboard still does not show up.
7. Touch outside Kate's window, and back in: the keyboard appears.