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. ListView with TextInput delegate is very slow
Forum Updated to NodeBB v4.3 + New Features

ListView with TextInput delegate is very slow

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 850 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.
  • J Offline
    J Offline
    justin1122
    wrote on last edited by
    #1

    I have a simple ListView that has a delegate with a plain TextInput as its only component. There are 30 rows. I've noticed that scrolling is painfully slow versus using a delegate with a Text component instead. I've increased the cacheBuffer on the listview, but that does not seem to help at all. What else can I do to possibly speed up the scrolling? I'm running this on a desktop currently with plenty of CPU & RAM processing. It is equally slow on the embedded ARMv7.

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Which Qt Version/OS are you trying on ? Also can you post the code so that others can test it ?

      157

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jens
        wrote on last edited by
        #3

        I don't know the cause of the slowdown, but as a tip I would suggest you simply use a Text item for the delegate, and add a Loader which only creates a and replaces it with a TextInput when the delegate is pressed.

        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