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

QApplication::widgetAt() always returns nullptr

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.7.1, 6.7.2, 6.8.0 Beta1
    • GUI: Other
    • None

    Description

      This seems to be a regression, as the attached program works properly when built against Qt 5.15.14, but always displays "No widget" when built against Qt 6.7.1. Apparently, QApplication::widgetAt(QCursor::pos()) always returns nullptr with Qt 6.7.1.

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              jotik Jaak Ristioja
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes