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

EXCEPTION in dispatchHoverEvent on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.2
    • 5.2.0, 5.2.1, 5.3.0
    • None
    • All Android devices >= 4.1.0 (?)
    • Android
    • 50cf698b76bd140a4ada4058f9abbee837289a75

    Description

      I get Exceptions in the log output whenever I touch the screen at any position.

      W/Qt A11y (10924): EXCEPTION in dispatchHoverEvent for Accessibility: java.lang.reflect.InvocationTargetException
      W/dalvikvm(10924): Stack overflow on call to interp (req=76 top=0x40257000 cur=0x40251328 size=24576 Ljava/lang/reflect/Method;.<init>)

      I wrote some Widget based applications, all of them are affected and it happens on all real and virtual Android devices. Smallest program to reproduce:

      #include <QApplication>
      #include <QWidget>

      int main(int argc, char *argv[])
      {
      QApplication app(argc, argv);
      QWidget* widget=new QWidget();
      widget->show();
      return app.exec();
      }

      The content of the project file is:

      QT += core gui
      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      TARGET = test
      TEMPLATE = app
      SOURCES += main.cpp
      CONFIG += mobility

      I compiled with Qt 5.2.1 on Ubuntu Linux 14.04 using Android SDK 19 and NDK r9d.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-38905
          # Subject Branch Project Status CR V

          Activity

            People

              frederik Frederik Gladhorn
              s.frings74 Stefan Frings
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes