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

QTDockWidget with RanorexSpy causes an Assert to be hit.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.1
    • None
    • f86ffab4023dbba092c7abdf00242f17428d86f5

    Description

      In QAccessibleTitleBar::parent() you are creating a new QDockWidgetAccessible. This causes an assert to be hit if you use any spy program with a dockwidget I was able to repro this with your own examples that use QDockWidget.

      The fix seems to be to change the code to the following:
      QAccessibleInterface *QAccessibleTitleBar::parent() const
      {
      return QAccessible::queryAccessibleInterface(dockWidget());
      }

      Attachments

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

        Activity

          People

            smd Jan Arve
            glavian Keith Patella
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes