Public bug reported:

Switching between two windows of the same app using quick swipe from
right edge breaks focus.

What happened:
1) Install the multi-window version of webbrowser (silo 084)
2) Open the webbrowser
3) Focus the address bar, notice that keyboard raises correctly
3) Spawn a second window
4) Perform a quick swipe from the right edge to switch back to the first window
5) Focus the address bar and notice that the keyboard doesn't raise

Note at step 3, sometimes the keyboard does raise and sometimes not but
after a quick swipe this is always reproducible for me.

What I expected to happen:
At step 5) for the keyboard to raise when the focus is given.


When investigating the unity8 log I noticed that when the issue occurs there is 
a second "MirSurface[0x2358780,"webbrowser-app"]::updateActiveFocus() 
unfocused" on the old window after it has given focus to the old window.

A change window that works: http://pastebin.ubuntu.com/23181435/
A change window that fails: http://pastebin.ubuntu.com/23181436/


Note a full swipe, which displays the spread, works as expected on my device.


$ apt-cache policy qtmir-android qtubuntu-android webbrowser-app
qtmir-android:
  Installed: 0.4.8+15.04.20160906-0ubuntu1
  Candidate: 0.4.8+15.04.20160906-0ubuntu1
  Version table:
 *** 0.4.8+15.04.20160906-0ubuntu1 0
       1001 
http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ 
vivid/main armhf Packages
        100 /var/lib/dpkg/status
     0.4.4+15.04.20150318-0ubuntu1 0
         50 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe armhf Packages
qtubuntu-android:
  Installed: 0.63+15.04.20160912-0ubuntu1
  Candidate: 0.63+15.04.20160912-0ubuntu1
  Version table:
 *** 0.63+15.04.20160912-0ubuntu1 0
       1001 http://ppa.launchpad.net/ci-train-ppa-service/landing-084/ubuntu/ 
vivid/main armhf Packages
        100 /var/lib/dpkg/status
     0.63+15.04.20160831-0ubuntu1 0
       1001 
http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ 
vivid/main armhf Packages
     0.60+15.04.20150318-0ubuntu3 0
         50 http://ports.ubuntu.com/ubuntu-ports/ vivid/universe armhf Packages
webbrowser-app:
  Installed: 0.23+16.10.20160825-0ubuntu1local~1473859555
  Candidate: 0.23+15.04.20160912-0ubuntu1
  Version table:
 *** 0.23+16.10.20160825-0ubuntu1local~1473859555 0
        100 /var/lib/dpkg/status
     0.23+15.04.20160912-0ubuntu1 0
       1001 http://ppa.launchpad.net/ci-train-ppa-service/landing-084/ubuntu/ 
vivid/main armhf Packages
     0.23+15.04.20160825-0ubuntu1 0
       1001 
http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/ 
vivid/main armhf Packages
     0.23+15.04.20150416-0ubuntu1 0
         50 http://ports.ubuntu.com/ubuntu-ports/ vivid/main armhf Packages

$ system-image-cli -i
current build number: 398
device name: mako
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2016-09-12 15:18:40
version version: 398
version ubuntu: 20160910
version device: 20160401.1
version custom: 20160904-9-vivid

** Affects: canonical-devices-system-image
     Importance: High
     Assignee: Michał Sawicz (saviq)
         Status: Triaged

** Affects: qtmir (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623861

Title:
  Switching between two windows of the same app using quick swipe from
  right edge breaks focus

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1623861/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to