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

on Android, touching results in two "mousePressEvent"s in QGraphicsScene

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.2.1
    • QPA
    • None
    • Andoid 5.2.1 on Sony Xperia Z1
    • Android

    Description

      Touching in a QGraphicsView results in two "mousePressEvent"s being delivered to the corresponding QGraphicsScene on Android.

      Attached is a very simple project which demonstrates the issue. Every time the screen is touched, QGraphicsScene::mousePressEvent() is called two times.

      This is a serious problem if you want to use QGraphics(View|Scene) to render custom controls which should trigger some kind of action when pressed.

      Attachments

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

        Activity

          People

            rampe Rami Potinkara
            andreasbuhr Andreas Buhr
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes