Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Virtual Keyboard not showing on WebEngineView with Touchscreen only (no mouse) on XCB
Forum Updated to NodeBB v4.3 + New Features

Virtual Keyboard not showing on WebEngineView with Touchscreen only (no mouse) on XCB

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 118 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    abdulla thahir
    wrote last edited by
    #1

    Hi Qt community,

    I am running a Qt/QML application on Ubuntu using X server (xcb platform) with a USB touchscreen. My setup includes:

    • xserver.service launching a minimal X server

    • myapp.service launching my Qt/QML app with Environment=QT_QPA_PLATFORM=xcb and os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard" in Python

    QML includes a WebEngineView and an InputPanel

    The problem:

    • On app startup, touching a WebEngineView input field (e.g., YouTube search) does not trigger the virtual keyboard.

    • If I connect a mouse, click anywhere, then remove the mouse, touchscreen input works and the virtual keyboard shows.

    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.

    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?

    Any suggestions or workarounds are highly appreciated.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved