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. Poor TextArea performance
Qt 6.11 is out! See what's new in the release blog

Poor TextArea performance

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 501 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.
  • C Offline
    C Offline
    ca_localhero
    wrote on last edited by ca_localhero
    #1

    Hi all

    I'm trying to use an TextArea-item to edit large amounts of text. Unfortunately, the performance is quite bad :) In my use case, the text property is initialised from an expression that calls an Q_INVOKABLE which then returns a large block of text as a QString. Even with a few thousand lines of 50 characters each, the application main thread freezes: the text area cannot receive focus and the cursor position takes long to update.

    Is this a known issue? Does anyone know of alternative controls - possibly third party - for text editing with QML?

    Best regards,
    Casper Agerskov

    1 Reply Last reply
    1

    • Login

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