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

Qt::WindowTransparentForInput may crash app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.6, 5.11.0
    • 5.9.4
    • QPA: Windows
    • None
    • 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

            kleint Friedemann Kleint
            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