Closed Bug 795324 Opened 11 years ago Closed 11 years ago

GCLI can auto-complete argument with different value than visual hint

Categories

(DevTools :: Console, defect)

18 Branch
x86_64
Windows 7
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 19

People

(Reporter: grant_gayed, Unassigned)

References

Details

- observed in the Orion-1.0 branch
- possibly related to bug 788215, but the symptom is quite different, hence the separate report

Steps:
- view the index.html file in GCLI's root directory
- type "edit " and then down-arrow a few times to select the "css#gcli-menu" completion, press Enter
  -> completes to "edit css#gcli-menu"
- backspace a few times so that you're left with "edit css#gcli-"
  -> note that the blue text in the input area now shows "edit css#gcli-output-view", implying that this value will be inserted if auto-complete is invoked
 (tangent: not sure why this value became the default?)
- press Tab to invoke auto-complete
  -> the value "edit css#gcli-css-display" is inserted instead of what was previously shown in the blue text, presumably because it's the first valid suggestion in the list
Severity: normal → major
OS: Windows 7 → All
Hardware: x86_64 → All
Version: 18 Branch → unspecified
Sorry for the field-changing spam, for some reason Bugzilla's contents were not showing properly in my browser.
OS: All → Windows 7
Hardware: All → x86_64
Version: unspecified → 18 Branch
Status: UNCONFIRMED → ASSIGNED
Depends on: 801387
Ever confirmed: true
https://tbpl.mozilla.org/?tree=Fx-Team&rev=6337e18d0024
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.