Open Bug 1327973 Opened 7 years ago Updated 2 years ago

Autocomplete suggestions in inspector are too aggressive: Enter replaces typed text with suggestion

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: arni2033, Unassigned)

Details

(Keywords: regression, regressionwindow-wanted)

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url   data:text/html,<div class="menu"><a class="menu_item"></a><a class="menu_item"></a>
2. Open inspector
3. Type ".menu" in search field in inspector
4. Press Enter

AR:  Inspector replaces typed text with autocomplete suggestion ".menu_item"
ER:  Inspector should find first occurrence of ".menu"


STR_2:  (no bug; reference of good behavior)
1. Open url   data:text/html,<div class="menu"><a class="menu_item"></a>
2. Open inspector
3. Type ".menu" in search field in inspector
4. Press Enter

AR:  Inspector finds first occurrence of ".menu"  (just as expected; compare this to STR_1)


STR_3:
1. Open url   data:text/html,<html class="S">
2. Open inspector
3. Type ".S " in search field in inspector
4. Press Enter

AR:  Inspector replaces typed text with autocomplete suggestion ".S body"
ER:  Inspector should find first occurrence of ".S"

Note:  (STR_3)
 Most of the times I doubleclick classname in markup to edit it, then doubleclick to select one of
 classes like "long-class-name" separated by " "s, then focus search field, type ".", press Ctrl+V,
 then press Enter. Too often classname is copied with " " in the end, so I run into this bug.

 I'm not sure which workflow was planned by Firefox developers (and not sure if STR_3 is considered as
 valid bug), but suggestions in inspector are even more aggressive than in the new broken searchbar.
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Animation Inspector
Component: Developer Tools: Animation Inspector → Developer Tools: Inspector
Inspector bug triage (filter on CLIMBING SHOES).
Priority: -- → P2
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.