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

QQuickWindow:setPosition not working correctly when crossing screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.2.1
    • None
    • Windows 10 Pro 20H2, Screen Setup: Main Display: 1920x1080, scaling 125%, Display 2: 1920x1080, scaling 100% (on the left of the main display)
    • Windows

    Description

      In my setup I have the main HD display scaled at 125% and the HD display on the left scaled at 100%.

      I have a QQuickWindow placed on the left screen and a timer that increases its x coordinate so that eventually the window will move to the main display.

      If I use the function QQuickWindow:setPosition, I see a vertical jump and the warning "Unable to set geometry...." when the window crosses the screen,

      If I set the position using the Window api SetWindowPos, everything works fine

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              lorenzolightsgdwarf Lorenzo Lucignano
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes