Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Windows virtual keyboard is not showing when touching QLineEdit
QtWS25 Last Chance

Windows virtual keyboard is not showing when touching QLineEdit

Scheduled Pinned Locked Moved Unsolved General and Desktop
touchshowinputpanelvirtualkeyboardqinputmethod
4 Posts 3 Posters 563 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.
  • D Offline
    D Offline
    Dadi
    wrote on last edited by
    #1

    Qt is supporting native virtual keyboard when touching QLineEdit widget using a touch screen.
    It works well when no native child windows were created (e.g. no call to QWidget::winId(), not using WA_NativeWindow etc) and the native virtual keyboard opens well.
    But if calling to winId on one of the child widgets which creates a native child-window, or setting the attribute Qt::AA_NativeWindows on startup - then the native keyboard is not showing.

    Any idea what is wrong? how this can be resolved?
    Tried to debug QWindowsInputContext::showInputPanel() and looks like it calls the correct Windows APIs as expected (ImmAssociateContextEx) but still the window is not showing.
    Thank you!

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You should create a bug report about this in the bug reporting system.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      D 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        You should create a bug report about this in the bug reporting system.

        D Offline
        D Offline
        Dadi
        wrote on last edited by
        #3

        @Christian-Ehrlicher
        Created https://bugreports.qt.io/browse/QTBUG-109742

        SGaistS 1 Reply Last reply
        1
        • D Dadi

          @Christian-Ehrlicher
          Created https://bugreports.qt.io/browse/QTBUG-109742

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Dadi can you provide a minimal compilable example to your bug report ? That will make the debugging of the situation easier.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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