Comment 1 for bug 1152160

Revision history for this message
Florian Boucault (fboucault) wrote :

From blueprint:
Deprecate manual theme loading.

Refactor Theme type API to be more QML compliant:
- introduce warnings instead of errors
- introduce status code (Ready, Loading, Fail, Warning)
- manual theme loading through property

Provide automatic theme file identification for applications:
- application theme identified from the application ID - desktop file
- first lookup after theme file should be under ~/.config/<application>
- second lookup after theme file under ~/.local/share/themes/<current-theme>/qmltheme
- third lookup after theme file under /usr/share/themes/<current-theme>.qmltheme
- if not found, fall back to the system theme

Work items:
Implement theme lookup for system themes: TODO
Implement theme lookup for application theme files: TODO
Refactor Theme API: TODO