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

Document enhancement for Text Cache regeneration

XMLWordPrintable

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

      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."

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

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

              Created:
              Updated:

                There are no open Gerrit changes