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

Widgets position not sync with native window correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.0
    • Widgets: Layout
    • None
    • Tested on Windows 10 x64 and ArchLinux x64 with XFCE4 desktop.
    • 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
          7 kB
          Weitian Leung
        2. demo.zip
          2 kB
          Weitian Leung
        3. normal.png
          7 kB
          Weitian Leung
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            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