Closed
Bug 816469
Opened 12 years ago
Closed 7 years ago
[meta] Reduce frame skipping
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: cyu, Unassigned)
References
Details
Attachments
(3 files)
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
It can noticed that a frame skips in the very beginning of panning in many places (home screen, gallery, settings, etc.). This is more obvious when you pan slowly and when the content is first moved, you notice a noncontinuous jump of the content even you just moved the finger by 1 or 2 pixels. This creates a sluggish feeling of the UI.
Attached screen shots are the results of panning in settings app. Both are the result of slow dragging downwards with flash repainted area on. In the first screen shot, the first repainted area is of 7 pixels wide. That's the source of the feeling of the frame skip effect.
Ideally, in slow panning, the result should be like the 2nd screen shot with very thin stripes showing that the scrolling is smooth. I got this result by applying a workaround in BrowserElementScrolling.js. I think this should be the result as long as we have HW resource.
The problem is both software and hardware issue:
- On my unagi, touch panel doesn't report movements during initial movement of my finger. I need to move about 7 pixels so that the driver starts to report touch moves. The symptom is not present on another unagi. We may report this issue to partner for a change in this behavior.
- The gesture detectors also could be changed (gecko and gaia): don't use absolute touch positions to calculate each the movement during panning. Use deltas instead might be a better solution. The movement of the content doesn't need to catch up with the movement of the finger. Take gallery for example, enter the single-picture mode, and slowly swipe the finger, you can see a big skip when the next picture started to pan in. The "skip" amount is far larger than the HW threshold.
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
This drops the first move in panning to avoid the problem.
Reporter | ||
Comment 4•12 years ago
|
||
Marking blocking-basecamp? because I think we should provide user smooth panning experience.
blocking-basecamp: --- → ?
Comment 5•12 years ago
|
||
We discussed this in triage and tossed around the idea that we'd ship with this if it was the last bug we had :) That being said, should this block bug 780341? Any thoughts here, cjones?
Flags: needinfo?(jones.chris.g)
This is more of a meta bug. We need to triage specific instances of the problem, which can be the result of multiple issues.
Flags: needinfo?(jones.chris.g)
Comment 7•12 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #6)
> This is more of a meta bug.
Okay, making it a meta bug and clearing the nom. This could probably be a dupe of bug 780341 but I guess this is more general.
blocking-basecamp: ? → ---
Summary: Frame skipping on initial panning → [meta] Reduce frame skipping
Comment 8•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•