Closed Bug 601367 Opened 14 years ago Closed 14 years ago

Black screen flicker when virtual keyboard opens and closes in awesome screen

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(fennec2.0b3+)

VERIFIED FIXED
Tracking Status
fennec 2.0b3+ ---

People

(Reporter: aaronmt, Assigned: mwu)

References

Details

(Keywords: relnote, Whiteboard: [VKB])

Attachments

(1 file)

Mozilla/5.0 (Android; Linux armv7l; rv:2.0b7pre) Gecko/20100102 Firefox/4.0b7pre Fennec/4.0b2pre
 
Essentially, every time I visit the Awesome Screen and tap the location bar, the screen will flicker black as the virtual keyboard appears.

Using a Motorola Milestone with 2.2.1 and IMEI (3583360301051600) Motorola Keyboard
tracking-fennec: --- → ?
We should update our software keyboard testcases if this is fixed.
Flags: in-litmus?(nhirata.bugzilla)
There is also a black flicker (taking up the dimensions of the virtual keyboard) when the virtual keyboard closes.
Summary: Screen flicker when virtual keyboard appears in awesome screen → Screen flicker when virtual keyboard opens and closes in awesome screen
Summary: Screen flicker when virtual keyboard opens and closes in awesome screen → Black screen flicker when virtual keyboard opens and closes in awesome screen
Summary: Black screen flicker when virtual keyboard opens and closes in awesome screen → [VKB]Black screen flicker when virtual keyboard opens and closes in awesome screen
As per comment 2, I can repro by:
1) placing the device in portrait view
2) going to google.com
3) click in the text field to bring up VKB
4) open a side panel
Summary: [VKB]Black screen flicker when virtual keyboard opens and closes in awesome screen → Black screen flicker when virtual keyboard opens and closes in awesome screen
Whiteboard: [VKB]
Assignee: nobody → crowderbt
tracking-fennec: ? → 2.0b3+
The flickering should be largely fixed by bug 599397. The black area left when the keyboard resizes, however, is still there. Morph/close/open new bug as necessary.
(In reply to comment #4)
> The flickering should be largely fixed by bug 599397. The black area left when
> the keyboard resizes, however, is still there. Morph/close/open new bug as
> necessary.

Confirming that with bug 599397 landing this issue persists.
Keywords: relnote
I can not reproduce this.  Is anyone else still seeing this?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Every time the virtual keyboard opens up and drops in Fennec on my Milestone
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
The Android browser actually does this same graphical behavior, only the background they draw over the "unowned" area after the resize is white, rather than black.
mwu is going to own this, hacking the drawing code to issue white (or, as discussed on IRC for a future enhancement, using the background color of the top-level element on-screen).
Assignee: crowderbt → mwu
This makes the drawing code even more paranoid about locking the canvas unnecessarily, and improves the reliability of sync draws. It also adds a bunch of comments about locking in the drawing path.
Attachment #489576 - Flags: review?(vladimir)
http://hg.mozilla.org/mozilla-central/rev/65b8060f0ea9
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Michael, some clarification? While I can safely say I see no more black flicker, I still see flicker albeit the drawing code as you mentioned and what I see is white. From what I see this is still more visible on Fennec than the Android Browser. 

Tested on a Motorola Milestone and Nexus One device.
(In reply to comment #12)
> Michael, some clarification? While I can safely say I see no more black
> flicker, I still see flicker albeit the drawing code as you mentioned and what
> I see is white. From what I see this is still more visible on Fennec than the
> Android Browser. 
> 
> Tested on a Motorola Milestone and Nexus One device.

If the flicker of white is within the keyboard region, it is as expected. If there is a flash of white within the non-keyboard region, it isn't expected.
I just noticed an interesting trick that the default browser does - it clears the entire screen to white before showing the url completion popup. I'll file a bug for doing that trick in our frontend.
Blocks: 611554
verified FIXED on builds:
Mozilla/5.0 (Android; Linux armv71; rv:2.0b8pre) Gecko/20101111 Namoroka/4.0b8pre Fennec/4.0b3pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: