Closed
Bug 712037
Opened 13 years ago
Closed 13 years ago
[viewport] Insufficient logging to diagnose viewport bugs
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(2 files, 1 obsolete file)
1.11 KB,
patch
|
cwiiis
:
review+
|
Details | Diff | Splinter Review |
13.13 KB,
patch
|
cwiiis
:
review+
|
Details | Diff | Splinter Review |
Many viewport-related bugs are being reported, but many of these issues are hard to reproduce, so we need more logging in the published builds to capture necessary information. This logging can be removed if/when all the bugs are fixed.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #582873 -
Flags: review?(chrislord.net)
Comment 2•13 years ago
|
||
Comment on attachment 582873 [details] [diff] [review]
Logging!
Review of attachment 582873 [details] [diff] [review]:
-----------------------------------------------------------------
While we definitely want more logging for error cases, this would make us far too verbose. It'd be impossible to debug anything else without filtering out these statements first (and I wonder if logging so frequently may have a noticeable effect on performance). Would it be possible to depend on a pref or environment variable? If not, is this really a good idea? I'm open to being persuaded.
Attachment #582873 -
Flags: review?(chrislord.net) → review-
Comment 3•13 years ago
|
||
I'm ok with this amount of logging, but could we have a more succinct description of the viewport metrics? That would cut down the chatter a bit.
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #582965 -
Flags: review?(pwalton)
Assignee | ||
Comment 5•13 years ago
|
||
As per the discussion during the gfx vidyo meeting, we really need this in to be able to diagnose these paper cut issues. I've compacted down the message so it's less intrusive and has a smaller performance impact. And we can take this out once we have the bugs figured out.
Attachment #582873 -
Attachment is obsolete: true
Attachment #582966 -
Flags: review?(pwalton)
Updated•13 years ago
|
Priority: -- → P4
Comment 6•13 years ago
|
||
Comment on attachment 582965 [details] [diff] [review]
(1/2) Add a toString() on the Viewport for succinct stringification
Review of attachment 582965 [details] [diff] [review]:
-----------------------------------------------------------------
Looks fine to me.
Attachment #582965 -
Flags: review+
Comment 7•13 years ago
|
||
Comment on attachment 582966 [details] [diff] [review]
(2/2) Add logging for viewport and panzoom changes
Review of attachment 582966 [details] [diff] [review]:
-----------------------------------------------------------------
Also looks fine. My only comment is that perhaps the logging in LayerController should also log the given parameters where appropriate (so all functions except setViewportMetrics).
Attachment #582966 -
Flags: review+
Assignee | ||
Comment 8•13 years ago
|
||
Thanks for the reviews!
> Also looks fine. My only comment is that perhaps the logging in
> LayerController should also log the given parameters where appropriate (so
> all functions except setViewportMetrics).
For most of those functions the parameters just get set straight into the viewport, so the viewport dump includes the the parameters indirectly. I added the zoom factor to the scale functions though, since that might be useful.
Assignee | ||
Updated•13 years ago
|
Attachment #582965 -
Flags: review?(pwalton)
Assignee | ||
Updated•13 years ago
|
Attachment #582966 -
Flags: review?(pwalton)
Assignee | ||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/93c52bc7b68c
https://hg.mozilla.org/mozilla-central/rev/3186b335b70b
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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
•