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

Widgets position not sync with native window correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.14.0
    • Widgets: Layout
    • None
    • Tested on Windows 10 x64 and ArchLinux x64 with XFCE4 desktop.
    • Linux/X11, Windows

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes