Public bug reported: https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ThemeSettings/
on the page, the code has a little problem. The default theme is: Ubuntu.Components.Themes.Ambiance There is no chance to change the them at all according to the code. I have modified the code a little bit: Button { text: theme.name == "Ubuntu.Components.Themes.Ambiance" ? "SuruDark" : "Ambiance" onClicked: { theme.name = (text == "Ambiance" ? "Ubuntu.Components.Themes.Ambiance" : "Ubuntu.Components.Themes.SuruDark" ) } } With the code, it works fine. ** Affects: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1557295 Title: theme is never changed after pressing the button To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1557295/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs