Closed Bug 625444 Opened 14 years ago Closed 14 years ago

Switching from about:home to a remote tab and back results in a gray screen

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wesj, Assigned: stechz)

Details

Attachments

(1 file)

Switching from about:home to a remote tab and back results in a gray screen. Likely fallout from the iframe panning stuff.
STR:

1.) Open about:home
2.) Open a link to a remote tab
3.) Switch back to the about:home tab

Results: Nothing is shown.
Assigning this to ben because he has a patch mostly in place. We think this likely has to do with local tabs setting their display port when active = false is called. That behavior isn't well defined, and we should probably just avoid doing it, as well as calling other methods like _updateCacheViewport on local tabs.
Assignee: nobody → ben
Attachment #503584 - Flags: review?(wjohnston)
Comment on attachment 503584 [details] [diff] [review]
Switching to about:home can result in a gray screen

Looks good. Might be nice to throw something or add some debug spew for the local tab _updateCSSViewport and _updateCacheViewport pieces.
Attachment #503584 - Flags: review?(wjohnston) → review+
(In reply to comment #3)
> Comment on attachment 503584 [details] [diff] [review]
> Switching to about:home can result in a gray screen
> 
> Looks good. Might be nice to throw something or add some debug spew for the
> local tab _updateCSSViewport and _updateCacheViewport pieces.

I'm not sure I'd do that. I have a patch that calls updateCSSViewport on any browser.
Pushed http://hg.mozilla.org/mobile-browser/rev/25b64d5b6c94
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
verified FIXED on build:
Mozilla/5.0 (Android; Linux armv71; rv:2.0b9pre) Gecko/20100114 Namoroka/4.0b10pre Fennec/4.0b4pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: