Closed Bug 1903565 Opened 2 years ago Closed 1 year ago

Display the homepage as a thumbnail in tabs tray

Categories

(Firefox for Android :: Homepage, task, P3)

All
Android
task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: gl, Assigned: adhingra)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [group5])

Attachments

(2 external files, 1 obsolete file)

As part of Homepage as a New Tab, we will be able to see the homepage as a tab in the Tabs Tray. We currently only display thumbnails of websites and will need to add the ability to display a screenshot of the homepage.

From talking to Petru, here's something to try for getting a thumbnail screenshot of the homepage that could be stored in the existing thumbnail storage.

(In reply to Gabriel Luong [:gl] (ΦωΦ) from comment #1)

  • Important: Scale down the image. There should be an API specifically for this. Otherwise, the Bitmap will be 5-10MB in size, which might just be a bit too much for a thumbnail.

If you use the ThumbnailsStorage for storing it, then you get this for free.

Assignee: nobody → adhingra
Status: NEW → ASSIGNED

(In reply to Gabriel Luong [:gl] (ΦωΦ) from comment #1)

This unfortunately does not help us any more since we've moved the homescreen over to Compose and we should implement it just for that. adhingra is exporing this currently.

Whiteboard: [fxdroid] [group5]
Attachment #9499030 - Attachment is obsolete: true
Attachment #9498811 - Attachment description: WIP: Bug 1903565 - Display the homepage as a thumbnail in tabs tray → Bug 1903565 - Display the homepage as a thumbnail in tabs tray
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Pushed by adhingra@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8baedd6abf55 https://hg.mozilla.org/integration/autoland/rev/d0c89372983e Add background to homepage thumbnail based on theme. r=android-reviewers,jonalmeida
Regressions: 1978733
Regressions: 1978112
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: