Closed
Bug 760458
Opened 12 years ago
Closed 12 years ago
Thumbnails of RTL pages have black space
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox14 fixed, firefox15 verified, firefox16 verified, blocking-fennec1.0 .N+)
VERIFIED
FIXED
Firefox 15
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(2 files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
bnicholson
:
review+
mfinkle
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
See attached screenshot; the bottom-right thumbnail is of an RTL page (http://www.bbc.co.uk/persian/mobile/index.shtml) and has a bunch of black space. I believe the code in AndroidBridge::TakeScreenshot that calls GetScrollWidth and GetScrollHeight to calculate srcW and srcH also needs to update srcX and srcY to be the top-left corner of the page (it currently assumes 0,0 is top-left).
Comment 1•12 years ago
|
||
Not a 14 blocker, but we'd like to approve a patch
blocking-fennec1.0: ? → .N+
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #629311 -
Flags: review?(bnicholson)
Comment 3•12 years ago
|
||
Comment on attachment 629311 [details] [diff] [review]
Use GetRootBounds instead of GetScrollWidth/GetScrollHeight
This works fine, even on my weird RAZR.
Attachment #629311 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Sorry, I had to back this out on inbound because the patch depends on bug 755070 which was backed out for crashes:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d7b8fe3834b9
Assignee | ||
Comment 6•12 years ago
|
||
Re-landed since it doesn't functionally depend on bug 755070, it just needs some hand-merging.
https://hg.mozilla.org/integration/mozilla-inbound/rev/8afb46816482
Target Milestone: --- → Firefox 15
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 8•12 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 629311 [details] [diff] [review]
Use GetRootBounds instead of GetScrollWidth/GetScrollHeight
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 748384
User impact if declined: thumbnails on about:home for RTL pages may not render properly
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): low risk of screwing up thumbnails in general. android-only
String or UUID changes made by this patch: none
Attachment #629311 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #629311 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 629311 [details] [diff] [review]
Use GetRootBounds instead of GetScrollWidth/GetScrollHeight
Clearing aurora approval flag since this just rode the train from m-c into Aurora. Requesting beta approval instead (i.e. approval to land on the 14 branch).
Attachment #629311 -
Flags: approval-mozilla-aurora+ → approval-mozilla-beta?
Updated•12 years ago
|
Attachment #629311 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
Thumbnails are not displayed on Aurora 15.0a2 2012-06-07, Nightly 16.0a1 2012-06-08 and Firefox Mobile Beta 14.0b6. Bug 762899 tracks the issue. Leaving the bug open since it can't be verified.
Depends on: 762899
Updated•12 years ago
|
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•