Bug 437123

Summary: [Wayland] virtual keyboard is not triggered for Xwayland applications
Product: [Plasma] kwin Reporter: sac <milakam>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aleixpol, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.21.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sac 2021-05-14 23:14:50 UTC
SUMMARY
With a tablet it's not possible to use the virtual keyboard with GTK based applications like Firefox.

STEPS TO REPRODUCE
1. Open Firefox on a tablet or touch device
2. Try to enter a website address
3. 

OBSERVED RESULT
Virtual keyboard is not showing.

EXPECTED RESULT
Virtual keyboard is shown as for any other KDE application.
Comment 1 Aleix Pol 2021-05-24 02:01:57 UTC
Can you try running firefox with wayland (MOZ_ENABLE_WAYLAND=1)? If set it seems to work just fine.
Comment 2 sac 2021-05-24 09:43:02 UTC
Unfortunately, FF touch input on wayland seems to be generally broken on Kubuntu 20.10 currently. So also with MOZ_ENABLE_WAYLAND=1 keyboard wasn't triggered and other touch input was lagging or not working at all.

However, Opera is not triggering the keyboard, too. Is it working for you for any simple Xwayland application? Or do I have to test with Neon?
Comment 3 Aleix Pol 2021-05-24 23:03:09 UTC
For me it doesn't work on any Xwayland application. Also AFAIK, it cannot work unless Xwayland implemented the input protocols or we did it from KWin.

Also I'd recommend you to upgrade to a newer Kubuntu release as there are several issues already solved that you will be hitting.
Comment 4 Nate Graham 2021-05-25 17:06:33 UTC
Sounds like this is an upstream issue, then. Can you please file a bug report at https://gitlab.freedesktop.org/xorg/xserver/-/issues/? Thanks!
Comment 5 sac 2021-05-26 14:26:54 UTC
Thx, done ( https://gitlab.freedesktop.org/xorg/xserver/-/issues/1179 )