← Back to team overview

touch-packages team mailing list archive

[Bug 1389792] Re: theme not found when using a user-defined theme

 

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1389792

Title:
  theme not found when using a user-defined theme

Status in the base for Ubuntu mobile products:
  New
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  In Progress

Bug description:
  This bugs makes it so that developers cannot update the theming, which
  can be pretty important for some people and also important for working
  around color scheme issues in the theming (I've filed other bugs on
  this).

  Attached is a very simple application that tries to define the Foo
  theme which is derived from the SuruDark theme.

  $ tar -zxvf ./theme-test.tar.gz
  ./theme-test/
  ./theme-test/themes/
  ./theme-test/themes/Foo/
  ./theme-test/themes/Foo/parent_theme
  ./theme-test/themes/Foo/Palette.qml
  ./theme-test/themes/Foo/MainViewStyle.qml
  ./theme-test/main.qml

  $ cd theme-test/

  $ qmlscene ./main.qml
  "Theme not found: " "themes.Foo"
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/MainView.qml:330:9: QML AppHeader: Warning: Style PageHeadStyle.qml not found in theme themes.Foo
  file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/MainView.qml:202:5: QML StyledItem: Warning: Style MainViewStyle.qml not found in theme themes.Foo
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  QQmlComponent: Component is not ready
  file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/MainViewStyle.qml:70:5: QML Binding: Binding loop detected for property "target"

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1389792/+subscriptions


References