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

Widgets position not sync with native window correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Component/s: Widgets: Layout
    • Labels:
      None
    • Environment:
      Tested on Windows 10 x64 and ArchLinux x64 with XFCE4 desktop.
    • Platform/s:
      Linux/X11, Windows

      Description

      Set Qt::AA_DontCreateNativeWidgetSiblings to true and make some widgets to native window, when the window size changed ( showMaximized/showNormal e.g.), the native window not redraw correctly. But when resize by draging the window edge, the problem gone.

       

      On Linux, the problem exists on first shown.

       

      Build the demo from attachment with lastest Qt, run and maximized you will see the bug.

      It seems that the widget position not sync correctly with it's native window cause the problem.

        Attachments

        1. buggy.png
          buggy.png
          7 kB
        2. demo.zip
          2 kB
        3. 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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            timxx Weitian Leung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes