qt6-bb10/examples/widgets/widgets/tablet
Andre de la Rocha e0a6409ba7 Rename the tablet example to avoid triggering a bug in tablet drivers
It seems there is a subtle bug in the Wacom tablet drivers for Windows that is
triggered in the very particular case where the running executable is named
"tablet.exe", regardless of its installation path. It causes WM_POINTER*
messages not to be delivered to the application, initially, but only after the
application's window is reselected, after another application's window had
been selected. It happens at least on Windows 10 systems with Wacom Bamboo
tablets and drivers, and was reproduced with non-Qt-based applications also.
It looks like a bad compatibility setting that makes "tablet" a cursed target
name for applications using tablet functionality. It seems older versions of
the drivers used to contain an executable with this name, although it seems to
be absent in newer versions. Unfortunately, the Qt tablet example uses this
name, which breaks it when used with upcoming WM_POINTER* messages support.

Change-Id: I931cc725b9117b4604267f7b0172110ae61700de
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2018-05-09 15:34:18 +00:00
..
images Tablet example: update the cursor according to the tool 2015-07-31 04:33:27 +00:00
images.qrc Tablet example: update the cursor according to the tool 2015-07-31 04:33:27 +00:00
main.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
mainwindow.cpp Merge remote-tracking branch 'origin/5.10' into dev 2017-11-30 09:16:58 +01:00
mainwindow.h Demonstrate the new AA_CompressTabletEvents in the tablet example 2017-11-24 11:50:01 +00:00
tablet.pro Rename the tablet example to avoid triggering a bug in tablet drivers 2018-05-09 15:34:18 +00:00
tabletapplication.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
tabletapplication.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
tabletcanvas.cpp Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
tabletcanvas.h Tablet example: update only the drawn areas of the canvas 2017-09-15 12:13:51 +00:00