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

[Not always reproducible]Resizing QWebEngineView mistakenly offsets the entire widget

    XMLWordPrintable

Details

    Description

      First thing first, I cannot reproduce the issue. Customer also says that he tried on multiple devices and there are both reproducible and irreproducible cases. So, one may or may not be able to reproduce the problem.

      The problem seems to be related to resizing QWebEngineView. One can try Qt 6.5.4 simple browser or nano browser example on Windows. It is said that the entire widget (tab bar + tool bar + entire web page) is shifted toward top-left corner (see the attached screenshot). The offset keeps appearing and disappearing during resizing and stays as is after resizing. Dragging top-level window around then offset is gone.

      It is not like the "rendering delay" during resizing, i.e. the lower-right corner is not rendered immediately as resizing is happening. The "delay" does not offset anything - it is just a blank area. And it does not stay after resizing. This sort of "delay" is somewhat expected due to hardware specs. But the "offset" is something different.

      Attachments

        1. Problematic.txt
          12 kB
        2. Problem-free.txt
          13 kB
        3. WebEngineView_Offset_Issue.png
          WebEngineView_Offset_Issue.png
          62 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes