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

Get winId from activeWindow/focusWindow will cause crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.3, 5.0.0 Beta 1
    • GUI: Window management
    • None
    • Win7 + Qt4.8.3/Qt5 beta 1

    Description

      On Qt4.8.3, I get QWidget from QApplication::activeWindow(), and get the WWND by widget->winId();

      On Qt5 beta 1, I get the QWindow from QGuiApplication::focusWindow(), and the HWND by window->winID();

      Both of method will cause crash, will run on Application.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            jackyang jack yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes