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

Windows QPA should emit WindowScreenChangedEvent when appropriate

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.4.0
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:

      Windows

    • Technical Risk:
      Normal
    • Commits:
      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

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