I grabbed the theme from the phone and set up the environment to use the
theme same way the phone does. I copied the theme files under my home
folder into custom-theme path, so ~/custom-theme/themes/Ubuntu/Custom
was the path to the files. $HOME/.config/ubuntu-ui-toolkit/theme.ini has
the theme=themes.Ubuntu.Custom line set.
Environment: XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/custom-theme
Running ubuntu-ui-toolkit-gallery example on the desktop, I'm getting the
following warning just by launching it:
(file:///home/zsombor/custom-themes/themes/Ubuntu/Custom/MainViewStyle.qml:45,
unknown) -
file:///home/zsombor/custom-themes/themes/Ubuntu/Custom/MainViewStyle.qml:45:5:
QML QQuickImage: Cannot open:
file:///home/zsombor/custom-themes/themes/Ubuntu/Custom/artwork/background_paper.png
(file:///home/zsombor/custom-themes/themes/Ubuntu/Custom/MainViewStyle.qml:42,
unknown) -
file:///home/zsombor/custom-themes/themes/Ubuntu/Custom/MainViewStyle.qml:42:
ReferenceError: internals is not defined
(file:///home/zsombor/custom-themes/themes/Ubuntu/Custom/MainViewStyle.qml:42,
unknown) -
file:///home/zsombor/custom-themes/themes/Ubuntu/Custom/MainViewStyle.qml:42:
ReferenceError: internals is not defined
Never the less these are only errors on MainViewStyle, these should be
all corrected. Otherwise the application works smoothly, all the colours
are taken from the custom theme, so the theme seems to be loaded fine.
However, if I run autopilot tests with the theme, all of them seem to be
broken, like the environment variables would have not been loaded in the
tests.
** Changed in: ubuntu-ui-toolkit
Assignee: (unassigned) => Zsombor Egri (zsombi)
** Changed in: ubuntu-ui-toolkit
Status: New => Confirmed
** Changed in: ubuntu-ui-toolkit
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1297846
Title:
ubuntuuitoolkit tests hang on touch_custom suite
To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1297846/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs