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. Cannot get keyboard to pop up on Win 8 tablet
Forum Updated to NodeBB v4.3 + New Features

Cannot get keyboard to pop up on Win 8 tablet

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 2.2k 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
    DerekSergeant
    wrote on last edited by
    #1

    We have a Qt5 application that works fine on Linux, Windows, and Mac. However, testing reveals that on a Windows 8 tablet (tested on a Dell, and on a Linx) the popup keyboard does not appear when an input field is tapped upon.

    Part of the application is full-screen, and this is unusable without the ability to type.

    The build for Windows can be obtained and installed from
    http://www.collinsdictionary.com/word-games/scrabble-tools

    How can I force the popup keyboard to popup when the tablet is tapped.

    (here is a snippet of the current C++ code)

    `
    inputWidget = new QWidget;
    Q_CHECK_PTR(inputWidget);
    widgetStack->addWidget(inputWidget);

    QVBoxLayout* inputVlay = new QVBoxLayout(inputWidget);
    inputVlay->setMargin(int(INPUT_MARGIN));
    inputVlay->setSpacing(int(INPUT_SPACING));

    inputArea = new WordTextEdit;
    inputArea->setContextMenuPolicy(Qt::NoContextMenu);
    connect(inputArea, SIGNAL(textChanged()), SLOT(textChanged()));
    inputVlay->addWidget(inputArea);
    `

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

      Hi and welcome

      @DerekSergeant said:

      popup keyboard

      Are we talking the MS OSK or the Qt virtual Keyboard?

      If MS OSK, then this is normal. In win 8, it only pops when in a "modern" app.
      Not in desktop mode.

      D 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi and welcome

        @DerekSergeant said:

        popup keyboard

        Are we talking the MS OSK or the Qt virtual Keyboard?

        If MS OSK, then this is normal. In win 8, it only pops when in a "modern" app.
        Not in desktop mode.

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

        @mrjj said:

        Hi and welcome

        @DerekSergeant said:

        popup keyboard
        Are we talking the MS OSK or the Qt virtual Keyboard?

        If MS OSK, then this is normal. In win 8, it only pops when in a "modern" app.
        Not in desktop mode.

        Hi, thanks for the welcome and the quick response.

        I am talking the other popup keyboard -
        not the MS OSK (activated by swiping in from the right hand side of the tablet, and searching OSK).
        The MS OSK is not suited to this application for two reasons (1. it is too compact and fiddly on a 7" tablet; 2. it provides predictive typing, but the application is to confirm the validity of Scrabble plays)

        The popup keyboard that I refer to is the one that pops up in desktop mode when I tap on google chrome URL bar (or tap on the icon of a keyboard in the taskbar). This keyboard has bigger keys, is much clearer - and does not have predictive typing.

        However, if it is possible to launch the Qt virtual keyboard (on tablets only) then that would certainly be an option. Where do I find the documentation on doing that programmatically?

        p.s. I will attempt to upload some pictures of the two types of keyboard to avoid confusion.

        D 1 Reply Last reply
        0
        • D DerekSergeant

          @mrjj said:

          Hi and welcome

          @DerekSergeant said:

          popup keyboard
          Are we talking the MS OSK or the Qt virtual Keyboard?

          If MS OSK, then this is normal. In win 8, it only pops when in a "modern" app.
          Not in desktop mode.

          Hi, thanks for the welcome and the quick response.

          I am talking the other popup keyboard -
          not the MS OSK (activated by swiping in from the right hand side of the tablet, and searching OSK).
          The MS OSK is not suited to this application for two reasons (1. it is too compact and fiddly on a 7" tablet; 2. it provides predictive typing, but the application is to confirm the validity of Scrabble plays)

          The popup keyboard that I refer to is the one that pops up in desktop mode when I tap on google chrome URL bar (or tap on the icon of a keyboard in the taskbar). This keyboard has bigger keys, is much clearer - and does not have predictive typing.

          However, if it is possible to launch the Qt virtual keyboard (on tablets only) then that would certainly be an option. Where do I find the documentation on doing that programmatically?

          p.s. I will attempt to upload some pictures of the two types of keyboard to avoid confusion.

          D Offline
          D Offline
          DerekSergeant
          wrote on last edited by
          #4

          @DerekSergeant

          • MS OSK - not suitable MS OSK

          • Popup keyboard that I need The Popup keyboard that I want

          Hopefully these images will show the difference (and if someone could tell me the correct name for the popup keyboard I can refine my description).

          mrjjM 1 Reply Last reply
          0
          • D DerekSergeant

            @DerekSergeant

            • MS OSK - not suitable MS OSK

            • Popup keyboard that I need The Popup keyboard that I want

            Hopefully these images will show the difference (and if someone could tell me the correct name for the popup keyboard I can refine my description).

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @DerekSergeant
            Hi
            I actually meant the Touch Keyboard ( for OSK). Did not realize that both are in win 8.
            So lets fast forget OSK.

            They changed how it works in win 8. The Touch keyboard will only pop for modern apps and not in desktop mode.

            Many way to fix it, please see
            http://www.datazx.cn/Forums/en-US/76c6be26-6aea-4cae-896d-d536fa6f6b03/action?threadDisplayName=win8-recommended-way-to-launch-touch-keyboard&forum=vcgeneral

            I do not know a Qt way.

            I ended up running taptip.exe to make it pop as the all other ways seems very complex.

            Qt virtual keyboard is not available for open source as far as i know.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Atoz List
              Banned
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • J Offline
                J Offline
                Jobapplication
                Banned
                wrote on last edited by
                #7
                This post is deleted!
                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