HTML5 container content does not adjust for presence of on-screen keyboard

Bug #1296463 reported by Robert Schroll
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu HTML5 UI SDK
Fix Released
High
Adnane Belmadiaf
ubuntu-html5-theme (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When the OSK is triggered in an HTML5 app, it covers the bottom section of the app, making it inaccessible. In contrast, the browser adjusts its bottom to line up with the top of the OSK, so that all the content is visible.

The attached test case offers a text input which will trigger the OSK. Notice that the toolbar is hidden when running in the HTML5 container, but it moves up to stay visible when running in the browser.

This is seen on an emulator running r226.

Tags: patch

Related branches

Revision history for this message
Robert Schroll (rschroll) wrote :
Revision history for this message
Adnane Belmadiaf (daker) wrote :
Changed in ubuntu-html5-theme:
status: New → Triaged
David Barth (dbarth)
Changed in ubuntu-html5-theme:
milestone: none → 14.04
importance: Undecided → High
Revision history for this message
Robert Schroll (rschroll) wrote :

Here's a patch that gets things working on the emulator for me. Note that you also have to make sure QML can find KeyboardRectangle.qml. I did this by copying (one of the copies of) it to the WebApps directory; perhaps there's a more elegant way.

Revision history for this message
Adnane Belmadiaf (daker) wrote :

@Robet can you test the MR i proposed ?

Changed in ubuntu-html5-theme:
status: Triaged → In Progress
Revision history for this message
Robert Schroll (rschroll) wrote :

That does it. Thanks!

Adnane Belmadiaf (daker)
Changed in ubuntu-html5-theme:
assignee: nobody → Adnane Belmadiaf (daker)
David Barth (dbarth)
Changed in ubuntu-html5-theme:
status: In Progress → Fix Committed
Changed in ubuntu-html5-theme (Ubuntu):
status: New → In Progress
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "osk.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-html5-theme - 0.1.2+14.04.20140404-0ubuntu1

---------------
ubuntu-html5-theme (0.1.2+14.04.20140404-0ubuntu1) trusty; urgency=low

  [ Alexandre Abreu ]
  * Connect qmlengine quit signal to app quit slot (LP: #1299563)
  * Fix issues with the toolbar buttons: make sure that we dont
    preventDefault() in all cases (even when the user tries to
    click()),. make sure that the user's intent seems like
    hiding/showing before doing so,. (LP: #1222874)

  [ Adnane Belmadiaf ]
  * Removed unused locales.json

  [ David Barth ]
  * This branch aggregates 3 branches to help resolve SASS/CSS conflicts
    on the same file: merge of fix.1286362. merge of typography-update.
    merge of the fix.gallery-dialog branch .

  [ daker ]
  * Fixed toolbar declaration (LP: #1286833)
  * Adjust the content when the keyboard appears (LP: #1296463)

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Kyle Nitzsche ]
  * 1) Fix lp bug https://bugs.launchpad.net/ubuntu-html5-
    theme/+bug/1241029 2) Improve doc building as follows: * add build
    script for docs: yuidoc-build.sh.(same as in unity-webapps-qml) *
    add docslib.py, used by yuidoc-build.sh to obtain bzr branch rev and
    insert it into yuidoc.json for use during build * add
    DOCSREADMET.txt: critical info about building docs * yuidoc.json:
    add majorversion field and set it to current framework: html-14.04-
    dev. The bzr branch rev is appended to this to create useful version
    field, which is consumed by yuidoc build and inserted into built
    html. As a result, the built index.html states the framework and the
    branch bzr rev as follows: "API Docs for: HTML-14.04-dev~bzr155"
    (LP: #1287826)
 -- Ubuntu daily release <email address hidden> Fri, 04 Apr 2014 14:12:11 +0000

Changed in ubuntu-html5-theme (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-html5-theme:
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

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.