Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-316

Document enhancement for Text Cache regeneration

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt for MCUs 2.8
    • Documentation
    • None

    Description

      documentation link: https://doc.qt.io/QtForMCUs-2.8/qtul-performance-logging.html#text-cache

      In this section, there's a paragraph which goes;

      Another thing to note is that if Text items are destroyed and recreated, the associated text cache entry will also be automatically regenerated once the Text item is visible. Changing the text or any other properties that affect its appearance, will also invalidate the text cache entry. 

      I wonder what could be the real-world usecase of this.
      One example came to my mind is when Text loaded by Loader was unloaded, which destroys the Text. 
      Using Loader for a currently-displayed page in MCU app makes a lot of sense and should be quite common to save RAM, therefore, a reader could wonder if Text Cache could be realistically useless for the application with a heavy Loader use. That's why I think it's better to write a real-world example of Text being "destroyed."

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes