Closed Bug 950766 Opened 11 years ago Closed 10 years ago

[B2G][Window Management] wrapper UI incorrectly shows background when keyboard is shown

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.4+, firefox29 affected, b2g-v1.3 unaffected, b2g-v1.4 fixed)

RESOLVED FIXED
1.3 C2/1.4 S2(17jan)
blocking-b2g 1.4+
Tracking Status
firefox29 --- affected
b2g-v1.3 --- unaffected
b2g-v1.4 --- fixed

People

(Reporter: mvaughan, Assigned: gasolin)

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

Description:
When attempting to sign into an app, such as Facebook, Twitter, Google+, etc., that has been saved to the Homescreen from E.me, the login screen for the apps can become incorrectly displayed after evoking the keyboard. The login screen will appear too short and expose a part of the Homescreen at the bottom of the screen. If the keyboard is on the screen, the part of the exposed Homescreen can be seen just above the keyboard. This issue will not appear until the user brings up the keyboard. From then on this issue will be present until the user reboots the device.

This issue does NOT occur when signing in via a website in the Browser. This issue does occur on some apps that were installed from the Marketplace (e.g. Facebook will repro this issue but Twitter will not).

Prerequisites:
Have an active WiFi or data connection.

Repro Steps:
1) Update Buri to Master M-C (1.4) BuildID: 20131216040201
2) Navigate to E.me screen
3) Tap on the Social collection
4) Save Facebook to the Homescreen
5) Back out to the Homescreen
6) Tap on Facebook
7) Attempt to sign in

Actual:
The login screen is displayed with a part of the Homescreen background visible at the bottom (just above the keyboard).

Expected:
The Homescreen cannot be seen in any way from the login screen with or without the keyboard.

Environmental Variables:
Device: Buri v1.4 MOZ RIL
BuildID: 20131216040201
Gaia: 358cd74fd2b2ef5d541f71a5d53d65d6a7335424
Gecko: f67feb33a974
Version: 29.0a1
Firmware Version: 20131115

Notes:
Repro frequency: 4/4 100%
See attached: LoginScreen.png & LoginScreenIssue.ogg

This issue does NOT occur on the Buri 12/16 1.3 build.
In addition, the Homescreen background can be seen above the keyboard for just a moment when switching between the username text box and the password text box on a login screen for an app not saved to the Homescreen. Therefore, this can been seen when logging in anywhere such as in the Browser.
This issue started reproducing on the 12/11 Master M-C (1.4) build.

- Works -
Environmental Variables:
Device: Buri 1.4 MOZ RIL
BuildID: 20131210040206
Gaia: c952e2756c03eceb4de6a3eba15651741a62f9e8
Gecko: df82be9d89a5
Version: 29.0a1
Firmware Version: 20131115

- Broken -
Environmental Variables:
Device: Buri 1.4 MOZ RIL
BuildID: 20131211040203
Gaia: 6415b8b44068596404c10365394544e94edd5ce5
Gecko: 12ea03a70243
Version: 29.0a1
Firmware Version: 20131115
Might be a wrapper UI bug.
blocking-b2g: --- → 1.4?
Component: Gaia::Homescreen → Gaia::System::Window Mgmt
See regression window in comment 2.
Assignee: nobody → alive
Assignee: alive → gasolin
any app run with wrapper UI will be affected by this bug
Summary: [B2G][Homescreen] The login screen for apps saved to the Homescreen from E.me can incorrectly be displayed → [B2G][Window Management] wrapper UI incorrectly shows background when keyboard is shown
Attached file pull request redirect to github (obsolete) —
add AppChrome getBarHeight to report correct wrapper UI height
Attachment #8355121 - Flags: review?(alive)
Comment on attachment 8355121 [details] [review]
pull request redirect to github

Please try not cause reflow.
Also unit test please.
Attachment #8355121 - Flags: review?(alive)
store the result and add unittest
Attachment #8355121 - Attachment is obsolete: true
Attachment #8357655 - Flags: review?(alive)
Attachment #8357655 - Flags: review?(alive) → review+
merged to gaia-master https://github.com/mozilla-b2g/gaia/commit/1652338df5c3ade10adbfd047acc1aead0b17c5b

thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
blocking-b2g: 1.4? → 1.4+
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: