Closed Bug 1015086 Opened 10 years ago Closed 10 years ago

"Switch to tab" entries with very long URLs cause jank when the autocomplete dropdown opens

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 907001

People

(Reporter: mstange, Unassigned)

Details

Attachments

(1 file)

My restored session included three reftest analyzer tabs somewhere among the 400 tabs I have open at the moment (yeah, I know...), and every once in a while, typing in the location bar would freeze for half a second. I eventually noticed that this happened whenever one or more of the reftest analyzer tabs were among the suggested "Switch to Tab" entries, and the profiler told me that the slow part was reflowing the popup, specifically the text shaping.

Steps to reproduce:
 1. Open the three links contained in this testcase in separate tabs.
 2. Type "% analyzer" into the location bar.
 3. Notice the jank.

I think the easiest place to fix this bug would in the JS that sets the label values; it could just truncate them to a sane size before setting them.
Changing to all platforms. I've got this on Windows too, but it was consistently awful: any use of the location bar was janky as long as the reftest analyzer tab was open. Closing the reftest analyzer tab eliminated the problem.
OS: Mac OS X → All
Flags: firefox-backlog?
Points: --- → 3
Flags: firefox-backlog? → firefox-backlog+
Flags: qe-verify?
Sounds like perhaps the same underlying issue as bug 907001?
Yup, that's exactly it.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Points: 3 → ---
Flags: qe-verify?
Flags: firefox-backlog-
Flags: firefox-backlog+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: