Closed Bug 1439895 Opened 7 years ago Closed 7 years ago

Speed up changes in font inspector preview

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: miker, Unassigned)

Details

STR: 1. Load `devtools/client/inspector/fonts/test/browser_fontinspector.html` 2. Open the font inspector. 3. Click the font preview section where it displays ABC. 4. Change the text by typing ABCDEFGHIJKLMNOPQRSTUVWXYZ (you can type quickly). Expected: The text is updated almost instantly. Actual: It takes 4 minutes 20 seconds for the changes to appear.
I don't understand how this test is passing on try so maybe it is something to do with my setup. An easy fix is using a setTimeout loop to wait for the last character typed before updating.
Has Regression Range: --- → no
Has STR: --- → yes
Your system might be particularly slow, here I can see the UI hang for some seconds when typing extremely fast, but nothing close to 4mn. Regarding the test, it only tries to write "The quick brown", which is not a very long string.
This is taking too long and this is not a priority. I suspect that the best way to fix this is to import the fonts into the font inspector panel. From there we could just use the fonts directly.
Assignee: mratcliffe → nobody
Status: ASSIGNED → NEW
Turned out to be a hardware issue with my MBP... after rebooting 3 times and running diagnostics it runs at a perfectly acceptable speed. What a waste of time.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.