Closed
Bug 830926
Opened 12 years ago
Closed 12 years ago
AZPC TrackTouch x/y displacement should not be rounded to int
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: romaxa, Assigned: romaxa)
Details
Attachments
(2 files)
|
1.29 KB,
patch
|
ajones
:
review+
|
Details | Diff | Splinter Review |
|
1.51 KB,
patch
|
drs
:
review+
|
Details | Diff | Splinter Review |
Found recently one problem that if page zoom value very high like 8.0
AZPC does scrolling very badly on slow motion.
in high zoom and slow motion we getting displacement values < 1 and that get's truncated to 0, result no scrolling
https://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/AsyncPanZoomController.cpp#758
We should change these values to float
| Assignee | ||
Comment 1•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
OS: Windows 8 → Linux
Hardware: x86 → ARM
Updated•12 years ago
|
Attachment #702459 -
Flags: review?(ajones) → review+
Comment 2•12 years ago
|
||
!xDisplacement && !yDisplacement may need to be < EPSILON or < 1 device pixel. Needs some testing to make sure this is correct.
| Assignee | ||
Comment 3•12 years ago
|
||
this works ok for me.
| Assignee | ||
Updated•12 years ago
|
Attachment #703154 -
Flags: review?(bugzilla)
Comment 4•12 years ago
|
||
Comment on attachment 703154 [details] [diff] [review]
Rounding problem fix for TrackTouch, use epsilon check
Review of attachment 703154 [details] [diff] [review]:
-----------------------------------------------------------------
Nice, good catch. Just one indentation issue.
::: gfx/layers/ipc/AsyncPanZoomController.cpp
@@ +760,1 @@
> timeDelta);
Spacing is out of alignment now, just move the second line back one tab.
Attachment #703154 -
Flags: review?(bugzilla) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•