Closed
Bug 716855
Opened 13 years ago
Closed 13 years ago
[Page Thumbnails] Screenshots should contain the the top-left corner
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 12
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 file)
2.83 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
The crop rectangle for thumbnails is currently determined by a simple panning algorithm that also adds an x+y offset. Remove that offset so that thumbnails always contain the top-left corner.
Assignee | ||
Comment 1•13 years ago
|
||
Simple patch removing the x and y offset when determining the crop rectangle/size.
Assignee | ||
Updated•13 years ago
|
Attachment #587294 -
Flags: review?(dietrich)
Comment 2•13 years ago
|
||
Comment on attachment 587294 [details] [diff] [review]
patch v1
Review of attachment 587294 [details] [diff] [review]:
-----------------------------------------------------------------
changes look, r=me. is a test needed, or will current tests cover this change?
Attachment #587294 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #2)
> changes look, r=me. is a test needed, or will current tests cover this
> change?
We currently have tests that only check single-color pages (so they see no difference). Not sure if we should add a test for this while we're still searching for the ideal thumbnailing algorithm.
Assignee | ||
Comment 4•13 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/e3e1d313f956
We'll create more specific tests for the thumbnail algorithm once we figured out what seems the right fit for us.
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 12
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #4)
> We'll create more specific tests for the thumbnail algorithm once we figured
> out what seems the right fit for us.
Filed bug 721329.
Assignee | ||
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
You need to log in
before you can comment on or make changes to this bug.
Description
•