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

Qt::WindowTransparentForInput may crash app

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.4
    • Fix Version/s: 5.9.6, 5.11.0
    • Component/s: QPA: Windows
    • Labels:
      None
    • Commits:
      1cb439dc948d6e610da49331184f0a660ef57b4e (qtbase/5.11, 20.3.2018,5.11), 2d214a201cb666e3cd91ee43f07aebd3a8b9367b (qtbase/5.9, 20.3.2018, 5.9.6)

      Description

      qtbase\src\plugins\platforms\windows\qwindowscontext.cpp line 1075, there are somthing wrong if window->parent() is null
      // code placeholder
          case QtWindows::LeaveEvent:
              {
                  QWindow *window = platformWindow->window();
                  while (window->flags() & Qt::WindowTransparentForInput)
                      window = window->parent();
                  if (!window)
                      return false;

       

        Attachments

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

          Activity

            People

            • Assignee:
              kleint Friedemann Kleint
              Reporter:
              dongwl Wenlong Dong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes