The ubuntu-html5-theme on the RTM image does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu HTML5 UI SDK |
Triaged
|
High
|
Alexandre Abreu |
Bug Description
I have a project at the following location:
bzr branch lp:~liu-xiao-guo/debiantrial/wuziqi
My phone software is as follows:
phablet@
current build number: 214
device name: mako
channel: ubuntu-
last update: 2015-03-17 10:52:53
version version: 214
version ubuntu: 20150312
version device: 20150116
version custom: mako-1.1
On desktop:
ubuntu-html5-theme:
Installed: (none)
Candidate: 0.1.2+14.
Version table:
0.
500 http://
On the phone:
ubuntu-html5-theme:
Installed: (none)
Candidate: 0.1.2+15.
Version table:
0.
500 http://
If I remove my following code, it works fine:
=======
var UI = new UbuntuUI();
....
UI.init();
=======
if the above two lines are there, the application does not run as expected!
However, if I change my index.html to the following:
=======
<div data-role=
<header data-role="header">
</header>
<div data-role=
<div data-role=
<div data-role="page" id="main" data-title="五子棋">
<div class='test'>
<div>
</div> <!-- main -->
</div> <!-- pagestack -->
<div data-role="dialog" id="dialog1">
<section>
</div>
</div> <!-- content -->
</div> <!-- mainview -->
=======
it works as well.
I have tried to copy over all of the files in the following directory on my utopic 14.10 desktop:
/usr/share/
Then, I change my index.html to the be following:
<!-- Ubuntu UI javascript imports - Ambiance theme
<script src="/usr/
<script src="/usr/
<script src="/usr/
<script src="/usr/
<script src="/usr/
<script src="/usr/
<script src="/usr/
<script src="/usr/
-->
<script src="ambiance/
<script src="ambiance/
<script src="ambiance/
<script src="ambiance/
<script src="ambiance/
<script src="ambiance/
<script src="ambiance/
<script src="ambiance/
My application works as expected. I am thinking the ambiance on the phone needs to be updated.
Best regards,
XiaoGuo
Changed in ubuntu-html5-theme: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
Hello,
I have a similar problem. If I build my project using the desktop kit or the emulator everything works fine, but when i try to start the project on my new BQ, the pages look very different (especially the tabs look like in android). Your workaround worked for me.