Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 115
    • Merge requests 115
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • KWinKWin
  • Merge requests
  • !1686

effects/overview: Reuse qml loading results between effect activations

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Vlad Zahorodnii requested to merge work/zzag/overview-cache into master Nov 18, 2021
  • Overview 3
  • Commits 1
  • Changes 4

Currently, every time you launch the overview effect, QtQuick will go out and parse QML files. With the overview effect gaining more features and the code size getting bigger, it takes more time for the overview to present the first frame after it got triggered.

With this change, the overview effect will keep the ScreenView QQmlComponent object around that can be used to avoid reparsing qml code every time the overview effect is launched.

It also ports the Overview effect from de-facto deprecated qml context to initial properties, which yield slightly better startup times.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/zzag/overview-cache