Bug 457583

Summary: Selecting search field on touch screen does not open virtual keyboard
Product: [Plasma] kwin Reporter: Plata <plata.hill>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dobey.pwns, nate, notify
Priority: NOR Keywords: wayland
Version: 5.25.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description Plata 2022-08-07 10:58:27 UTC
On a touch screen with virtual keyboard (maliit) configured, the virtual keyboard doesn't open when selecting the search field in the overview effect.

1. open overview
2. click search field

virtual keyboard does not open

virtual keyboard opens

Linux: Manjaro
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Comment 1 Nate Graham 2022-08-08 16:59:51 UTC
Are you using X11 or Wayland?
Comment 2 Plata 2022-08-08 17:06:00 UTC
Comment 3 Nate Graham 2022-08-08 17:06:56 UTC
Thanks, can reproduce.
Comment 4 Rodney Dawes 2022-08-10 19:57:50 UTC
Is this on a MS Surface device? Or some other device?
Comment 5 Nate Graham 2022-08-10 19:59:32 UTC
I can reproduce it on my Lenovo ThinkPad X1 Yoga while in touch mode. The virtual keyboard appears correctly for other text fields, so there's something wrong with the WindowHeap-based effects here.
Comment 6 Niklas Stephanblome 2022-09-02 14:54:49 UTC
To narrow down the issue: if you search for something (eg. using the physical keyboard) so that KRunner is shown (to open a new app) and then click on the search field, is the virtual keyboard shown?
Comment 7 Nate Graham 2022-09-02 15:03:14 UTC
That works for me.
Comment 8 Niklas Stephanblome 2022-09-02 16:13:29 UTC
In that case, the issue is that WindowHeap catches the "onTapped" key event of the searchfield resulting in it not being handled at all.