Closed
Bug 898054
Opened 11 years ago
Closed 11 years ago
Work - Fix panning while zoomed with APZC to get rid of bad jitter
Categories
(Firefox for Metro Graveyard :: Pan and Zoom, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: bbondy, Assigned: bbondy)
References
Details
(Whiteboard: [preview])
Attachments
(1 obsolete file)
1. Zoom in via (un)pinch 2. Start to pan It works in general but you will notice pretty bad jittering/jumping.
Assignee | ||
Updated•11 years ago
|
Summary: Fix panning while zoomed with APZC to get rid of bad jitter → Work - Fix panning while zoomed with APZC to get rid of bad jitter
Assignee | ||
Comment 1•11 years ago
|
||
The extra setResolution call was causing the jumpy behavior. After I removed it it's equally smooth when panning zoomed and not zoomed.
Attachment #782932 -
Flags: review?(mbrubeck)
Comment 2•11 years ago
|
||
Comment on attachment 782932 [details] [diff] [review] Patch v1. Could we do this by saving the scale and checking "if (scale != oldScale)"?
Attachment #782932 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #2) > Comment on attachment 782932 [details] [diff] [review] > Patch v1. > > Could we do this by saving the scale and checking "if (scale != oldScale)"? That doesn't work but it prompted me to look into it more. Strangely enough if I setResolution to always 1,1 then the problem goes away. If I don't call it at all, as the original patch, the problem goes away. Even a single call to the gfx's FrameMetrics zoom factor causes it. I asked kats to see what his thoughts were on how best to fix it.
Assignee | ||
Comment 4•11 years ago
|
||
maybe it's supposed to be set to the dpi value zoom value?
Updated•11 years ago
|
Component: General → Pan and Zoom
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 782932 [details] [diff] [review] Patch v1. A better fix for this is to take this code path for Metro, like Android does: http://mxr.mozilla.org/mozilla-central/source/gfx/layers/composite/AsyncCompositionManager.cpp#663 But Kats and BenWa mentioned that Kat's new patches landing soon gets rid of a lot of this, so I'm obsoleting this patch for now and waiting for that to land for this bug.
Attachment #782932 -
Attachment is obsolete: true
Comment 6•11 years ago
|
||
do we know approximately when kats new patches will land?
Whiteboard: [preview]
Assignee | ||
Comment 7•11 years ago
|
||
See bug 899810, short story is that they landed but it broke APZC in Metro more. He's working on it now and has a device that Marco hand delivered to him :)
Depends on: 899810
Assignee | ||
Comment 8•11 years ago
|
||
This is really hard to test due to fallout from bug 866232, but the jitter/jumpiness when zoomed seems gone when I can test it. Please re-open if you still see this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Comment 9•11 years ago
|
||
With the patch on bug 901339 applied, the focal point of zooming appears to be fixed and I can test this bug again. I don't see the same jumpiness as I was seeing before, but I think there is still something wrong. Specifically, after I zoom in the content remains blurry, and doesn't get repainted at high-res. This is usually a result of the setResolution not getting called, or called on a window where it has no effect. I'm not sure if you want to track that in this bug or in a new bug but it's definitely something that needs to be corrected.
Assignee | ||
Comment 10•11 years ago
|
||
I'll post a new bug for that, thanks for checking.
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•