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

TextField always clips

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • dev
    • Quick: Controls 2
    • Kubuntu 19.10, debug build of Qt 5.13 latest
    • Linux/X11

    Description

      While optimizing painting in an application, I discovered that TextField is a major cause of clipping. It seems to have clipping unconditionally enabled, contrary to an important performance guideline from Qt's own documentation. I created a simple example that can be run with QSG_VISUALIZE=clip qmlscene cliptest.qml.

      Attachments

        1. cliptest.qml
          0.2 kB
          Andreas Hartmetz

        Issue Links

          For Gerrit Dashboard: QTBUG-79878
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              ahartmetz Andreas Hartmetz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change