url field disappears when invoking keyboard in rotated mode

Bug #1182178 reported by Bill Filler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app
Fix Released
High
Olivier Tilloy

Bug Description

Galaxy Nexus
Build 125 + maliit-keyboard_*_0.95.2phablet6 from ppa

Steps to reproduce:
1) launch browser
2) bring up url field by tapping on bottom part of the screen, do NOT bring up keyboard yet
3) rotate to landscape mode
4) now tap in url field to bring up keyboard

Expected result:
- keyboard appears and url field visible

Actual result:
- url field scrolls off the screen as soon as keyboard becomes visible in landscape mode

Bill Filler (bfiller)
Changed in webbrowser-app:
milestone: none → ubuntu-13.05
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → High
Revision history for this message
Olivier Tilloy (osomon) wrote :

I can reliably reproduce on Galaxy Nexus with build 128 + maliit-keyboard-*_0.95.2phablet6 from the phablet-team PPA.

Changed in webbrowser-app:
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

I’ve added some logging to the KeyboardRectangle component that tracks the size of the OSK, and it appears that when the OSK is invoked while in landscape mode, the width and height of Qt.inputMethod.keyboardRectangle are inverted: on the Galaxy Nexus that has a screen resolution of 720×1280, the keyboard rectangle is reported as QRectF(360, 0, 360, 1280).

I could work around this behaviour by detecting the current orientation and swapping the width and height when in landscape mode, but I believe this is a bug in either maliit-keyboard or Qt itself that should be fixed there, otherwise all applications will have to work around it in a similar way.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Re-assigning to Thomas for investigation.

Changed in webbrowser-app:
assignee: Olivier Tilloy (osomon) → Thomas Moenicke (thomas-moenicke)
Revision history for this message
Thomas Moenicke (thomas-moenicke) wrote :
Changed in webbrowser-app:
status: Confirmed → Fix Committed
Revision history for this message
Bill Filler (bfiller) wrote :

the merge request does not fix this bug. the url field scrolls off the view after rotating and tapping in it.
This was tested with build 130 on GN

Changed in webbrowser-app:
status: Fix Committed → Confirmed
Revision history for this message
Bill Filler (bfiller) wrote :

confirmed still broken in build 138, but behavior slightly different:

1) open browser
2) invoke url, keyboard
3) rotate
4) start typing news.com in the url field
5) the url field disappears afer typing the second charater "e"

or
When in rotatated mode, type in a few characters and then press the backspace/delete key on the keyboard and the url field disappears

Changed in webbrowser-app:
assignee: Thomas Moenicke (thomas-moenicke) → Olivier Tilloy (osomon)
Revision history for this message
Olivier Tilloy (osomon) wrote :

I cannot reproduce the issue described in the previous comment with build 140 (nor the original issue, for that matter):
  - webbrowser-app 0.20daily13.05.22ubuntu.unity.next-0ubuntu1
  - maliit-keyboard 0.95.2phablet8

Changed in webbrowser-app:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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