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

Allow to release resources for hidden view

    XMLWordPrintable

Details

    • User Story
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.11
    • WebEngine
    • None

    Description

      It should be possible to temporarily release resources like OpenGL contexts for both WebEngineView and QWebEngineView objects that are currently not shown / hidden.

      Use case

      Tabbed web browsers can have an almost arbitrary number of tabs open, but the content of only one tab is visible at a time. Anyhow, the most straightforward solution - having a WebEngineView in each tab - also means that every tab binds some resources, most prominently up to 3 OpenGL contexts and a renderer process.

      It would be great that such a browser could just free resources for a tab that is not used since a while, or if the resources are exhausted.

      Related

      https://developers.google.com/web/updates/2015/09/tab-discarding

      Attachments

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              kkohne Kai Köhne
              Petref Saraci Petref Saraci (Inactive)
              Kai Köhne Kai Köhne
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes