Closed
Bug 605215
Opened 15 years ago
Closed 15 years ago
[Regression] Multitouch: zoom goes toward the opposite side of the page with tab sidebar visible
Categories
(Firefox for Android Graveyard :: Panning/Zooming, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: aakashd, Assigned: mbrubeck)
Details
Attachments
(1 file, 2 obsolete files)
|
3.93 KB,
patch
|
stechz
:
review+
|
Details | Diff | Splinter Review |
Build Id:
Mozilla/5.0 (Android; Linux armv71; rv:2.0b8pre) Gecko/20101018 Namoroka/4.0b8pre Fennec/4.0b2pre
Steps to Reproduce:
1. Go to a zoomable page (I used AMO)
2. Wipe to the right to open the tab sidebar
3. Try to start a multitouch zoom on the "Categories" column
Actual Results:
The page zooms in from the right (opposite side of the page)
Expected Results:
The page zooms in to the left where my fingers are.
| Reporter | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → mbrubeck
| Assignee | ||
Comment 1•15 years ago
|
||
We used to always hideSidebar and hideTitlebar at pinch start, so that chrome client coordinates and browser coordinates had the same origin.
I'm not sure when we stopped doing hiding the toolbars during pinch. We could just go back to hiding them, but I think it's better to make it work correctly while they are open. This patch makes all coordinates relative to the browser element.
This only affects pinch zoom - we still hide toolbars and sidebars at the start of double-tap and volume-rocker zoom. (With this patch we could stop doing that, but for double-tap in particular it feels better to automatically hide the sidebars so that the tapped element can fill the screen.)
Attachment #484151 -
Flags: review?(ben)
| Assignee | ||
Comment 2•15 years ago
|
||
Uploaded the wrong version of the patch by accident.
Attachment #484151 -
Attachment is obsolete: true
Attachment #484176 -
Flags: review?(ben)
Attachment #484151 -
Flags: review?(ben)
| Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 484176 [details] [diff] [review]
patch v2
I've found a problem with this patch - if the urlbar is onscreen when you start zooming, it remains onscreen afterward even if the top of the page is no longer visible, and stays floated unless you drag to scroll down the page.
It might be best to continue to hide the toolbars either before or after zooming - or at least try to unfloat the urlbar.
Attachment #484176 -
Flags: review?(ben)
| Assignee | ||
Comment 4•15 years ago
|
||
Go back to hiding the sidebar and top bar after the zoom is finished, to fix the problem noted above.
Attachment #484176 -
Attachment is obsolete: true
Attachment #484335 -
Flags: review?(ben)
Updated•15 years ago
|
Attachment #484335 -
Flags: review?(ben) → review+
Comment 5•15 years ago
|
||
Comment on attachment 484335 [details] [diff] [review]
patch
Oops accidentally hit r+ before asking where we actually hide the urlbar and sidebars?
Attachment #484335 -
Flags: review+ → review?
| Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #5)
> Comment on attachment 484335 [details] [diff] [review]
> patch
>
> Oops accidentally hit r+ before asking where we actually hide the urlbar and
> sidebars?
In Browser.setVisibleRect.
Updated•15 years ago
|
Attachment #484335 -
Flags: review? → review+
| Assignee | ||
Comment 7•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 8•15 years ago
|
||
verified FIXED on build:
Mozilla/5.0 (Android; Linux armv71; rv:2.0b8pre) Gecko/20101019 Namoroka/4.0b8pre Fennec/4.0b2pre
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
tracking-fennec: ? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•