<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Virtual Keyboard not showing on WebEngineView with Touchscreen only (no mouse) on XCB]]></title><description><![CDATA[<p dir="auto">Hi Qt community,</p>
<p dir="auto">I am running a Qt/QML application on Ubuntu using X server (xcb platform) with a USB touchscreen. My setup includes:</p>
<ul>
<li>
<p dir="auto">xserver.service launching a minimal X server</p>
</li>
<li>
<p dir="auto">myapp.service launching my Qt/QML app with Environment=QT_QPA_PLATFORM=xcb and os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard" in Python</p>
</li>
</ul>
<p dir="auto">QML includes a WebEngineView and an InputPanel</p>
<p dir="auto">The problem:</p>
<ul>
<li>
<p dir="auto">On app startup, touching a WebEngineView input field (e.g., YouTube search) does not trigger the virtual keyboard.</p>
</li>
<li>
<p dir="auto">If I connect a mouse, click anywhere, then remove the mouse, touchscreen input works and the virtual keyboard shows.</p>
</li>
</ul>
<p dir="auto">It seems that XCB waits for an initial mouse interaction to activate the virtual keyboard. I want a permanent solution so that touchscreen interaction alone always triggers the keyboard, without any mouse.</p>
<p dir="auto">Has anyone faced this issue or knows how to force the virtual keyboard to show on touch events in XCB without relying on a mouse click?</p>
<p dir="auto">Any suggestions or workarounds are highly appreciated.</p>
]]></description><link>https://forum.qt.io/topic/163225/virtual-keyboard-not-showing-on-webengineview-with-touchscreen-only-no-mouse-on-xcb</link><generator>RSS for Node</generator><lastBuildDate>Fri, 02 Oct 2026 08:07:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163225.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Sep 2025 10:19:05 GMT</pubDate><ttl>60</ttl></channel></rss>