Closed Bug 821277 Opened 12 years ago Closed 11 years ago

Selection slow in large text

Categories

(Firefox for Android Graveyard :: Text Selection, defect)

18 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox18 affected, firefox19 affected, firefox20 affected, fennec+)

RESOLVED DUPLICATE of bug 667243
Tracking Status
firefox18 --- affected
firefox19 --- affected
firefox20 --- affected
fennec + ---

People

(Reporter: teo.vermesan, Assigned: bnicholson)

References

()

Details

(Keywords: perf)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121128204232

Steps to reproduce:

1. Visit the website: http://en.wikipedia.org/wiki/mozilla
2. Tap press-hold on a selected word
3. Drag the right selection handle across multiple sentences in the paragraph 

Tested with:
Device: Tablet Asus Transformer TF 101
Firefox: Firefox 18 Beta 4


Actual results:

The selection action is delayed


Expected results:

The selection action should perform nearly live
I was able to reproduce this on same type table.
Here is a recorded video: http://www.youtube.com/watch?v=GgnKsjBxHbE
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → Android
Hardware: x86_64 → ARM
tracking-fennec: --- → ?
Component: General → Text Selection
Keywords: perf
Can this be profiled using Cleopatra?
I don't know what Cleopatra means. In this case, can you  link me to something?
(In reply to Teodora Vermesan from comment #3)
> I don't know what Cleopatra means. In this case, can you  link me to
> something?

It's a question for Kats whom I cc'ed.
On the Galaxy Tab using an Aurora build I wasn't able to reproduce this on wikipedia but I did see it on news.google.com. I grabbed a profile, tail end of which can be seen here:

http://people.mozilla.com/~bgirard/cleopatra/#report=9fb89a6c1dff3bd00c4faf1025f38ecb068044a1

Looks like lots of sync reflows are being triggered by the mouse movement events that we use to implement text selection. I'd have to dig into it more to figure out what's actually going on here.
Brian, I think bug 667243 will make this better
Assignee: nobody → bnicholson
tracking-fennec: ? → 20+
Depends on: 667243
Keywords: qawanted
Keywords: qawanted
tracking-fennec: 20+ → +
This is fixed via 667243 (still-WIP, testing available APK).
This should be fixed by bug 667243.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.