Merge lp:~verzegnassi-stefano/ubuntu-terminal-app/device-detection into lp:~ubuntu-terminal-dev/ubuntu-terminal-app/reboot
Status: | Merged |
---|---|
Approved by: | Stefano Verzegnassi |
Approved revision: | 192 |
Merged at revision: | 193 |
Proposed branch: | lp:~verzegnassi-stefano/ubuntu-terminal-app/device-detection |
Merge into: | lp:~ubuntu-terminal-dev/ubuntu-terminal-app/reboot |
Diff against target: |
146 lines (+35/-38) 5 files modified
debian/control (+1/-0) src/app/qml/SettingsPage.qml (+0/-32) src/app/qml/TerminalPage.qml (+2/-2) src/app/qml/TerminalSettings.qml (+0/-4) src/app/qml/ubuntu-terminal-app.qml (+32/-0) |
To merge this branch: | bzr merge lp:~verzegnassi-stefano/ubuntu-terminal-app/device-detection |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jenkins Bot | continuous-integration | Approve | |
Ubuntu Terminal Developers | Pending | ||
Review via email: mp+287985@code.launchpad.net |
Commit message
Added a context property which allows terminal-app to know whether a keyboard or a mouse is attached to the device.
This is required to workaround a gap in the Ubuntu UI Toolkit, which makes impossible to use some of the new convergence features (e.g. bottom edge) in desktop mode.
This also allows us to automatically hide some components which are only useful in a context where only a touchscreen is available as input device.
Hopefully, this patch shouldn't be required anymore with OTA-11, when the support for devices detection will be available through UITK.
Description of the change
*** REQUIRES OTA-10 ***
Added a context property which allows terminal-app to know whether a keyboard or a mouse is attached to the device.
This is required to workaround a gap in the Ubuntu UI Toolkit, which makes impossible to use some of the new convergence features (e.g. bottom edge) in desktop mode.
This also allows us to automatically hide some components which are only useful in a context where only a touchscreen is available as input device.
Hopefully, this patch shouldn't be required anymore with OTA-11, when the support for devices detection will be available through UITK.
PASSED: Continuous integration, rev:191 /core-apps- jenkins. ubuntu. com/job/ terminal- app-ci/ 52/ /core-apps- jenkins. ubuntu. com/job/ generic- update- mp/800/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /core-apps- jenkins. ubuntu. com/job/ terminal- app-ci/ 52/rebuild
https:/