Closed Bug 772140 Opened 12 years ago Closed 12 years ago

On some pages, text selection is so unresponsive that it's basically unusable

Categories

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

ARM
Android
defect
Not set
normal

Tracking

(firefox15-, firefox16-, fennec15+)

RESOLVED DUPLICATE of bug 774938
Tracking Status
firefox15 - ---
firefox16 - ---
fennec 15+ ---

People

(Reporter: jrmuizel, Assigned: Margaret)

References

Details

(Keywords: perf)

Attachments

(1 file)

I tested on a Galaxy S III and it was really really slow.
Keywords: perf
OS: Mac OS X → Android
Hardware: x86 → ARM
Recent change on inbound is making it impossible to use.
Summary: Text selection is basically unusable on cnn.com → Text selection is basically unusable
tracking-fennec: --- → ?
Is this the same as bug 767070?
(In reply to Aaron Train [:aaronmt] from comment #2)
> Is this the same as bug 767070?

No. That bug is just about text selection being slow but still quite usable.
It seems like we just run into a really extreme version of bug 767070 on some pages, but hopefully the same fix could improve both of these issues.

Testing on cnn.com, I'm also experiencing bug 766588, which is what's making it unusable for me.
I've been trying to figure out the source of this slowness. This patch stops us from trying to reposition the handles and update the selection until the touch is over, and selection is still super slow, so that indicates that the "tons of fake mouse events" hack isn't the source of the problem.

Jeff's profile from bug 767070 indicates that painting is a problem, and I wonder if it's so bad on some pages that even that one moveSelection() call can take a long time.

I've been trying all sorts of hacks like this patch to work around this problem, but I haven't come across anything that works. I think we need a layout person to help us here.
I don't think this is a regression.
I just uplifted text selection to aurora (bug 695173 and a ton of follow-ups). However, if this issue isn't sorted out and a fix uplifted as well, we'll want to consider disabling this feature before shipping.
Summary: Text selection is basically unusable → On some pages, text selection is so unresponsive that it's basically unusable
tracking-fennec: ? → 15+
Margaret, I'm assigning this to you so we have a point person to do the disabling if that is needed before we ship 15.
Assignee: nobody → margaret.leibovic
Okay, I'm working on a patch to use native handles over in bug 774938. That would fix this problem, but there are likely going to be follow-up issues to deal with, since it's a lot of different code.
Depends on: 774938
I'm duping this to bug 774938, because that solved the perf problem.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
No longer depends on: 774938
removing tracking since we're following this in bug 774938 now.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: