Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-2050

QML DeviceInfo.inputMethodType reports SingleTouch and Keys for N9 which should have MultiTouch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 1.2.2
    • System Information
    • None
    • Nokia N9 PR1.2

      Running the code below in Nokia N9 should report that the device has MultiTouch, but with current PR1.2 and the libraries in it, it report the device to only have SingleTouch and Keys.

      ------

      import QtQuick 1.1
      import QtMobility.systeminfo 1.2

      Rectangle {

      DeviceInfo

      { id: device }

      Text

      { anchors.fill: parent text: "device.inputMethodType: " + device.inputMethodType + "\n" + "DeviceInfo.Mouse: " + DeviceInfo.Mouse + ", " + (device.inputMethodType & DeviceInfo.Mouse) + "\n" + "DeviceInfo.SingleTouch: " + DeviceInfo.SingleTouch + ", " + (device.inputMethodType & DeviceInfo.SingleTouch) + "\n" + "DeviceInfo.Keys: " + DeviceInfo.Keys + ", " + (device.inputMethodType & DeviceInfo.Keys) + "\n" + "DeviceInfo.Keypad: " + DeviceInfo.Keypad + ", " + (device.inputMethodType & DeviceInfo.Keypad) + "\n" + "DeviceInfo.Keyboard: " + DeviceInfo.Keyboard + ", " + (device.inputMethodType & DeviceInfo.Keyboard) + "\n" + "DeviceInfo.MultiTouch: " + DeviceInfo.MultiTouch + ", " + (device.inputMethodType & DeviceInfo.MultiTouch) + "\n"; }

      }

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            djcb Dirk-Jan C. Binnema
            paazmaya Juga Paazmaya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes