Closed
Bug 627103
Opened 14 years ago
Closed 14 years ago
Double tap zoom/unzoom (with reflow) takes too long to respond
Categories
(Firefox for Android Graveyard :: Panning/Zooming, defect)
Firefox for Android Graveyard
Panning/Zooming
Tracking
(fennec2.0+)
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fennec | 2.0+ | --- |
People
(Reporter: stechz, Assigned: mbrubeck)
References
Details
(Keywords: perf, Whiteboard: [has-patch])
Attachments
(1 file)
|
743 bytes,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
STR (on Nexus One):
1. Go to news.google.com (desktop version)
2. Double tap
It takes over a second to do anything. Part of the problem is we are reflowing before we begin the zoom.
| Reporter | ||
Comment 1•14 years ago
|
||
It's about 5 seconds on p.m.o.
| Assignee | ||
Comment 2•14 years ago
|
||
We intentionally wait for reflow to finish before starting the animation; see bug 623313. If we don't want to revert that, maybe we should show some other user feedback in the meantime (like a highlight or outline of the double-tapped element).
| Assignee | ||
Updated•14 years ago
|
tracking-fennec: --- → ?
Updated•14 years ago
|
Summary: Double tapping takes too long to respond → Double tap zoom/unzoom takes too long to respond
Updated•14 years ago
|
tracking-fennec: ? → 2.0+
| Assignee | ||
Updated•14 years ago
|
Depends on: font-inflation
Updated•14 years ago
|
Assignee: nobody → mbrubeck
Updated•14 years ago
|
Summary: Double tap zoom/unzoom takes too long to respond → Double tap zoom/unzoom (with reflow) takes too long to respond
| Assignee | ||
Comment 3•14 years ago
|
||
With this patch, we will immediately zoom toward the element's current location, then do the reflow. When the reflow completes, we zoom toward the element's new location.
On pages like http://news.ycombinator.com/ where reflow is fast, this looks like a single zoom that changes direction mid-zoom.
On pages like http://planet.mozilla.org/ where reflow is very slow, this causes a zoom, then a pause for a second or more (the old content remains "fuzzy" during the pause because the content process is busy doing reflow), then another zoom after the reflow finishes.
On pages where the layout doesn't change significantly, the second zoom is not as noticeable. When it changes a lot, it is more disruptive.
Attachment #514849 -
Flags: review?(mark.finkle)
| Assignee | ||
Updated•14 years ago
|
Whiteboard: [has-patch][needs review]
Comment 4•14 years ago
|
||
Comment on attachment 514849 [details] [diff] [review]
patch
Let's see how this feels in nightlies
Attachment #514849 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
Whiteboard: [has-patch][needs review] → [has-patch]
| Assignee | ||
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
Verified fix on Mozilla/5.0 (Android; Linux armv71; rv:2.0b13pre)
Gecko/20110315 Firefox/4.0b13pre Fennec/4.0b6pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•