Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Itemviews: Performance with large selections

    General and Desktop
    2
    2
    1516
    Loading More Posts
    • 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.
    • K
      Knacktus last edited by

      Hi guys,

      I've got some major performance issues when selecting a large number of rows (some hundred) in a treeview. It surprises me as otherwise the performance is really stunning. Selections take a long time and scrolling using the scrollbar is really slow.

      Is this a known issue? Are there any workarounds / best practices?

      Cheers,

      Jan

      P.S.: For selections that are triggered by the code (not user) I can think of workarounds like marking/coloring the rows via the model, but native selections would be most familiar for the users.

      1 Reply Last reply Reply Quote 0
      • R
        rcari last edited by

        What platform are you running on ?
        If you are on Linux/Mac OS X you should try to run a profiler such as Valgrind to figure out where your application is spending cycles and figure out what your bottleneck is.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post