Ubuntu One account page is blank

Bug #1620338 reported by Jean-Baptiste Lallement
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Committed
High
David Barth
ubuntuone-credentials (Ubuntu)
Fix Released
Critical
Alberto Mardegan

Bug Description

current build number: 31
device name: frieza_arm64
channel: ubuntu-touch/staging/ubuntu

The U1 account page is blank with just a title.

Tags: qt5.6

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

system-settings logs when this issue occurs.

Changed in canonical-devices-system-image:
milestone: none → x1
Revision history for this message
Alberto Mardegan (mardy) wrote :

Adding U1 project; given that the other plugins work, it's possible that the problem is in U1.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

For reference, here's our conversation from #ubuntu-touch last week:

15:43 mardy: marcustomlinson: can you get the logs with OAU_LOGGING_LEVEL=2 OAU_DAEMON_TIMEOUT=9999 online-accounts-service?
16:04 marcustomlinson: mardy: https://pastebin.canonical.com/164515/
16:14 marcustomlinson: mardy: my ~/.local/share/accounts/qml-plugins/ folder is empty, is that bad?
16:14 marcustomlinson: mardy: line 50 of that log: file:///home/marcustomlinson/.local/share/accounts/qml-plugins/ubuntuone/Main.qml: File not found
16:14 mardy: marcustomlinson: no, it just means that you have not any plugins installed from click packages
16:15 mardy: marcustomlinson, dobey: the error is in the last line of the logs
16:18 mardy: marcustomlinson: can you edit /usr/share/accounts/qml-plugins/ubuntuone/Main.qml and print the Loader's "status" as it changes?
16:19 mardy: marcustomlinson: also try commenting out line 45, it looks suspicious
16:19 mardy: (the sourceComponent one)
16:28 marcustomlinson: mardy: did what you said. log is exactly the same: https://pastebin.canonical.com/164524/
16:32 mardy: marcustomlinson: is it Qt 5.6 or 5.5?
16:33 dobey: oh yeah, maybe you need to dist-upgrade
16:36 mardy: dobey: the last line of marcustomlinson's logs doesn't appear on the phone
16:37 mardy: dobey: I suspect that that property binding happens to work in qt 5.5, but broke with 5.6
16:37 dobey: mardy: weren't you trying to land 5.6 to vivid too?
16:37 mardy: dobey: indeed it's a bit surprising that it works at all... it requires the loader to have completed before the binding has evaluated, which is not a given
16:38 mardy: dobey: unless marcustomlinson is already running yakkety, which AFAIK has qt 5.6 already
16:38 dobey: mardy: xenial-overlay has 5.6 too
16:39 mardy: dobey: right, so I suspect that it works on the phones because there we have 5.5, but it doesnt't work with 5.6
16:39 mardy: just guessing
16:42 marcustomlinson: mardy: I'm on Xenial + overlay
16:44 marcustomlinson: mardy, dobey: yeah 5.6
16:44 mardy: marcustomlinson: try changing line 26 to contentHeight: (editPageLoader.status == Loader.Ready ? editPageLoader.item.height : 0) + keyboardSize
16:45 mardy: marcustomlinson: or maybe just contentHeight: (editPageLoader.item ? editPageLoader.item.height : 0) + keyboardSize
16:48 marcustomlinson: mardy: after that change: https://pastebin.canonical.com/164526/
16:48 marcustomlinson: still blank
16:53 dobey: marcustomlinson: change that ": 0" to ": units.gu(60)" and see what happens
16:56 marcustomlinson: dobey: no difference
16:57 marcustomlinson: mardy: here's how to easily test this. Run normal unity7 desktop on Xenial+overlay. run "start smart-scopes-proxy", then "unity8-dash --mousetouch"

Alberto Mardegan (mardy)
no longer affects: ubuntu-system-settings-online-accounts (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntuone-credentials (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Mardegan (mardy) wrote :

The bug is indeed in the Loader of

/usr/share/accounts/qml-plugins/ubuntuone/Main.qml

To fix this bug, edit that file and:

1) remove the "sourceComponent:" line
2) remove the outer condition from the "source:" like, so that it looks like this:

   source: account.accountId != 0 ? existingAccountUrl : newAccountUrl

It's likely that Loader's behaviour changed slightly in Qt 5.6, triggering this bug.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I confirm that after these modifications the page works fine and user can log into U1.

Changed in canonical-devices-system-image:
assignee: nobody → David Barth (dbarth)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Ack, this change fixes the issue on unity8 desktop session as well. Thanks mardy

dobey (dobey)
Changed in ubuntuone-credentials (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Critical
assignee: nobody → Alberto Mardegan (mardy)
tags: added: qt5.6
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-credentials - 15.11+16.10.20160920

---------------
ubuntuone-credentials (15.11+16.10.20160920) yakkety; urgency=medium

  [ Alberto Mardegan ]
  * Fix the loader to avoid blank page with Qt 5.6. (LP: #1620338)

  [ Rodney Dawes ]
  * Build-Depend on upstart to avoid s390x builds on yakkety.

 -- Rodney Dawes <email address hidden> Tue, 20 Sep 2016 14:17:52 +0000

Changed in ubuntuone-credentials (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.