[E5] Facebook, youtube apps ignore OS-preset accounts? Required to log in manually

Bug #1551236 reported by Stefan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Incomplete
Undecided
David Barth
webapps-sprint
New
Medium
Alberto Mardegan

Bug Description

Facebook, youtube apps ignore OS-preset accounts?
Required to log in manually...

Stefan (boldos)
affects: bluez (Ubuntu) → canonical-devices-system-image
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@stefan is access enabled in the accounts settings panel?

Changed in canonical-devices-system-image:
assignee: nobody → David Barth (dbarth)
status: New → Incomplete
Revision history for this message
Stefan (boldos) wrote :

Hi Pat,
yes, it is enabled for all tested apps, I double checked that.

David Barth (dbarth)
Changed in webapps-sprint:
assignee: nobody → Alberto Mardegan (mardy)
milestone: none → sprint-20
Revision history for this message
Alberto Mardegan (mardy) wrote :

Hi Stefan, could you please run the following command in an adb/shell session:

   OAU_LOGGING_LEVEL=2 OAU_DAEMON_TIMEOUT=9999 online-accounts-service

then please delete your facebook account from the system settings and try starting the facebook application again. If you could then attach the output of the above command to this bug report, that should help.

Revision history for this message
Stefan (boldos) wrote :

Hi Alberto,

will test your (above) approach later on.

In the meantime, I tested to remove and add the Facebook account and how this changes the behaviour of Facebook apps.
Please note that I have 3 facebook apps installed and I tested on all 3:

I removed my FB account from system. All 3 applications required a logon while started.
Then I added by FB account, with these results:
1) Pre-installed FB app still ignores OS-level-defined FB account and prompts for logon
https://uappexplorer.com/app/com.ubuntu.developer.webapps.webapp-facebook
2) Second FB application still ignores OS-level-defined FB account and prompts for logon
https://uappexplorer.com/app/facebook.mreese
3) Third application uses OS-level-defined FB account and does NOT require a separate logon, works as expected:
https://uappexplorer.com/app/com.ubuntu.developer.majster-pl.facebook-app

Revision history for this message
Alberto Mardegan (mardy) wrote :

Thanks Stefan for the infos. It looks like you might be affected by bug 1507995, which is in the process of being fixed. The fact that the third application works fine seems to confirm this.
So, let's leave Facebook aside until the other bug is fixed.

About Youtube, what exactly does happen? And which version of the OS do you have installed?

Revision history for this message
Stefan (boldos) wrote :

OTA-9.1 (20160217.1) on Aquaris E5HD.

Youtube account behavior:
Once removed by google account completely, all tested youtube apps require Google login credentials.

Upon adding by google account to the system, following happens:
1) This app "seems to have" a history stored that it was once accessing my Google account, because when I removed the account from system, it requires the Google account logon credentials upon it's start. Is on the list of allowable apps to use OS-defined Google account and enabled. The only tested app that successfully and automatically uses the OS-defined logon.
https://uappexplorer.com/app/youtube.waynelloyd

2) This app is not on the list of allowable applications to use the Google account. Never requires logon upon startup. Does not seem to be using the OS-defined Google account directly, if I ask logging into Youtube, it will logon through a webbrowser. OS-level logon to Youtube through webbrowser works.
https://uappexplorer.com/app/youtube.claudiob

3) This app is not on the list of allowable applications to use the Google account. Never requires logon upon startup. Does not seem to be using the OS-defined Google account directly, if I ask logging into Youtube, it will prompt me for Google account credentials directly.
https://uappexplorer.com/app/com.popey.youtube

4) This app is not on the list of allowable applications to use the Google account. Never requires logon upon startup. Does not seem to be using the OS-defined Google account directly, if I ask logging into Youtube, it will logon through a webbrowser. OS-level logon to Youtube through webbrowser works.
https://uappexplorer.com/app/youtube.miguelangelar

5) The Youtube Scope:
If no Google account is defined in OS, it will show big red "Log-in to YouTube" button. Once pressed, it requires the input of Google credentials and log-on works for the scope.
If a Google account is present in the OS, no automatic login happens. The scope will still show big red "Log-in to YouTube" button. Once pressed, the activity bar (orange moving line at the bottom of the scope) starts moving, nevertheless, the whole scope freezes indefinitely and this makes all other scopes un-accessible. Only device reboot helps (since scopes cannot be closed/restarted).

6) On top of YouTube stuff, I made another disturbing discovery (by removing and re-adding the Google account to OS): The device's contacts should sync with Google contacts (automatically?), but do not! When I start Contacts (after re-adding the google account back to the OS), my contacts are empty and I'm presented with "Import contacts from Google" or "Import from SIM card". Once I press "Import from Google", I'm again presented with a dialog requesting me adding google logon credentials. Contacts are showing in the allowable applications to use Google account, and is enabled.

7) Pre-installed Calendar app will (try) to sync immediately upon Google account re-insertion to OS (although it fails the sync - but I suspect this is the Calendar app issue).

Revision history for this message
Stefan (boldos) wrote :

No change in behaviour after OTA-10.

David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-20 → sprint-23
David Barth (dbarth)
Changed in webapps-sprint:
importance: Undecided → Medium
David Barth (dbarth)
Changed in webapps-sprint:
milestone: sprint-23 → backlog
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.