Merge lp:~mterry/ubuntu-keyboard/report-max-height into lp:ubuntu-keyboard
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~mterry/ubuntu-keyboard/report-max-height | ||||
Merge into: | lp:ubuntu-keyboard | ||||
Diff against target: |
336 lines (+110/-44) 8 files modified
qml/Keyboard.qml (+8/-11) qml/keys/key_constants.js (+0/-8) src/plugin/keyboardgeometry.cpp (+63/-9) src/plugin/keyboardgeometry.h (+22/-1) src/plugin/ubuntuapplicationapiwrapper.cpp (+13/-1) src/plugin/ubuntuapplicationapiwrapper.h (+1/-0) tests/unittests/ut_keyboardgeometry/ut_keyboardgeometry.cpp (+2/-13) tests/unittests/ut_keyboardgeometry/ut_keyboardgeometry.pro (+1/-1) |
||||
To merge this branch: | bzr merge lp:~mterry/ubuntu-keyboard/report-max-height | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Pending | |
Ubuntu Phablet Team | Pending | ||
Review via email: mp+294585@code.launchpad.net |
Description of the change
Here's my first pass at reporting maximum keyboard height, for use by upper layers.
Unfortunately, it doesn't work. :( So I'm looking for advice.
In Keyboard.qml, fullScreenItem.
Is there an obvious way to size the qml correctly even when not visible? (Or should I just save the ratio from Qml and have the cpp calculate it from screen size?)
This will need lp:~mterry/qtmir/report-osk-max-height to match.
Unmerged revisions
- 473. By Michael Terry
-
Move logic down a level and have c++ calculate canvasheight and ribbonheight
- 472. By Michael Terry
-
Never mind version bump, qtmir doesn't actually dep on us
- 471. By Michael Terry
-
Bump version
- 470. By Michael Terry
-
Initial maxHeight support
I think you're going to have to send the ratio through from QML I'm afraid; while it is possible to access the screen size in QML that's only available via the QtQuick.Window module, and I'm not sure how advisable it is to mix this in with Ubuntu Components usage