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. Stopping Windows Tablet Soft Keyboard Popup
Qt 6.11 is out! See what's new in the release blog

Stopping Windows Tablet Soft Keyboard Popup

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 1.4k 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.
  • A Offline
    A Offline
    A1010TP
    wrote on last edited by
    #1

    Hi, I am currently having an issue on a windows tablet running qt 5.12.0. Whenever a lineedit is touched and selected within the application, we have a custom keyboard displayed. However, Windows will also popup the native soft system keyboard.

    I have looked through the forum and am unable to find anything concerning this topic. So far I have tried changing qApp->setAutoSipEnabled to false, filtered away all RequestSoftwareInputPanel events, yet the windows keyboard will still show.

    Looking for any suggestions to fixing this problem.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      HI and welcome to devnet,

      Can you update your Qt version ? The 5.12 series is at 5.12.3 currently.

      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
      1
      • A Offline
        A Offline
        A1010TP
        wrote on last edited by
        #3

        Thanks for the welcome!

        I have updated to version 5.12.3 and am still having the same issue. I have replicated the issue on a few different PC's now. The computer must be in Windows tablet mode and not have a keyboard. Seems to happen shortly after a MouseReleaseEvent on anything text related (QLineEdit, QTextbox, ect)

        I am fairly certain this was not an issue in the past, but not sure if it is a result of a Windows update or introduced in a new version of Qt.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then another you can do is check with an older version of Qt. They are available through the online installer so you can more easily check that.

          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
          1
          • A Offline
            A Offline
            A1010TP
            wrote on last edited by
            #5

            Ok, this problem does not seem to exist in qt 5.11.0 so it seems likely something was introduced in a later version that causes the problem.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              A1010TP
              wrote on last edited by
              #6

              Ok, so it seems as though the issue was introduced in Qt 5.11.2. Looking through the change logs I cannot find anything that looks specifically related to it. Unfortunately, we do need to use a specialized keyboard for this application and the soft keyboard gets in the way. Unless there is some workaround, will be forced to downgrade to 5.11.1 it seems...

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Thanks for the research. You should check the bug report system to see if this is something known. If not, please open a new report providing the information you found. A minimal compilable example going with it would be great.

                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
                1
                • A Offline
                  A Offline
                  A1010TP
                  wrote on last edited by
                  #8

                  Ok I have created a bug report which can be tracked here. Thanks for the assistance!

                  1 Reply Last reply
                  2

                  • Login

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