Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117803

High Memory Usage for TextField with Material 3 Style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.6.0
    • Quick: Controls 2
    • None
    • QML
    • All

    Description

      Because `QQuickMaterialTextContainer` inherits from `QQuickPaintedItem` every instance of a `TextField` in a QML application with Material 3 styling uses a significant amount of memory. 40MB of our applications memory usage is due to text fields.

      Attachments

        1. basic.png
          138 kB
          Ben Kerby
        2. material.png
          102 kB
          Ben Kerby

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              benkerby Ben Kerby
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes