Closed Bug 599397 Opened 12 years ago Closed 12 years ago

Black flash before painting on resize

Categories

(Core Graveyard :: Widget: Android, defect)

All
Android
defect
Not set
normal

Tracking

(fennec2.0+)

RESOLVED FIXED
Tracking Status
fennec 2.0+ ---

People

(Reporter: stechz, Assigned: mwu)

Details

Attachments

(1 file)

On Fennec for Android, when the window size changes we see a black flash before things are repainted. Then everything reflows. This is really bad perceived performance. Ideally we'd preserve the old image until new content has been reflowed and painted, even if it takes a little longer to get things in order.
blocking2.0: --- → ?
blocking2.0: ? → ---
tracking-fennec: --- → ?
tracking-fennec: ? → 2.0+
This seems to only happen on Android, specifically when virtual keyboard comes up.

STR 1: focus text box in url screen
Sometimes, in latest nightlies, the black will stay until you press back or tap text box (or where you think the text box is).

STR 2: tap on input box on news.google.com
Attached patch FixSplinter Review
I accidentally fixed this while working on another bug.
Assignee: nobody → mwu
Status: NEW → ASSIGNED
Attachment #482118 - Flags: review?(vladimir)
Component: Graphics → Widget: Android
QA Contact: thebes → android
Hardware: ARM → All
Comment on attachment 482118 [details] [diff] [review]
Fix

heh, nice catch.
Attachment #482118 - Flags: review?(vladimir) → review+
http://hg.mozilla.org/mozilla-central/rev/02464be0030d
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.