FullShellRotation
Testing Unity8 Full Shell Rotation
In order to deliver a more rick and usable Unity8 experience, we want to enable full shell rotation. We need to make sure that all the shell components rotate and are accessible by the user. Likewise, we need to stay put in cases where the application has a fixed orientation. Also, thought it's low risk, it would be good to make sure we do not regress our Unity8 desktop experience.
The key areas to scrutinize: Does the shell follow what you as a user would think with respect to application orientation ? Is it animating nicely ? Does it behave properly with respect to orientation locking ?
Don't forget to help us determine how many people participated by simply listing your name and test environment here at FullShellRotationTesterList
How do I know I'm running Full Shell Rotation ?
Currently the easiest way to determine if you are running QtComp besides checking the packages is to open a few applications, right hand long swipe to place into "spread" mode. If you can quit an app by swiping up or down then you are running QtComp.
Known Limitations
The code is actively being worked, this section will continue to be updated as the state of the code improves.
Results so far
To be updated, will track thru
https://bugs.launchpad.net/unity8/+bugs?field.tag=fullshellrotation
Nexus 4
Unity8 Desktop Session
Functioning & performing well Note, unity8 desktop does take an unusual amount of time to completely boot.
Nexus 10
Functioning & performing well
Nexus 7
Functioning & performing well, arguably more stable
How To Test
We're using our CI Train build silo's as a way to keep up with the latest image and iterate over the proposed branches. note: we will continue to polish & fix bugs we find on the branches, so the packages may update.
Current silo is https://launchpad.net/~ci-train-ppa-service/+archive/landing-006
note: silo's sometimes get reallocated, so the package location may change, so double check its platform-api, qtmir, qtubuntu, and unity8 in this location.
Steps to install
- flash your device with the latest devel-proposed image or the image listed at the top of this wiki, assuming you're already setup, connect your host machine to device usb
host-computer$ adb reboot bootloader
host-computer$ ubuntu-device-flash --channel=devel-proposed --bootstrap --developer-mode
OR if the PPA install fails, use the last-known-good image it was built against
host-computer$ ubuntu-device-flash --channel=devel-proposed --bootstrap --developer-mode --revision=145
for more information on devices, flashing & setup see https://wiki.ubuntu.com/Touch/Install
NOTE After flashing you'll probably want to give the untouch image a test drive before proceeding to adding the PPA.
Don't forget to connect to the network & make writable
host-computer$ phablet-network
host-computer$ phablet-config writable-image
host-computer$ adb reboot
- Add the PPA to your device
host-computer$ adb shell apt-add-repository -y ppa:ci-train-ppa-service/landing-006
NOTE if you have packaging dependency issues, its likely due to packages being stuck in proposed (since the silo builds against proposed). So simply modify your /etc/apt/sources.list on your device to include deb http://ports.ubuntu.com/ubuntu-ports/ utopic-proposed main restricted universe
host-computer$ adb shell apt-get update
- **Note** If you apt-get dist-upgrade to install, you will **NOT** pull in all the required packages. See below! Dist-upgrade also pulls in other unrelated packages. I recommend installing in isolation like so
host-computer$ phablet-shell
device-phablet$ sudo apt-get install qtubuntu-android qtmir-android indicators-client unity8 unity8-autopilot unity8-common unity8-private libubuntu-application-api2 libubuntu-platform-hardware-api2 ubuntu-application-api2-touch libsystemsettings1 ubuntu-system-settings ubuntu-system-settings-wizard
password is 'phablet'
alternately, you may update like so (but note, you'll get other updates from archive, not in your image & unrelated to this silo)
device-phablet$ sudo apt-get dist-upgrade
device-phablet$ sudo apt-get install qtmir-android ubuntu-touch
Note: the dist-upgrade might remove the ubuntu-touch package. If the phone doesn't boot after those steps, make sure "ubuntu-touch" is installed.
- In the instance you are testing the Unity8-desktop-session, you would follow similar installation like so
desktop$ sudo apt-add-repository ppa:ci-train-ppa-service/landing-006
follow the prompt, apt-get update, and then do:
desktop$ sudo apt-get dist-upgrade
or
desktop$ sudo apt-get install qtmir-desktop qtubuntu-desktop indicators-client unity8 unity8-autopilot unity8-common ubuntu-touch unity8-private libubuntu-application-api2 libubuntu-platform-hardware-api2 ubuntu-application-api2-desktop libsystemsettings1 ubuntu-system-settings ubuntu-system-settings-wizard
Don't forget to use ppa-purge to remove and downgrade unwanted packages after testing. Note, failing to do so could pull in unknown packages in the future as silos are reused for other package landings. To install and use ppa-purge
desktop$ sudo apt-get install ppa-purge
desktop$ sudo ppa-purge ppa:ci-train-ppa-service/landing-006
follow any prompts.
What to test
Just about anything. But primarily, this is a change on Ubuntu phone pertains to application switching, spread, interaction with the ubuntu-keyboard/OSK and general shell interaction. Its also relevant to test the display blanking, application rotation & application bottom bars. The Unity8 desktop session also needs testing.
We would expect all behaviors of the applications to remain the same as before introducing this change.
Symptoms that we don't expect but you might witness: freezing apps, inability to reveal/dismiss OSK, problems with right edge switching, or poor user experience of rotated applications.
Logging Bugs
If you find what you think is a bug potentially due to this change, please check the known bugs for this silo first. You can check here QtCompBugList. Please use the tag "qtcomp". Please note the applications you've launched, specific application visual issues or interactions. Also, please note the version of the packages you tested since we plan to be updating those as we fix bugs. You can do this by noting in the bug output from
device-phablet$ apt-cache policy unity8 qtmir-android qtubuntu-android
Or in the case of Unity8 desktop session bugs
device-phablet$ apt-cache policy unity8 qtmir-desktop qtubuntu-desktop
You can note the image number from
host-machine$ adb shell system-image-cli -i
Contact us
If you're not sure if something is a bug or need help for any reason on directions. Feel free to hit any of us up on IRC freenode #ubuntu-unity at kgunn, greyback, dandrader, mzanetti (if mir related #ubuntu-mir at kgunn, camako, alan_g). Or feel free to email the ubuntu-phone mailing list (ubuntu-phone@lists.launchpad.net).