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

Turning on high resolution screen in screen extension mode causes window shift

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • GUI: High-DPI, QPA: X11/XCB
    • None
    • uos、debian10
    • Linux/X11

    Description

      As shown in the attachment, when I turn on the  screen with 1.25 scaling, I open the demo and then using xwininfo I can see that the window appears to be shifted on the X-axis, but I don't have that problem with the demo I wrote in pure X. (I'm using Qt::X11BypassWindowManagerHint in the demo to bypass the window manager.)

       

      Steps to Reproduction:

      1.Extending the two screens, the screens are then placed as in Figure 1 in the Annex

      2. Run demo1 

      3.Viewing Window Information with xwininfo

      Attachments

        1. 1.png
          1.png
          7 kB
        2. demo.png
          demo.png
          71 kB
        3. demo1.zip
          4 kB
        4. demo2.zip
          5 kB
        5. normal.png
          normal.png
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            tsl115 Shilin Tian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes