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

QScrollArea renders incorrectly when grabGesture is set to TouchGesture

    XMLWordPrintable

Details

    • Android
    • 2025wk16s1QtforAndroid

    Description

      As mentioned here under certain conditions a QScroller configured to use touch gestures or lmb gestures on android will exhibit substantial rendering bugs. Ghosting/tearing, and upon release some sections of the screen don't redraw. I don't preclude user error, but considering it's a rendering issue it feels plausible it's a bug so I'm raising this here.

      I've included the sample and image that the other user posted, as well as an example of the issue in my application. Note that in this second image, the one where it appears the view has been dragged down, this is after it has been released. It is not rerendering the top half correctly. I can prepare an additional code sample if the one provided by the original poster is incorrect, however the application I'm working on is fairly large so I am reusing theirs out of conveniece

      As always, I apologize if this is not the correct place to raise this, however this is fairly urgent for my team

      EDIT: I had the thought that maybe it is user error? Is it possible I've built the libraries without a necessary graphics api provider? I've attached my  config.summaryI am not totally sure which the relevant sections are but I notice that the only backend I appear to have built for is OpenGL ES2.0.

      Attachments

        1. 479b3be8-d03d-40da-9e30-ee11aba6fc63.png
          479b3be8-d03d-40da-9e30-ee11aba6fc63.png
          334 kB
        2. config.summary
          17 kB
        3. qt_sample.cpp
          1 kB
        4. Screenshot_20250320-175439.png
          Screenshot_20250320-175439.png
          134 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtandroidteam Qt Android Team
            evarady Ezra Varady
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes