Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39579

Qt Tablet Support doesn't work in multimonitor setup on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 4.8.4
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows

      Description

      Setup: 2 monitors in "extend" mode, 1 Wacom tablet mapped to one of the monitor in the driver.

      Expected: the events of the tablet are mapped to one of the monitors

      Actual: mouse events are coming in correct positions, tablet events are coming in wrong positions, as if they are mapped to two monitors at the same time.

      The problem is that Qt uses default wintab context instead of the current one (that is it uses ptrWTInfo(WTI_DEFCONTEXT, 0, &lcMine), instead of correct ptrWTGet(hTab, &lc)). The latter must be used.

      Here is the diff we used to fix the problem locally:
      http://paste.kde.org/pysrdjznw

      I didn't check whether the code is correct in Qt5 or not.

        Attachments

        1. qtbug39579_4.diff
          2 kB
        2. qtbug39579_qt5_log.txt
          5 kB
        3. qtbug39579.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            srutledg Shawn Rutledge
            Reporter:
            dkazakov Dmitry Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes