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

Windows: Crash in the isFullScreen_sys method.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.0 Beta
    • Component/s: QPA: Windows
    • Labels:
    • Environment:
      Windows 7, Window 8
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-48288
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              kleint Friedemann Kleint
              Reporter:
              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