Bug 457583 - Selecting search field on touch screen does not open virtual keyboard
Summary: Selecting search field on touch screen does not open virtual keyboard
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: 5.25.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-08-07 10:58 UTC by Plata
Modified: 2022-09-02 16:13 UTC (History)
3 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 Plata 2022-08-07 10:58:27 UTC
SUMMARY
On a touch screen with virtual keyboard (maliit) configured, the virtual keyboard doesn't open when selecting the search field in the overview effect.


STEPS TO REPRODUCE
1. open overview
2. click search field

OBSERVED RESULT
virtual keyboard does not open

EXPECTED RESULT
virtual keyboard opens

SOFTWARE/OS VERSIONS
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
Wayland
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.