Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Stepping and flickering of images while moving of listview elements in qml
Qt 6.11 is out! See what's new in the release blog

Stepping and flickering of images while moving of listview elements in qml

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 1.5k Views
  • 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.
  • nateshN Offline
    nateshN Offline
    natesh
    wrote on last edited by
    #1

    Hi,

    in my listview there are 25 to 30 elements are there, while scrolling of images stepping and flickering of images takes place in qml. how to avoid the stepping and flickering of images for a listview in qml...., any sample code very helpful for me........

    J.HilkJ 1 Reply Last reply
    0
    • nateshN natesh

      Hi,

      in my listview there are 25 to 30 elements are there, while scrolling of images stepping and flickering of images takes place in qml. how to avoid the stepping and flickering of images for a listview in qml...., any sample code very helpful for me........

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      hi @natesh

      inside your image -object, set the asynchronous property to true, that prevents the ui blocking while loading.

      should solve your issue.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      0
      • nateshN Offline
        nateshN Offline
        natesh
        wrote on last edited by
        #3

        hi@J.Hilk

        thank u for giving valuable suggestion, i am using the asynchronous property to true inside the image object,still there is a flickering and stepping of images while scrolling listview of images is taking place....,how to resolve that issue......

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kernel panic
          wrote on last edited by
          #4

          I found a solution for similar problem
          looks like the step happens because of 'interactive' in ListView
          So, do:

          interactive: false

          and use a custom scroll with MouseArea
          using onWheel

          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