Closed Bug 903049 Opened 11 years ago Closed 11 years ago

[Browser] Top Sites are Blurry

Categories

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

All
Other
defect

Tracking

(blocking-b2g:hd+, b2g-v1.1hd fixed)

VERIFIED FIXED
blocking-b2g hd+
Tracking Status
b2g-v1.1hd --- fixed

People

(Reporter: epang, Assigned: gasolin)

Details

(Whiteboard: helix vsd [sprintready], HD)

Attachments

(4 files, 1 obsolete file)

The top sites on the starting browser page are blurry.  Is there anything that can be done to make them sharp?
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Attached image Browser - Top Sites.png
Pavel, I was referring to these.  Sorry I didn't attach a screen before.  Do you know if they will be fixed with the other bug?
Flags: needinfo?(pivanov)
Oh I understand ...
no I don't other bug but these are screenshot and I thing they are made by the platform. Maybe we need to ask Ben?
Status: RESOLVED → REOPENED
Flags: needinfo?(pivanov)
Resolution: DUPLICATE → ---
(In reply to Pavel Ivanov [:ivanovpavel] from comment #3)
> Oh I understand ...
> no I don't other bug but these are screenshot and I thing they are made by
> the platform. Maybe we need to ask Ben?

Hi Ben, do you know if there's anything that we can do to help the blurriness of the top site screens on the browser start page?  Thanks!
Flags: needinfo?(bfrancis)
Whiteboard: helix vsd → helix vsd [sprintready]
adding status-b2g-v1.1hd:? flag
We shouldn't be doing any scaling, we specify the size of the thumbnail we want in the getScreenshot method of the Browser API.

Dale, it seemed you might have an idea of what might be going on during triage?
Flags: needinfo?(bfrancis) → needinfo?(dale)
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/55162828
Dale, you're probably the better assignee for this bug here?
blocking-b2g: hd? → hd+
Assignee: pivanov → nobody
Generally we can take screenshot with 1.5*MAX_THUMBNAIL_WIDTH image and resize it to the origin MAX_THUMBNAIL_WIDTH. (not need because we use 'cover' in background-size)

We have to scale up the size because to show the same size (140px) in 1.5x pixel density device, we actually need (140*1.5 px) image to fill it. Or the image will be zoom out to show at the same size on screen.
Assignee: nobody → gasolin
Attachment #791164 - Flags: review?(bfrancis)
Attached image sharp topsite (obsolete) —
screenshot after patched
Attached image sharp topsite
Attachment #791167 - Attachment is obsolete: true
(In reply to Fred Lin [:gasolin] from comment #12)
> Created attachment 791176 [details]
> sharp topsite

This looks much better, thanks Fred for your work on this!
Comment on attachment 791164 [details]
pull request redirect to github

Thanks for the patch
Attachment #791164 - Flags: review?(bfrancis) → review+
I can't test this without an HD device (it will have no effect on Unagi where pixel ratio is 1), but the code looks good.

https://github.com/mozilla-b2g/gaia/commit/4c57c9b72f0277b5d0d9e4a7c5a13ac1eb7a1732
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Flags: needinfo?(dale)
Resolution: --- → FIXED
Whiteboard: helix vsd [sprintready] → helix vsd [sprintready], HD
Well done! Thanks for your help! Verified the patch.

* Test build:(Mozilla Central-helix/2013-08-25-04-22-01)
  + Mercurial-Information
    - Gecko revision="f392714dea0b"
  + Git-information
    - Gaia revision="7b61b7dc3400d5bea23d2b52948f4fded8259dfc"


Attaching the screenshot. Marked as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: