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

Signal QDesktopWidget::workAreaResized ( int screen ) does not notify about disconnecting hdmi cable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.2.0
    • None

    Description

      Qt 5.2.0; OS Windows 8; x86 architecture.

      Test case:
      Reproducibility: 100%
      It's necessary to have PC with two monitors to reproduce this problem; one of them should be connected to PC by HDMI;

      Steps to reproduce:
      1) Build and run testcase from attachment; (both monitors will show red screen)
      2) Disconnect HDMI cable from PC
      Result: slot Test::onWorkAreaResized, which is connected to signal QDesktopWidget::workAreaResized, will not invoked

      Attachments

        1. main.cpp
          0.2 kB
          Anton
        2. main.qml
          0.1 kB
          Anton
        3. Test.h
          0.9 kB
          Anton
        4. test.pro
          0.3 kB
          Anton

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              nafanya Anton
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes