Closed Bug 1097304 Opened 10 years ago Closed 8 years ago

When dismissing the keyboard the content underneath takes time to repaint


(Core :: Panning and Zooming, defect)

34 Branch
Gonk (Firefox OS)
Not set



Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected


(Reporter: rmitchell, Unassigned)




(Keywords: perf, Whiteboard: [2.1-exploratory-3][gfx-noted])


(1 file)

Attached file flickercat
when pressing the X on contact search to dismiss the keyboard flickering occurs

Repro Steps:
1) Update a Flame to 20141111001201 
2) Launch loop app>Log in > go to contacts
3) Tap search > tap the X button on the search 

flicker occurs

No flicker occurs

Device: Flame 2.1 (319mb)(Kitkat Base)(Shallow Flash)
BuildID: 20141111001201
Gaia: 7154f9aa0a69af56c8bd89be0c98d9791449527b
Gecko: 452db1a0c9a0
Version: 34.0 (2.1)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

Repro frequency:100%
See attached:logcat,video:
Flags: needinfo?(dharris)
This issue DOES not  occur on  2.0 (319mb)(Kitkat Base)(Shallow Flash)
no flicker occurs

Flame 2.0

Device: Flame 2.0 (319mb)(Kitkat Base)(Shallow Flash)
BuildID: 20141111000205
Gaia: dfdd6268b9784eafdd509f0ddf71407698ed5080
Gecko: fcc5d31f84d7
Version: 32.0 (2.0)
Firmware: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
Unable to test on  2.2 (319mb)(Kitkat Base)(Shallow Flash) due to

Flame 2.2

Device: Flame 2.2 Master (319mb)(Kitkat Base)(Shallow Flash)
BuildID: 20141111040202
Gaia: 6af3a8a833eb8bb651e8b188cb3f3c3a43bb4184
Gecko: 76b85b90a8cb
Version: 36.0a1 (2.2)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
QA Whiteboard: [QAnalyst-Triage?]
This is a minor flickering issue.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris)
Not sure here the problem is on Loop App. I guess is a contact app problem
Moving to Contacts component
Component: Gaia::Loop → Gaia::Contacts
I have some trouble to see the flicker. Where should I look at, on the video?
Flags: needinfo?(rmitchell)
sorry about that, we were having some glare issues that day. Here is a new video with a better view of the flicker
Flags: needinfo?(rmitchell)
I can reproduce this kind of flicker on the Marketplace app with the search field: a white rectangle remains while the keyboard goes down.
Moving this issue to gecko.
Component: Gaia::Contacts → Panning and Zooming
Product: Firefox OS → Core
Version: unspecified → 34 Branch
Johan, can you provide a video of what you're seeing? The flicker in the video in comment 6 sounds different from a "white rectangle"
Flags: needinfo?(jlorenzo)
In the video in comment 6, I see a "black rectangle" when the keyboard goes down. Here's what I see on Marketplace: It might be a simple performance issue.
Flags: needinfo?(jlorenzo)
As far as I can tell it's just a perf issue. When the keyboard disappears the window gets resized and stuff needs to get repainted, so it takes time. In theory bug 970093 is supposed to help with this.

However I'm surprised that this is a regression in 2.1 because as I understand it, the bug should manifest in previous versions as well. If this is new to 2.1 and important to fix then we should get a regression window to see what broke it.
QA Contact: ckreinbring
I am able to repro the bug in 2.0, although the appearance is a little different.  The area that the keyboard vacates shows white instead of black as the keyboard closes, so the user must have enough contacts to completely fill the page.

YouTube link:

BuildID: 20140602073004
Gaia: 82679a5ce84d1b6bf388da6536d5682a3ad56de3
Gecko: 6a984e21c2ca
Platform Version: 32.0a1
Firmware Version: V123
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Ok, in that case this is just a perf bug.
Summary: [Loop]Firefoxhello! when pressing the X on contact search to dismiss the keyboard visual error occurs → When dismissing the keyboard the content underneath takes time to repaint
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
QA Contact: ckreinbring
Keywords: perf
Whiteboard: [2.1-exploratory-3] → [2.1-exploratory-3][gfx-noted]
B2G is no more.
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.