Cannot get keyboard to pop up on Win 8 tablet
-
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-toolsHow 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);
` -
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. -
@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.
-
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).
-
@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=vcgeneralI 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.
-
This post is deleted!