Open Bug 1046159 Opened 10 years ago Updated 2 years ago

APZC state temporarily gets reset to NOTHING when a second finger goes down

Categories

(Core :: Panning and Zooming, defect, P3)

defect

Tracking

()

People

(Reporter: kats, Unassigned)

References

Details

(Keywords: correctness, Whiteboard: gfx-noted)

In some cases (such as when there are no content touchevent listeners), when a second finger goes down we hit the code at [1]. This causes the state to get reset back to NOTHING. This doesn't actually cause any user-visible behaviour that I can see because shortly after we go into the pinch state, and OnScaleBegin sets the state back to PINCHING. So in theory if pinching is disabled or something and we should still be able to pan with two fingers, then this bug would manifest. Just filing it for now so that I don't forget, and we might have to fix it after fixing bug 1031443.

[1] http://mxr.mozilla.org/mozilla-central/source/gfx/layers/apz/src/AsyncPanZoomController.cpp?rev=05eb059f70bf#856
Blocks: 1053766
Hi, Kartikaya and Botond, will you be able to help on this one? Thank you!
Flags: needinfo?(bugmail.mozilla)
Flags: needinfo?(botond)
Is there a specific use case that you want this fixed for? So far it has been a pretty lore priority issue and we have other higher priority things to work on.
Flags: needinfo?(hochang)
Flags: needinfo?(bugmail.mozilla)
Flags: needinfo?(botond)
Hi Kartikaya, because this blocks bug 1053766 - which blocks bug 1020801, a part of Firefox OS major feature "copy n paste", 1053766 causes screen blinks when scrolling ends. https://bugzilla.mozilla.org/show_bug.cgi?id=1020801#c17.

I'm sure there's higher priority work, but that would be great if you can still help to put this and bug 1053766 in the queue for the coming month or two, does this make sense to you? Thanks!
Flags: needinfo?(hochang) → needinfo?(bugmail.mozilla)
Ah ok. We might be able to fix bug 1053766 without fixing this one. Now that i know what you are after i will prioritize it accordingly. Thanks!
Flags: needinfo?(bugmail.mozilla)
Keywords: correctness
Whiteboard: gfx-noted
OS: Gonk (Firefox OS) → All
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.