Closed Bug 825146 Opened 13 years ago Closed 13 years ago

Panning contact image in detail view is slow and often doesn't update

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:-, b2g18+ fixed)

VERIFIED FIXED
blocking-basecamp -
Tracking Status
b2g18 + fixed

People

(Reporter: cjones, Assigned: alberto.pastor)

Details

(Whiteboard: interaction [UX-P2])

Attachments

(1 file)

STR (1) Add a contact with an image. I used Eiffel Tower from stock image set. (2) Add lots of contact details, like 10 phone numbers. (2) Go to contact detail (3) Tap image and pan up and down Issues A. when panning works, the framerate is very low B. often I move my finger for 50 pixels or more without the image moving. Possibly related to (B) C. starting the effect in the image, but then moving into the details area, ends up scrolling the entire frame We could implement this as two transformed frames: contact details in scrollable frame on top of non-scrollable frame containing <img>. This would get maximum performance. However, I believe Alberto (?) explained to me at the last work week that the UX spec was to have the image scroll with the text. In the approach above, that wouldn't work. So we could either edit the UX spec or make this a "modal" effect. bb? -> radar
Triage:BB-, tracking-b2g18+. maybe 2~3 phone number is more common. 10 numbers is uncommon.
blocking-basecamp: ? → -
tracking-b2g18: --- → +
Whiteboard: interaction [UX-P2]
(In reply to Joe Cheng [:jcheng] from comment #1) > Triage:BB-, tracking-b2g18+. maybe 2~3 phone number is more common. 10 > numbers is uncommon. Note, 10 numbers wasn't the key. The key was several "contact details", which might be a few numbers, a few emails, an address or two, ...
Chris, you are right, Image must scroll down (slower) with the text. In San Francisco I achieved to don't repaint when using that effect, but it seems that some change regressed it. Note as well that it works always, the problem is that another regression makes it only work when pulling the image, not the details div. I would block on this, at least on the "effect not working when pulling the details div" side.
blocking-basecamp: - → ?
We would take a patch for this
blocking-basecamp: ? → -
Assignee: nobody → alberto.pastor
Pointer to Github pull-request
Attachment #700100 - Flags: review?(igonzaleznicolas)
Attachment #700100 - Flags: review?(francisco.jordano)
Attachment #700100 - Flags: review?(igonzaleznicolas) → review+
Comment on attachment 700100 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7461 js looking good to me
Attachment #700100 - Flags: review?(francisco.jordano) → review+
Comment on attachment 700100 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7461 NOTE: If blocking-basecamp+ is set, just land it for now. [Approval Request Comment] Bug caused by (feature/regressing bug #): User impact if declined: Testing completed: Risk to taking this patch (and alternatives if risky):
Attachment #700100 - Flags: approval-gaia-master?(21)
Comment on attachment 700100 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/7461 This is a regression from the blocking basecamp bug that change the way touch events works that has landed during the week end. Let's fix the last regressions, thanks a lot for it.
Attachment #700100 - Flags: approval-gaia-master?(21) → approval-gaia-master+
Retested with Unagi build Gecko-feef5f9 Gaia-3c84fa2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: