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

Windows QPA should emit WindowScreenChangedEvent when appropriate

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.0
    • None
    • GUI: Window management
    • None
    • Windows

    • e276fc11fa8f3fab062a4db65a3b5efe13b6ef55 (dev, 4.6.2014, 5.4), child handling: bcaf2f08d9189c6d677143cbb8455b2a7fe900b7 (dev, 19.6.2014, 5.4)

    Description

      Until now, only Cocoa has been doing this.

      QWindowSystemInterface::handleWindowScreenChanged()

      When you drag a window from one screen to another, you can see the screen properties change; try for example with qtdeclarative/examples/quick/window/ScreenInfo.qml. It's especially useful if the screens have different resolution, so maybe fonts, icons etc. need to be rendered with different quality. (so it was needed on Cocoa because an MBP with a retina display is often connected to a non-retina external monitor)

      https://codereview.qt-project.org/#change,77263 adds it for X11 and https://codereview.qt-project.org/#change,56574 for OSX. Hopefully all platforms will have it eventually.

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes