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

widgetAt / topLevelAt broken on MacOS (regression)

    XMLWordPrintable

Details

    • macOS
    • I7af70163a32528cb56f8d6caa037b98f580ee191

    Description

      Run the attached sample.
      Move the 1st window, to reveal the second window. Move this second window over window #1. Click in the middle of the top window (Window #2)... Q_ASSERT is triggered.

      This is actually a bug of topLevelAt (but since widgetAt relies on topLevelAt, this is broken as well).
      In other words, these functions are ignorant about the toppest window at the supplied position.

      This problem did not exist in Qt 4.8
      This problem does not exist under Windows

      This bug causes lots of trouble...

      Attachments

        1. main.cpp
          0.4 kB
        2. main2.cpp
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            jirauser26727 user-04d21 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes