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

Windows: Crash in the isFullScreen_sys method.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 Beta
    • 5.5.0
    • QPA: Windows
    • Windows 7, Window 8
    • 8b2719b04f1177b5af0f52fce98316505f9000b (qtbase/5.6, 23.9.2015, 5.6b)

    Description

      There is next method in the \qtbase\src\plugins\platforms\windows\qwindowswindow.cpp(1630):

      bool QWindowsWindow::isFullScreen_sys() const

      { return window()->isTopLevel() && geometry_sys() == QWindowsScaling::mapToNative(window()->screen()->geometry()); }

      This code crashes our application due to missing NULL pointer check. According to Qt5 documentation window()->screen() can be zero.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            lserge Serge Lysenko
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes