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
Forum Updated to NodeBB v4.3 + New Features

Windows virtual keyboard is not showing when touching QLineEdit

Scheduled Pinned Locked Moved Unsolved General and Desktop
touchshowinputpanelvirtualkeyboardqinputmethod
4 Posts 3 Posters 575 Views 2 Watching
  • 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 1 Jan 2023, 17:32 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
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 1 Jan 2023, 17:45 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 2 Jan 2023, 09:54
      1
      • C Christian Ehrlicher
        1 Jan 2023, 17:45

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

        D Offline
        D Offline
        Dadi
        wrote on 2 Jan 2023, 09:54 last edited by
        #3

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

        S 1 Reply Last reply 2 Jan 2023, 19:10
        1
        • D Dadi
          2 Jan 2023, 09:54

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

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 2 Jan 2023, 19:10 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

          3/4

          2 Jan 2023, 09:54

          • Login

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