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

QWindow::screen might return wrong value on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.3.1
    • GUI: Window management
    • None
    • Windows 8.1 Enterprise

    Description

      On Windows when a window without a parent is created while the mouse cursor is on a different screen than the primary one, the window is shown on the screen, where the mouse cursor is (see QPlatformWindow::initialGeometry and effectiveScreen (const QPoint referencePoint =...)).
      The different screen is never set for the window though. So checking QWindow::screen will return the primary screen in this case.

      Attachments

        Issue Links

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

          Activity

            People

              owolff Oliver Wolff
              owolff Oliver Wolff
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes