Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance update and cleanup #389

Open
martonborzak opened this issue Jan 1, 2020 · 1 comment
Open

Performance update and cleanup #389

martonborzak opened this issue Jan 1, 2020 · 1 comment

Comments

@martonborzak
Copy link
Member

@martonborzak martonborzak commented Jan 1, 2020

Expected Behavior or Design

Improved and more fluid UI.

Current Behavior or Design

The UI sometimes can be a bit sluggish.

Possible Solution

  • Optimize qml code by removing unnecessary elements
  • Optimize qml code by revising property bindings
  • Optimize qml code by adding more lazy loading of elements
  • Optimize qml code by removing unused layer effects
  • Avoid using clip: true
  • Create components of commonly used UI elements, for example: close button
  • Always set unseen elements to visible: false
  • Create QML singleton for theme(colors, fonts)
  • If the layout is not dynamic, the most performant way to specify the layout is via static initialization of the x, y, width and height properties.
  • Use Q_INVOKABLE instead of Q_PROPERTY when it's possible
  • Remove unused Q_PROPERTY from c++ classes

Detailed Description and Additional Information

https://doc.qt.io/qt-5/qtquick-performance.html

@martonborzak

This comment has been minimized.

Copy link
Member Author

@martonborzak martonborzak commented Jan 1, 2020

@nklerk @carp3-noctem @zehnm Let's add more to the list. I think the next milestone should be mostly code cleanup and performance improvement.

@martonborzak martonborzak moved this from Backlog to Accepted in YIO Remote software Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.