Comment 2 for bug 1594944

Revision history for this message
dobey (dobey) wrote :

Add a twitter account, and then run this attached QML on the phone. If you don't have a twitter account to test with, add any other account via system settings, and modify this QML to use that account instead of twitter. The result when the app runs is that a full screen blank window will be opened overlaid on the app itself.

Run with "qmlscene --desktop_file_hint=/usr/share/applications/dialer-app.desktop twitter-test.qml"

Output of online-account-service debug:

service.cpp 42 requestAccess Got request: QMap(("application", QVariant(QString, "com.ubuntu.developer.webapps.webapp-twitter") ) ( "pid" , QVariant(uint, 28963) ) ( "provider" , QVariant(QString, "twitter") ) )
utils.cpp 49 apparmorProfileOfPeer App ID: "unconfined"
request-manager.cpp 113 runQueue Head: OnlineAccountsUi::Request(0x1f10c78)
mir-helper.cpp 151 session_event_callback Prompt Session state updated to 1
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
/usr/bin/online-accounts-ui: unrecognized option '--socket'
/usr/bin/online-accounts-ui: unrecognized option '--profile'
ui-server.cpp 103 onDataReady QMap(("code", QVariant(QString, "process") ) ( "data" , QVariant(QVariantMap, QMap(("application", QVariant(QString, "com.ubuntu.developer.webapps.webapp-twitter") ) ( "pid" , QVariant(uint, 28963) ) ( "provider" , QVariant(QString, "twitter") ) ) ) ) ( "id" , QVariant(int, 0) ) ( "interface" , QVariant(QString, "com.ubuntu.OnlineAccountsUi") ) ( "profile" , QVariant(QString, "unconfined") ) )

(process:28975): accounts-glib-CRITICAL **: ag_application_get_desktop_app_info: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_desktop_app_info: assertion 'self != NULL' failed
file not found: "/home/phablet/.local/share/accounts/applications/.application"

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed

(process:28975): accounts-glib-CRITICAL **: ag_application_get_service_usage: assertion 'self != NULL' failed
qml: Page_QMLTYPE_32(0x7826e8)"Twitter": In Ubuntu.Components 1.3, the use of Page.title, Page.flickable and Page.head is deprecated. Use Page.header and the PageHeader component instead.