Closed
Bug 700654
Opened 14 years ago
Closed 14 years ago
[layers] Different tabs don't have different visible areas
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(firefox11 fixed, fennec11+)
VERIFIED
FIXED
People
(Reporter: kats, Assigned: cwiiis)
References
Details
Attachments
(1 file, 3 obsolete files)
|
15.33 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
Open two tabs, zoom/pan in one of them. Then switch tabs, and note how the other one has also been zoom/panned. This should not be happening.
| Reporter | ||
Updated•14 years ago
|
Depends on: native_droid_panning
| Reporter | ||
Comment 1•14 years ago
|
||
Attachment #572814 -
Flags: review?(pwalton)
| Reporter | ||
Comment 2•14 years ago
|
||
Both of these patches are based on the code that landed on birch (48e52668c10a) and will need to be rebased on top of the newest patch queue before landing. I can take care of that if the patches are fundamentally ok.
Attachment #572815 -
Flags: review?
| Reporter | ||
Updated•14 years ago
|
Attachment #572815 -
Flags: review? → review?(pwalton)
| Reporter | ||
Updated•14 years ago
|
Summary: [panzoom] Different tabs don't have different visible areas → [layers] Different tabs don't have different visible areas
| Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 572814 [details] [diff] [review]
(1/2) Some code cleanup
Obsoleting this patch as I moved it into the birch-pan-zoom patch queue instead
Attachment #572814 -
Attachment is obsolete: true
Attachment #572814 -
Flags: review?(pwalton)
| Reporter | ||
Comment 4•14 years ago
|
||
Update patch to also hook into handleAddTab, since that can also select a new tab and needs to kick the layer client.
Attachment #572815 -
Attachment is obsolete: true
Attachment #572815 -
Flags: review?(pwalton)
Attachment #572999 -
Flags: review?(pwalton)
Comment 5•14 years ago
|
||
Comment on attachment 572999 [details] [diff] [review]
Per-tab page size and visible area (v2)
Review of attachment 572999 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with name changes.
::: embedding/android/Tab.java
@@ +76,5 @@
> private boolean mBookmark;
> private HashMap<String, DoorHanger> mDoorHangers;
>
> + private IntSize mPageSize;
> + private IntRect mVisibleArea;
mVisibleRect maybe? I've tended to use that name.
@@ +322,5 @@
> + IntSize getPageSize() {
> + return mPageSize;
> + }
> +
> + IntRect getVisibleArea() {
I'd call this "getVisibleRect".
::: embedding/android/gfx/PlaceholderLayerClient.java
@@ -100,1 +103,5 @@
> > public void setPageSize(IntSize pageSize) { mPageSize = pageSize; }
> > +
> > + public void tabChanged(IntSize pageSize, IntRect visibleArea) {
> > + // can never happen because gecko is required to change tabs, and
> > + // the GeckoSoftwareLayerClient replaces this when gecko comes up
Maybe throw then?
Attachment #572999 -
Flags: review?(pwalton) → review+
Updated•14 years ago
|
Priority: -- → P1
| Reporter | ||
Comment 6•14 years ago
|
||
Un-bitrotted such that it applies on top of a bunch of patches in the birch-pan-zoom queue (http://hg.mozilla.org/users/pwalton_mozilla.com/birch-pan-zoom/file/1deab2cd4eaf)
Attachment #572999 -
Attachment is obsolete: true
Attachment #573914 -
Flags: review+
| Reporter | ||
Comment 7•14 years ago
|
||
This patch has been rolled into Chris' correct-displayport patch in the patch queue.
Assignee: kgupta → chrislord.net
| Reporter | ||
Comment 9•14 years ago
|
||
This should be fixed as of https://hg.mozilla.org/projects/birch/rev/3f0f2ffed076
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 10•14 years ago
|
||
Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:11.0a1) Gecko/20111127 Firefox/11.0a1 Fennec/11.0a1
Device: HTC Desire Z
OS: Android 2.3
Zoom/Pann is not applied to all opened tabs, only to the tab were you zoomed/panned.
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
tracking-fennec: --- → 11+
Updated•13 years ago
|
status-firefox11:
--- → fixed
Updated•5 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
•