Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25747

Crash in QScreen::availableGeometry() / tool tips

    XMLWordPrintable

Details

    • macOS
    • 2c2a3a9bef9652a6de7213ca88a7c3de72f20e2b (qt-creator/qt-creator/4.15)

    Description

      This crash happened in QtCreator after disconnecting two 1080 displays and connecting 2 4k displays. The first time a tool tip was to be shown after that, it crashed. QtCreator was dragged to a 4k display.

       

      Also, I don't know if it is Qt or QtC's fault, the code completion popups had been appearing on the wrong monitor - disembodied popups on other displays than the QtC window.

       

      Thread 0 Crashed:: Dispatch queue: com.apple.main-threadThread 0 Crashed:: Dispatch queue: com.apple.main-thread0   org.qt-project.QtGui          0x00000001098b3d24 QScreen::availableGeometry() const + 41   libUtils.4.14.2.dylib          0x0000000109113dd7 Utils::ToolTip::placeTip(QPoint const&) + 392   libUtils.4.14.2.dylib          0x0000000109114316 Utils::ToolTip::setUp(QPoint const&, QWidget*, QRect const&) + 543   libUtils.4.14.2.dylib          0x0000000109113654 Utils::ToolTip::showInternal(QPoint const&, QVariant const&, int, QWidget*, QVariant const&, QRect const&) + 3564   libUtils.4.14.2.dylib          0x0000000109113b6c Utils::ToolTip::show(QPoint const&, QLayout*, QWidget*, QVariant const&, QRect const&) + 3325   libTextEditor.dylib            0x000000010e48cfd2 TextEditor::BaseHoverHandler::operateTooltip(TextEditor::TextEditorWidget*, QPoint const&) + 5946   libQmlJSEditor.dylib          0x0000000111980a18 0x111938000 + 2974967   libQmlJSEditor.dylib          0x000000011197dc7b QmlJSEditor::QmlJSHoverHandler::identifyMatch(TextEditor::TextEditorWidget*, int, std::__1::function<void (int)>) + 17718   libTextEditor.dylib            0x000000010e48c458 TextEditor::BaseHoverHandler::process(TextEditor::TextEditorWidget*, int, std::__1::function<void (int)>) + 2169   libTextEditor.dylib            0x000000010e48c2fb TextEditor::BaseHoverHandler::checkPriority(TextEditor::TextEditorWidget*, int, std::__1::function<void (int)>) + 15510  libTextEditor.dylib            0x000000010e5474f2 0x10e476000 + 85733011  libTextEditor.dylib            0x000000010e52c7ea 0x10e476000 + 74749812  libTextEditor.dylib            0x000000010e52c6ad 0x10e476000 + 74718113  libTextEditor.dylib            0x000000010e52ce3c TextEditor::TextEditorWidget::viewportEvent(QEvent*) + 50814  org.qt-project.QtCore          0x000000010a19bceb QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 15515  org.qt-project.QtWidgets      0x00000001092a99d5 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 24516  org.qt-project.QtWidgets      0x00000001092ab2b3 QApplication::notify(QObject*, QEvent*) + 168317  org.qt-project.QtCore          0x000000010a19ba34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 21218  org.qt-project.QtWidgets      0x00000001092a7fb3 QApplication::event(QEvent*) + 165119  org.qt-project.QtWidgets      0x00000001092a99ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 26620  org.qt-project.QtWidgets      0x00000001092aae11 QApplication::notify(QObject*, QEvent*) + 49721  org.qt-project.QtCore          0x000000010a19ba34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 21222  org.qt-project.QtCore          0x000000010a20135f QTimerInfoList::activateTimers() + 99123  libqcocoa.dylib                0x000000010c6a78f2 0x10c66f000 + 23166624  com.apple.CoreFoundation      0x00007fff32967d52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 1725  com.apple.CoreFoundation      0x00007fff32967cf1 __CFRunLoopDoSource0 + 10326  com.apple.CoreFoundation      0x00007fff32967b0b __CFRunLoopDoSources0 + 20927  com.apple.CoreFoundation      0x00007fff3296683a __CFRunLoopRun + 92728  com.apple.CoreFoundation      0x00007fff32965e3e CFRunLoopRunSpecific + 462

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              scorp1us Jason Hihn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes