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

Off-by-one rendering error using scrollbar and qtwebview

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.8
    • 6.7.3
    • WebView
    • None
    • Windows 10 64-bit
    • Windows

    Description

      When using a webview inside of a scrollbar area, I found a fairly repeatable error where the right hand side produces single-pixel-width black lines at particular window widths. This happens very often when resizing the window, but in particular circumstances is still happening when the window is static. In the attached image, the black line on the right should not be present, and generically isn't for most window widths.

      Attached is a roughly minimal example, which produces the error on startup. The text width of the label seems important for producing the effect reliably.

      Less reliably, in some circumstances the central webview widget is completely black. I have had this happen a couple of times while loading the attached example, but haven't figured out how to reproduce it.

      Attachments

        1. qt_render_error.png
          19 kB
          Robert Mastragostino
        2. render_tear_error-1.py
          1 kB
          Robert Mastragostino
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            robertm314 Robert Mastragostino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes