Closed Bug 1099091 Opened 12 years ago Closed 11 years ago

[B2G][Flame][Browser] Browser displays white screen, address bar and add tab button are not shown

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0M affected)

RESOLVED FIXED
Tracking Status
b2g-v2.0M --- affected

People

(Reporter: sridhar.3728, Assigned: yifan)

Details

(Whiteboard: [LibGLA,TD130138,QE5,A])

Attachments

(9 files, 1 external file)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20141113030201 Steps to reproduce: Device: Flame OS Version: 2.0.0.0 Git Commit Info: 2014-10-10 07:25:55 8c5c956e Precondition : Set up data connectivity 1. Open browser and got to the home page of Mozilla (https://www.mozilla.org) 2. After the home page is opened, select address bar and type https://support.mozilla.org and select go button. 3. While that page is loading, scroll down the current page and select the add tab button. 4. Tabs window is now opened Actual results: After page loading is done, browser displays a blank white screen, address bar and add tab button are not shown. Press home button and open browser again, it still displays white screen. Expected results: Browser shouldn't display blank white screen, it should show the address bar and add tab button.
Attached video to reproduce this issue. As the video file is large I have split and attached the files. Kindly download all the attached files and extract using winzip to watch the video.
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Whiteboard: [LibGLA,TD130138,QE5,A]
Flags: needinfo?(ryang)
Hi Yifan, would you please look into the issue ? Thank you very much!
Flags: needinfo?(ryang) → needinfo?(yliao)
Assignee: nobody → yliao
Flags: needinfo?(yliao)
The root cause is: after loaded mozilla.org and clicked support.mozilla.org in step 2, before the 'mozbrowserloadstart' event received, a couple 'mozbrowserasyncscroll' events are received because of step 3. 'mozbrowserasyncscroll' event will hide the address bar which in turn causes the white screen. Will come up with a patch shortly.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file pull request for v2.0 —
Sorry I was wrong about the root cause. It's because the 'mozbrowserloadend' event will call 'handleScroll' function using the current scrollTop, which is not needed when displaying tabs screen. The fix checks if the current screen is page screen in 'mozbrowserloadend' event handler.
Attachment #8524369 - Flags: review?(dale)
Comment on attachment 8524369 [details] [review] pull request for v2.0 This fix looks good, thanks
Attachment #8524369 - Flags: review?(dale) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: