Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML GridView scrolling is janky
Qt 6.11 is out! See what's new in the release blog

QML GridView scrolling is janky

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 57 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michel de Boer
    wrote last edited by
    #1

    I have a GridView (QML) with 3 colums to show square thumbnail images on a mobile phone (Android). The scrolling is not smooth. It is janky.
    I have already set the image sourceSize to the size of the grid cells to avoid a large amount of image data in memory.
    Also image loading is asynchronous (via HTTP).

    Even when I replace the images by rectangles, the scrolling is still a bit janky, but less so.

    I have added logging to a QGuiApplication::notify (in a subsclass) to see how much event handling takes. I notice that QEvent::updateRequest sent to my ApplicationWindow often takes more than 16ms to process. That seems too much to get smooth frame rendering.

    Any idea, how to speed this up?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved