Closed
Bug 487485
Opened 16 years ago
Closed 15 years ago
Canvas snaps back to top of page at end of page load even after user pans away
Categories
(Firefox for Android Graveyard :: Panning/Zooming, defect)
Firefox for Android Graveyard
Panning/Zooming
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bcombee, Assigned: bcombee)
Details
Attachments
(1 file, 2 obsolete files)
843 bytes,
patch
|
mfinkle
:
review-
|
Details | Diff | Splinter Review |
A change in CanvasBrowser.js causes the endLoading event to pan the page back to 0,0 and end of loading. This needs to be fixed.
Flags: wanted-fennec1.0?
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #371711 -
Flags: review?(pavlov)
Assignee | ||
Updated•16 years ago
|
Attachment #371711 -
Attachment is patch: true
Assignee | ||
Comment 2•16 years ago
|
||
This applies cleanly over my CanvasBrowser cleanup patch now
Attachment #371711 -
Attachment is obsolete: true
Attachment #374096 -
Flags: review?(mark.finkle)
Attachment #371711 -
Flags: review?(pavlov)
Assignee | ||
Comment 3•16 years ago
|
||
OK, I just validated that this fixed Planet Mozilla on Win32 desktop... without this, the page would jump back to top when it finished loading, even if I'd scrolled down. With this, I don't get that snap back.
I need to update this slightly to change panTo(0,0) to be panTo(0,-60) to avoid not showing the toolbar while loading a new page. That's coming right now.
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #374096 -
Attachment is obsolete: true
Attachment #374373 -
Flags: review?(mark.finkle)
Attachment #374096 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Updated•16 years ago
|
Flags: wanted-fennec1.0? → wanted-fennec1.0+
Comment 5•16 years ago
|
||
Comment on attachment 374373 [details] [diff] [review]
update panTo location to match what's needed
I don't think we even need to keep the "needToPanToTop" test in CanvasBrowser.zoomPage. The new check you add seems to always get called first.
I don't like "needToPanToTop" and I don't want to build more on top of it, if possible.
I have an alternative that removes "needToPanToTop" altogether. Together with the patch in bug 484234, the results seem to be quite good.
Attachment #374373 -
Flags: review?(mark.finkle) → review-
Comment 6•16 years ago
|
||
(In reply to comment #5)
> (From update of attachment 374373 [details] [diff] [review])
> I have an alternative that removes "needToPanToTop" altogether. Together with
> the patch in bug 484234, the results seem to be quite good.
Trickier than I hoped. Also, the panTo itself is sort of expensive (takes time), so trying to piggy back it into a batch update, as Taras had done, as a good goal.
My current WIP is not in a batch, so I'll try to find a way to get it in a batch.
Comment 7•15 years ago
|
||
this is fixed now
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
verified FIXED on builds:
Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a1pre) Gecko/20090820
Fennec/1.0b3pre
and
Mozilla/5.0 (Macintosh; U; Intel Mac OSX 10.5; en-US; rv:1.9.2a2pre)
Gecko/20090808 Fennec/1.0b3pre
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Component: General → Panning/Zooming
You need to log in
before you can comment on or make changes to this bug.
Description
•