No OSK in Google account creation on turbo

Bug #1599862 reported by Michał Sawicz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Yuan-Chen Cheng
Mir
Invalid
Undecided
Unassigned
turbo
Fix Released
Critical
Alex Tu
qtmir (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Steps:
* Settings app
* Accounts
* add Google account
* focus the email field

Expected:
* OSK up

Current:
* no OSK

Problem:
$ tail .cache/upstart/maliit-server.log
WARNING: Application attempted to activate itself without focus, PID: 28381

$ ps aux | grep 28381
phablet 28381 18.7 4.2 689120 118220 ? Sl 15:12 0:05 /usr/bin/online-accounts-ui --socket /run/user/32011/online-accounts-ui/ui-1-google --profile unconfined
phablet 28452 12.7 1.2 263816 35204 ? Sl 15:12 0:01 /usr/lib/arm-linux-gnueabihf/oxide-qt/oxide-renderer --type=renderer --enable-overlay-scrollbar --enable-pinch --enable-smooth-scrolling --enable-v
iewport --main-frame-resizes-are-orientation-changes --profiler-timing=0 --use-gl=egl --disable-webrtc-hw-encoding --primordial-pipe-token=3831F6D5BAABD5149B935C566CD24084 --lang=pl_PL --form-factor=phone --enabl
e-pinch --num-raster-threads=4 --content-image-texture-target=3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553 --video-image-texture-target=3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3
553,3553,3553,3553 --channel=28381.2.584703591 --v8-natives-passed-by-fd --v8-snapshot-passed-by-fd

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: qtdeclarative5-qtmir-plugin 0.4.8+15.04.20160705.2-0ubuntu1
Uname: Linux 3.10.100-user-01769-g42b9fe3 aarch64
ApportVersion: 2.17.2-0ubuntu1.3touch1
Architecture: armhf
Date: Thu Jul 7 15:19:50 2016
InstallationDate: Installed on 2016-07-07 (0 days ago)
InstallationMedia: Ubuntu 15.04 - armhf (20160707-020304)
SourcePackage: qtmir
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Changed in canonical-devices-system-image:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Michał Sawicz (saviq)
milestone: none → 12
Changed in qtmir (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Michał Sawicz (saviq) wrote :
Michał Sawicz (saviq)
Changed in qtmir (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Michał Sawicz (saviq) wrote :

OK the problem seems to be going towards mir after all, when we're getting the trust session, the PID returned for it is unity8's PID instead of the prompt:

From a slightly modified qtmir [1], unity8.log:

[...]
[2016-58-07:16:58:49.950] qtmir.surfaces: Session[0x137ef60,name="system-settings"]::insertChildSession(index=0, Session[0x1943450,name="online-accounts-ui",pid=20604])
[...]

$ ps aux | grep 20604
phablet 20604 48.9 5.7 602596 158828 ? Ssl 16:58 0:17 unity8 --mode=full-greeter

$ ps aux | grep accounts
phablet 22808 2.4 4.4 680020 122144 ? Sl 16:58 0:02 /usr/bin/online-accounts-ui --socket /run/user/32011/online-accounts-ui/ui-1-google --profile unconfined

[1] http://paste.ubuntu.com/18707159/

summary: - No OSK in Google account creation
+ No OSK in Google account creation on turbo
Changed in qtmir (Ubuntu):
assignee: Daniel d'Andrada (dandrader) → nobody
importance: Critical → Undecided
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
status: In Progress → Triaged
assignee: Michał Sawicz (saviq) → Stephen M. Webb (bregma)
Revision history for this message
Michał Sawicz (saviq) wrote :

Compared to frieza:

unity8.log:
[...]
[2016-33-07:17:33:32.317] qtmir.surfaces: Session[0xbb9f38,name="system-settings"]::insertChildSession(index=0, Session[0xa063b8,name="online-accounts-ui",pid=6684])
[...]

$ ps aux | grep 6684
phablet 6684 23.6 4.7 629356 94560 ? Sl 17:33 0:01 /usr/bin/online-accounts-ui --socket /run/user/32011/online-accounts-ui/ui-1-google --profile unconfined

$ ps aux | grep unity8
phablet 5418 14.1 7.1 631084 142716 ? Ssl 17:31 0:19 unity8 --mode=full-greeter

Changed in mir:
status: New → Confirmed
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

this could be a dup of lp:1540731.

There's a test case: https://bazaar.launchpad.net/~mir-team/mir/development-branch/view/head:/tests/acceptance-tests/test_prompt_session_client_api.cpp#L615

Could someone with access to a device please compile & run that and report back?

tags: added: lt-blocker regression-proposed
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

<AlbertA> Saviq: sent you the binary to test the kernel regression
<Saviq> AlbertA, Error: Operation not supported
<AlbertA> Saviq: yep that's the regression

Michał Sawicz (saviq)
Changed in qtmir (Ubuntu):
status: Incomplete → Invalid
Changed in mir:
status: Confirmed → Invalid
Changed in canonical-devices-system-image:
assignee: Stephen M. Webb (bregma) → John McAleely (john.mcaleely)
Changed in canonical-devices-system-image:
assignee: John McAleely (john.mcaleely) → Yuan-Chen Cheng (ycheng-twn)
Changed in turbo:
status: New → In Progress
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

ubuntu boot image with kernel fix. (build from public kernel, might not have all other good staff if any)

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

@saviq, might quick test the attached boot.img by

1. boot device to fastboot mode
2. sudo fastboot flash bootimg boot.img
3. sudo fastboot reboot

Changed in turbo:
importance: Undecided → Critical
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

with this boot image on #8 and ota11, I can see OSK up as I click email of google account create page.

Changed in turbo:
assignee: nobody → Alex Tu (alextu)
Changed in canonical-devices-system-image:
status: Triaged → In Progress
Alex Tu (alextu)
Changed in turbo:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Changed in canonical-devices-system-image:
status: In Progress → Confirmed
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Alex Tu (alextu)
Changed in turbo:
status: Fix Committed → 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.