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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 4.8.4
    • 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
          Friedemann Kleint
        2. qtbug39579_qt5_log.txt
          5 kB
          Friedemann Kleint
        3. qtbug39579.zip
          4 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            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